Yoshiaki Miura | 7 Aug 2012 10:44

py27-django failed to runserver

Hello.

This is first time I post to this list.
I installed py27-django-1.4.1 from pkgsrc-current on my laptop.
When I run 'python2.7 manage.py runserver', I got following errors.

------------------------------------------
netbsd$ uname -a
NetBSD netbsd.explop.com 6.99.4 NetBSD 6.99.4 (GENERIC) #1: Fri Apr  6 
09:20:58 JST 2012  
miru <at> netbsd.explop.com:/usr/obj/sys/arch/i386/compile/GENERIC i386

netbsd$ python2.7 manage.py runserver
Traceback (most recent call last):
   File "manage.py", line 10, in <module>
     execute_from_command_line(sys.argv)
   File 
"/usr/pkg/lib/python2.7/site-packages/django/core/management/__init__.py", 
line 443, in execute_from_command_line
     utility.execute()
   File 
"/usr/pkg/lib/python2.7/site-packages/django/core/management/__init__.py", 
line 382, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File 
"/usr/pkg/lib/python2.7/site-packages/django/core/management/__init__.py", 
line 261, in fetch_command
     klass = load_command_class(app_name, subcommand)
   File 
"/usr/pkg/lib/python2.7/site-packages/django/core/management/__init__.py", 
(Continue reading)

Adam Ciarciński | 7 Aug 2012 22:43
Picon

Re: py27-django failed to runserver

> Hello.
> 
> This is first time I post to this list.
> I installed py27-django-1.4.1 from pkgsrc-current on my laptop.
> When I run 'python2.7 manage.py runserver', I got following errors.

Hello,

I can't reproduce this in my environment. Maybe your Django project needed gzip module somehow?

Kind regards,
Adam

Gmane