-
Notifications
You must be signed in to change notification settings - Fork 102
some error during running ghiro #18
Description
hey ,doc,
I had install ghiro in my Ubantu, and there are some error occur when run the script 'manage.py'.
when I us ghiro use git clone XX [as your homepage ]
I get an error when attempting to run the " python manage.py submit -u joe -c 2 -t images.jpg "
The error messages leads to the following:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 128, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/home/joe/Desktop/GHIRO/ghiro/ghiro/settings.py", line 89, in
"django.core.context_processors.request",
TypeError: can only concatenate tuple (not "list") to tuple
and when i upgrade my django, the error had changed:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 303, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/joe/Desktop/GHIRO/ghiro/ghiro/settings.py", line 89, in
"django.core.context_processors.request",
TypeError: can only concatenate tuple (not "list") to tuple
so? This error have some relation with the version of django? which version should i choice ?
and when i use ghiro download from your homepage,
'python manage.py submit -u joe -c 2 -t images.jpg' also get the error ,but 'python manage.py process' can be run
how shold i do to solve it and get the analysis?