On Sun, Aug 30, 2009 at 5:15 PM, Zico <mailz...@gmail.com> wrote: > I am facing problem with this error: *ImportError: No module named > stdimage* while i tries to run the command: > > *python manage.py runserver > * > this is a http://www.fixmystreet.com/ server. The server runs ok... as you > can see the server starting messages: > > *[r...@fedora fixmystreet]# python manage.py runserver > local_settings.py not set; using default settings > local_settings.py not set; using default settings > local_settings.py not set; using default settings > local_settings.py not set; using default settings > Validating models... > 0 errors found > > Django version 1.0.3, using settings 'fixmystreet.settings' > Development server is running at http://127.0.0.1:8000/ > Quit the server with CONTROL-C. > * > But, when i goes to run my server at http://127.0.0.1:8080/ then .. this > errors comes... >
Are you really saying that if you run the server and tell it to listen on port 8080 you get this error but if you let it use the default port of 8000 it does not? Or are you saying when you attempt to access the server after starting it, you get this error (and the mismatch in ports above is just a typo?)? The latter seems more likely...I can't imagine how this error would be dependent on the port the server is listening on, so I'm assuming the latter below. > File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line > 214, in _resolve_special > > > callback = getattr(self.urlconf_module, 'handler%s' % view_type) > > File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line > 205, in _get_urlconf_module > self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) > > > File "/opt/fixmystreet/../fixmystreet/urls.py", line 5, in <module> > from mainapp.feeds import LatestReports, LatestReportsByCity, > LatestReportsByWard, LatestUpdatesByReport > > File "/opt/fixmystreet/../fixmystreet/mainapp/feeds.py", line 4, in <module> > > > from mainapp.models import Report, ReportUpdate, City, Ward > > File "/opt/fixmystreet/mainapp/models.py", line 16, in <module> > from contrib.stdimage import StdImageField* > > ImportError: No module named stdimag* > > You don't appear to have installed the stdimage project in a contrib directory on your python path as described here: http://wiki.github.com/visiblegovernment/django-fixmystreet/installation under "2. Check Out Project Dependencies". Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---