These are chat archives for allegro/ralph

31st
Dec 2016
swb
@spencewb16_twitter
Dec 31 2016 03:38

every time i try to setup ralph with apache/mod_wsgi (no docker setup), i end up getting this error:

File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/conf/__init__.py", line 92, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE)

File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name)

File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/settings/__init__.py", line 1, in <module> from ralph.settings.base import * # noqa

File "/opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/settings/base.py", line 9 def bool_from_env(var, default: bool=False) -> bool:
_____________________^
SyntaxError: invalid syntax

out of curiosity, does anyone know what this means?

Mateusz Kurek
@mkurek
Dec 31 2016 17:14
@spencewb16_twitter what exact version of python 3.4 do you have?