Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memex ./app_setup.sh run problem #769

Open
ruba912 opened this issue Jan 11, 2016 · 5 comments
Open

memex ./app_setup.sh run problem #769

ruba912 opened this issue Jan 11, 2016 · 5 comments

Comments

@ruba912
Copy link

ruba912 commented Jan 11, 2016

Hi here is the problem when i run ./app_setup.sh
Please help in this issue.
from common_settings import *
File "/home/explorer/memex-explorer/source/memex/common_settings.py", line 67, in
"base.views.project_context_processor",
TypeError: can only concatenate list (not "tuple") to list
./app_setup.sh: line 15: deactivate: No such file or directory

@brittainhard
Copy link
Contributor

Can you give me some info on your system and python version?

@ruba912
Copy link
Author

ruba912 commented Jan 11, 2016

sure. i am using ubuntu 14.04 and python version 2.7

is there any step by step tutorial to install memex and all necessary things like python,nutch. If you can give me any suggestion that will be also very much helpful for me.

@ruba912
Copy link
Author

ruba912 commented Jan 15, 2016

Setting enable stream viz to: FalseTraceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/management/init.py", line 385, in execute_from_command_line
utility.execute()
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/management/init.py", line 354, in execute
django.setup()
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/init.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/apps/registry.py", line 115, in populate
app_config.ready()
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/debug_toolbar/apps.py", line 15, in ready
dt_settings.patch_all()
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/debug_toolbar/settings.py", line 228, in patch_all
patch_root_urlconf()
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/debug_toolbar/settings.py", line 216, in patch_root_urlconf
reverse('djdt:render_panel')
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/urlresolvers.py", line 522, in reverse
app_list = resolver.app_dict[ns]
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/urlresolvers.py", line 329, in app_dict
self._populate()
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/urlresolvers.py", line 269, in _populate
for pattern in reversed(self.url_patterns):
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/urlresolvers.py", line 372, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django/core/urlresolvers.py", line 366, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/root/miniconda2/envs/memex/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/ruba/memex-explorer/source/memex/urls.py", line 4, in
from rest import router, DataWakeView
File "/home/ruba/memex-explorer/source/memex/rest.py", line 4, in
from rest_framework import routers, serializers, viewsets, parsers, filters
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/rest_framework/routers.py", line 25, in
from rest_framework import views
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/rest_framework/views.py", line 16, in
from rest_framework import exceptions, status
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/rest_framework/exceptions.py", line 17, in
from rest_framework.utils.serializer_helpers import ReturnDict, ReturnList
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/rest_framework/utils/serializer_helpers.py", line 8, in
from rest_framework.compat import unicode_to_repr
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/rest_framework/compat.py", line 77, in
import django_filters
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django_filters/init.py", line 3, in
from .filterset import FilterSet
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django_filters/filterset.py", line 19, in
from .filters import (Filter, CharFilter, BooleanFilter,
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django_filters/filters.py", line 118, in
class UUIDFilter(Filter):
File "/root/miniconda2/envs/memex/lib/python2.7/site-packages/django_filters/filters.py", line 119, in UUIDFilter
field_class = forms.UUIDField
AttributeError: 'module' object has no attribute 'UUIDField'
discarding /root/miniconda2/envs/memex/bin from PATH

@duasfl8r
Copy link

Hello,

I was having the exact same problem (" AttributeError: 'module' object has no attribute 'UUIDField'"). First time installing Memex-explorer.

I managed to fix this (and pass all tests) by freezing django-filter's version on environment.yml to 0.10:

diff --git a/environment.yml b/environment.yml
index 7fdc6fe..8a8ddeb 100644
--- a/environment.yml
+++ b/environment.yml
@@ -40,4 +40,4 @@ dependencies:
         - elasticsearch
         - supervisor
         - djangorestframework
-        - django-filter
+        - django-filter==0.10

Apparently newer versions of django-filters do not work with django 1.7.3 (which is also fixed at environment.yml)

@brittainhard
Copy link
Contributor

Support and development for this project has been suspended. We appreciate the help in clearing up these issues, and they will be solved when development is resumed.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants