You were, I presume, touching wsgi to force a reload, in order to pick up
recent changes that you made.  One of those recent changes was to some
view.py (sadly the statcktrace doesn't tell us which one, but it's one that
you recently changed), and you made an indentation error (perhaps you let a
tab character slip into the file?), on line 29, when you changed it.

On Thu, Mar 7, 2013 at 8:54 AM, Roberto López López <roberto.lo...@uni.no>wrote:

>
> Check the history of the files you've touched, and rollback all
> indentation changes.
>
>
>
> On 03/07/2013 02:49 PM, frocco wrote:
> > Hello,
> >
> > I am not sure what happened, I did a touch wsgi and then a touch wsgi.py
> > I got an error afterwards and could not recover from it. I could not
> > find the views.py it was complaining about.
> > I tried to reload the site from a backup and still had errors. I ended
> > up recreating the site on webfaction and uploading each app until it was
> > working.
> >
> >
> >   IndentationError at /
> >
> > unindent does not match any outer indentation level (views.py, line 29)
> >
> > Django Version:       1.5
> > Exception Type:       IndentationError
> > Exception Value:
> >
> > unindent does not match any outer indentation level (views.py, line 29)
> >
> > Exception Location:
> > /home/frocco/webapps/ntw/lib/python2.7/django/utils/importlib.py in
> > import_module, line 35
> > Python Executable:    /usr/local/bin/python
> > Python Version:       2.7.3
> > Python Path:
> >
> > ['/home/frocco/webapps/ntw',
> >  '/home/frocco/webapps/ntw/myproject',
> >  '/home/frocco/webapps/ntw/lib/python2.7',
> >  '/home/frocco/lib/python2.7/pip-1.2.1-py2.7.egg',
> >  '/home/frocco/lib/python2.7',
> >  '/usr/local/lib/python27.zip',
> >  '/usr/local/lib/python2.7',
> >  '/usr/local/lib/python2.7/plat-linux2',
> >  '/usr/local/lib/python2.7/lib-tk',
> >  '/usr/local/lib/python2.7/lib-old',
> >  '/usr/local/lib/python2.7/lib-dynload',
> >  '/usr/local/lib/python2.7/site-packages',
> >  '/usr/local/lib/python2.7/site-packages/PIL']
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to django-users+unsubscr...@googlegroups.com.
> > To post to this group, send email to django-users@googlegroups.com.
> > Visit this group at http://groups.google.com/group/django-users?hl=en.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
>
> --
> Kind regards,
>
> Roberto López López
>
>
> System Developer
> Parallab, Uni Computing
> Høyteknologisenteret, Thormøhlensgate 55
> N-5008 Bergen, Norway
> Tel:        (+47) 555 84091
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to