I'm trying to start up a new server on AWS, I used Ubuntu 14.04 and followed the instruction guide, hit a few speedbumps but got through them but I'm stuck at
Invalid template library specified. ImportError raised when trying to load 'threadedcomments.templatetags.threadedcommentstags': cannot import name FreeThreadedComment
I'm not super framiliar with python and I'm sure its just a simple pip command, but if someone could assist I would appreacite it. This seems like a great open source project and sure beats the Google Sheet I was planning on using for this purpose.
StackTrace:
Environment:
Request Method: GET
Request URL: http://54.165.68.251/
Django Version: 1.11.3
Python Version: 2.7.6
Installed Applications:
('django.contrib.contenttypes',
'django.contrib.sites',
'django.contrib.auth',
'treemap',
'geocode',
'api',
'exporter',
'otm1_migrator',
'threadedcomments',
'django_comments',
'otm_comments',
'importer',
'appevents',
'stormwater',
'manage_treemap',
'modeling',
'registration',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.gis',
'django.contrib.humanize',
'django.contrib.postgres',
'djcelery',
'django_js_reverse',
'webpack_loader')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'opentreemap.middleware.InternetExplorerRedirectMiddleware')
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django_tinsel/decorators.py" in wrapper
85. resp = render(request, template, params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/shortcuts.py" in render
30. content = loader.render_to_string(template_name, context, request, using=using)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" in render_to_string
67. template = get_template(template_name, using=using)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" in get_template
18. engines = _engine_list(using)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" in _engine_list
72. return engines.all() if using is None else [engines[using]]
File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py" in all
89. return [self[alias] for alias in self]
File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py" in __getitem__
80. engine = engine_cls(params)
File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py" in __init__
30. options['libraries'] = self.get_templatetag_libraries(libraries)
File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py" in get_templatetag_libraries
48. libraries = get_installed_libraries()
File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py" in get_installed_libraries
113. for name in get_package_libraries(pkg):
File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py" in get_package_libraries
130. "trying to load '%s': %s" % (entry[1], e)
Exception Type: InvalidTemplateLibrary at /
Exception Value: Invalid template library specified. ImportError raised when trying to load 'threadedcomments.templatetags.threadedcommentstags': cannot import name FreeThreadedComment