Skip to content

Installation error - rjsmin1.1.0 #3

Description

@anelda

Hi @csiwale,

Thanks for making this tool available! I am looking at MFLs across Africa as part of a research project (http://afrimapr.org) and came across this repository.

I followed your installation instructions but got an error message:

ERROR: django-compressor 2.2 has requirement rjsmin==1.0.12, but you'll have rjsmin 1.1.0 which is incompatible.

Then edited the requirements.txt to download rjsmin 1.0.12 instead.

The installation ran to completion successfully, but when I run python manage.py runserver there is another error and I'm stuck as my django debug skills are very limited.

Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/home/talarify/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/talarify/anaconda3/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/utils/autoreload.py", line 53, in wrapper
    fn(*args, **kwargs)
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
    autoreload.raise_last_exception()
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/utils/autoreload.py", line 76, in raise_last_exception
    raise _exception[1]
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute
    autoreload.check_errors(django.setup)()
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/utils/autoreload.py", line 53, in wrapper
    fn(*args, **kwargs)
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/home/talarify/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/talarify/Desktop/MFL/lib/python3.6/site-packages/leaflet/__init__.py", line 21, in <module>
    from django.contrib.staticfiles.templatetags.staticfiles import static
ModuleNotFoundError: No module named 'django.contrib.staticfiles.templatetags'

I run Ubuntu 18.04.4.

Can you please help?

thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions