Dear rdmo developers,
I appreciate your effort to create a docker containers to make my live easier. However I am experiencing some issues. Digging in the commands necessary to build the container I have run into makemigrations is not running as expected (python manage.py makemigrations). I get the following issue:
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/vol/ve/lib/python3.7/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/vol/ve/lib/python3.7/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/vol/ve/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, cmd_options)
File "/vol/ve/lib/python3.7/site-packages/django/core/management/base.py", line 361, in execute
self.check()
File "/vol/ve/lib/python3.7/site-packages/django/core/management/base.py", line 390, in check
include_deployment_checks=include_deployment_checks,
File "/vol/ve/lib/python3.7/site-packages/django/core/management/base.py", line 377, in _run_checks
return checks.run_checks(kwargs)
File "/vol/ve/lib/python3.7/site-packages/django/core/checks/registry.py", line 72, in run_checks
new_errors = check(app_configs=app_configs)
File "/vol/ve/lib/python3.7/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique
all_namespaces = _load_all_namespaces(resolver)
File "/vol/ve/lib/python3.7/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces
url_patterns = getattr(resolver, 'url_patterns', [])
File "/vol/ve/lib/python3.7/site-packages/django/utils/functional.py", line 80, in get
res = instance.dict[self.name] = self.func(instance)
File "/vol/ve/lib/python3.7/site-packages/django/urls/resolvers.py", line 579, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/vol/ve/lib/python3.7/site-packages/django/utils/functional.py", line 80, in get
res = instance.dict[self.name] = self.func(instance)
File "/vol/ve/lib/python3.7/site-packages/django/urls/resolvers.py", line 572, in urlconf_module
return import_module(self.urlconf_name)
File "/vol/ve/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/vol/rdmo-app/config/urls.py", line 11, in
path('api/v1/', include('rdmo.core.urls.v1')),
File "/vol/ve/lib/python3.7/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/vol/ve/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/vol/ve/lib/python3.7/site-packages/rdmo/core/urls/v1.py", line 11, in
path('conditions/', include('rdmo.conditions.urls.v1')),
File "/vol/ve/lib/python3.7/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/vol/ve/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/vol/ve/lib/python3.7/site-packages/rdmo/conditions/urls/v1.py", line 5, in
from ..viewsets import ConditionViewSet, RelationViewSet
File "/vol/ve/lib/python3.7/site-packages/rdmo/conditions/viewsets.py", line 2, in
from rest_framework.decorators import list_route
ImportError: cannot import name 'list_route' from 'rest_framework.decorators' (/vol/ve/lib/python3.7/site-packages/rest_framework/decorators.py)
Even though it worked smoothly a few weeks ago, something seems to have been changed recently. Any suggestion?
Thanks!
Here the list of installed packages.
certifi 2019.6.16
chardet 3.0.4
coreapi 2.3.3
coreschema 0.0.4
coverage 4.5.3
defusedxml 0.6.0
Django 2.2.3
django-allauth 0.39.1
django-appconf 1.0.3
django-compressor 2.3
django-extensions 2.2.1
django-filter 2.2.0
django-js-asset 1.2.2
django-libsass 0.7
django-mptt 0.10.0
django-rest-swagger 2.2.0
django-settings-export 1.2.1
django-test-generator 0.6.0
django-widget-tweaks 1.4.5
djangorestframework 3.10.1
drf-extensions 0.5.0
idna 2.8
iso8601 0.1.12
itypes 1.1.0
Jinja2 2.10.1
jsonfield 2.0.2
libsass 0.19.2
Markdown 3.1.1
MarkupSafe 1.1.1
oauthlib 3.0.2
openapi-codec 1.3.2
pip 19.2.1
psycopg2 2.8.3
pypandoc 1.4
python3-openid 3.1.0
pytz 2019.1
rcssmin 1.0.6
rdmo 0.14.4
requests 2.22.0
requests-oauthlib 1.2.0
rjsmin 1.1.0
rules 2.0.1
setuptools 41.0.1
simplejson 3.16.0
six 1.12.0
sqlparse 0.3.0
uritemplate 3.0.0
urllib3 1.25.3
wheel 0.33.4
WARNING: The directory '/home/rdmo/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Dear rdmo developers, I appreciate your effort to create a docker containers to make my live easier. However I am experiencing some issues. Digging in the commands necessary to build the container I have run into makemigrations is not running as expected (python manage.py makemigrations). I get the following issue:
Even though it worked smoothly a few weeks ago, something seems to have been changed recently. Any suggestion? Thanks!
Here the list of installed packages.