blackhatethicalhacking / subterfuge

Automatically exported from code.google.com/p/subterfuge
GNU General Public License v3.0
0 stars 1 forks source link

ImportError: No module named django.conf #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

1.when i run "subterfuge" in terminal 
2.i get this errors :-"Traceback (most recent call last):
  File "/bin/subterfuge", line 7, in <module>
    from update import updatecheck
  File "/usr/share/subterfuge/update.py", line 24, in <module>
    for settings in setup.objects.all():
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 139, in _result_iter
    self._fill_cache()
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 941, in _fill_cache
    self._result_cache.append(next(self._iter))
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator
    for row in compiler.results_iter():
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 830, in execute_sql
    sql, params = self.as_sql()
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 74, in as_sql
    out_cols = self.get_columns(with_col_aliases)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 212, in get_columns
    col_aliases)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 299, in get_default_columns
    r = '%s.%s' % (qn(alias), qn2(field.column))
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 52, in quote_name_unless_alias
    r = self.connection.ops.quote_name(name)
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/dummy/base.py", line 15, in complain
    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly 
configured. Please supply the ENGINE value. Check settings documentation for 
more details.
"

i'm using SubterfugePublicBeta5.0; Python 2.7; Django 1.5.4  on kali linux 1.04 
amd64

i think it's a path error, but cant configurate it properley...

i have deleted old django - "pip uninstall django" and installed new one "pip 
install django". nothing is helping

Original issue reported on code.google.com by ggvaram...@gmail.com on 13 Oct 2013 at 4:33

GoogleCodeExporter commented 9 years ago
I'm also having this question, anyone can help?

Original comment by xiaobing...@gmail.com on 19 Oct 2013 at 3:15

GoogleCodeExporter commented 9 years ago
same for me.

Original comment by jxd...@gmail.com on 19 Nov 2013 at 4:52

GoogleCodeExporter commented 9 years ago
me to

Original comment by Mr.52C...@gmail.com on 28 Nov 2013 at 2:40

GoogleCodeExporter commented 9 years ago
We apologize for the inconvenience. This issue was likely caused by updating 
Django to the latest version which was not compatible with the older versions 
of Subterfuge. The latest version of Subterfuge, Public Release 1.0, should fix 
this problem. Please download and install the latest version of Subterfuge. 
Thanks for using our tool!

Original comment by topher.s...@gmail.com on 15 Dec 2013 at 5:32