Nmap Development mailing list archives
Re: trying to run rainmap
From: Andreas Constantinides <megahz () megahz org>
Date: Tue, 23 Dec 2014 13:11:32 +0200
Thanks Robin,
i have tried to install an older version and i get:
[megahz@localhost rainmap]$ sudo pip install Django==1.1.3
Downloading/unpacking Django==1.1.3
Downloading Django-1.1.3.tar.gz (5.7MB): 5.7MB downloaded
Running setup.py (path:/tmp/pip_build_root/Django/setup.py) egg_info for package Django
Installing collected packages: Django
Found existing installation: Django 1.5
Uninstalling Django:
Successfully uninstalled Django
Running setup.py install for Django
changing mode of build/scripts-2.7/django-admin.py from 644 to 755
changing mode of /usr/bin/django-admin.py to 755
Successfully installed Django
Cleaning up...
[megahz@localhost rainmap]$ sudo pip freeze| grep Django
Django==1.1.3
[megahz@localhost rainmap]$ sudo ./manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 362, in execute_manager
utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 221, in execute
self.validate()
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.7/site-packages/django/core/management/validation.py", line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.7/site-packages/django/db/models/loading.py", line 145, in get_app_errors
self._populate()
File "/usr/lib/python2.7/site-packages/django/db/models/loading.py", line 60, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.7/site-packages/django/db/models/loading.py", line 75, in load_app
app_module = import_module(app_name)
File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
ImportError: No module named messages
[megahz@localhost rainmap]$
1.1.3 is the older i can install via pip.
Should i try and find an even older version?
Thanks
— Andreas
On 22 Dec 2014, at 16:47, Robin Wood <robin@digi.ninja> wrote: You could install an old version of Django, steps going to be similar to this: http://stackoverflow.com/questions/3220280/how-do-i-install-an-old-version-of-django-on-virtualenv Robin On 22 December 2014 at 14:42, Andreas Constantinides <megahz () megahz org> wrote:Hello all, i am trying to follow the install guide for rainmap anybody has run it recently? the latest is the one in the archive correct? basically i have no experience with django and that’s where i got problems. i am at the point where it says i should run ./manage.py and i get the following error rainmap]$ sudo ./manage.py syncdb Traceback (most recent call last): File "./manage.py", line 2, in <module> from django.core.management import execute_manager ImportError: cannot import name execute_manager searching it, i found that the “execute_manager” deprecated in Django 1.4 as part of the project layout refactor and was removed in 1.6 per the deprecation timeline: https://docs.djangoproject.com/en/1.4/internals/deprecation/#id3 any ideas on how to change that file to make it compatible with latest django? thanks — Andreas _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- trying to run rainmap Andreas Constantinides (Dec 22)
- Re: trying to run rainmap Robin Wood (Dec 22)
- Re: trying to run rainmap Andreas Constantinides (Dec 23)
- Re: trying to run rainmap Robin Wood (Dec 23)
- Re: trying to run rainmap Paul AMAR (Dec 23)
- Re: trying to run rainmap Andreas Constantinides (Dec 23)
- Re: trying to run rainmap Robin Wood (Dec 22)
- <Possible follow-ups>
- Re: trying to run rainmap Oliver Gebhard (Dec 25)
- Re: trying to run rainmap Andreas Constantinides (Dec 30)
