Re: Any clues on error importing middleware?

2010-02-02 Thread phoebebright
OK - removed all the custom middleware and revealed an earlier problem: ] __import__(name), referer: http://phb.tinycomms.com/ ] File "/home/django/tinycomms/libs/tinycomm.py", line 13, in , re ] from tinycomms.tinycomm.models import *, referer: http://phb.tinycomms ] File

Re: Any clues on error importing middleware?

2010-02-02 Thread phoebebright
Gonzalo, Double checked that one, Checked all calls to a fields module (only 2) and I can import both fine in the shell and I can see both in the list of files. Any other thoughts?! Phoebe. On Feb 2, 12:12 pm, Gonzalo Delgado wrote: > El 02/02/10 08:33, phoebebright

Re: Any clues on error importing middleware?

2010-02-02 Thread Gonzalo Delgado
El 02/02/10 08:33, phoebebright escribió: > But fields is not mentioned in the middleware: > > from libs.utils import changehat > class CheckScopeMiddleware: > """ > if there is a hat in the GET then swithc to that hat (if > different) > """ > def process_request(self, request): >

Any clues on error importing middleware?

2010-02-02 Thread phoebebright
I've just uploaded my changes from development (1.2 alpha) to production (1.1) and now getting this error on my ubuntu server. Done a check around for missing __init__.py files but nothing obvious missing - and was working on osx system. [Tue Feb 02 11:11:45 2010] [error] [client 92.60.198.120]