startuplab@startuplab:~/openbadge-server$ docker-compose -f dev.yml run django python manage.py migrate
Starting openbadge-server_postgres_1 ... done
Postgres is up - continuing...
Traceback (most recent call last):
File "manage.py", line 23, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 312, in execute
django.setup()
File "/usr/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/site-packages/django/apps/config.py", line 86, in create
module = import_module(entry)
File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/lib/python2.7/site-packages/controlcenter/__init__.py", line 1, in <module>
from .dashboards import Dashboard # NOQA
File "/usr/local/lib/python2.7/site-packages/controlcenter/dashboards.py", line 10, in <module>
from . import app_settings
File "/usr/local/lib/python2.7/site-packages/controlcenter/app_settings.py", line 1, in <module>
from pkgconf import Conf
File "/usr/local/lib/python2.7/site-packages/pkgconf/__init__.py", line 44
class Conf(metaclass=ConfMeta):
^
SyntaxError: invalid syntax
startuplab@startuplab:~/openbadge-server$ ^C
startuplab@startuplab:~/openbadge-server$
Could it be that when building the server, it is installing wrong python versions of the packages or have some other issues with the 2.7 due to the support being dropped?
Fixed the issue by adjusting the base.txt requirements file. Not sure which one fixed the issue as I did two changes at the same timeFix number1:django-controlcenter===0.2.6 there is an extra = so removed thatAdded the package django-pkgconf==0.3.0 as that was what it was referring in the error.
The server is now running and I can finally continue working on it.
--
You received this message because you are subscribed to the Google Groups "Rhythm Badges" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhythm-badge...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rhythm-badges/bbfb1682-4f1c-4953-a6d9-5c5f4c397f99n%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rhythm...@googlegroups.com.