Hello,

I have a really weird error all of a sudden.  When I try to run any
python script in pylons, I get this error:

File "/home/saureen/work/main/site/fr/__init__.py", line 8, in ?
    from fr.config.middleware import make_app
  File "/home/saureen/work/main/site/fr/config/middleware.py", line 8,
in ?
    from pylons.error import error_template
  File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/
__init__.py", line 5, in ?
    from pylons.legacy import Controller, h, jsonify
  File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/
legacy.py", line 11, in ?
    from pylons.controllers import Controller as OrigController
  File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/
controllers.py", line 12, in ?
    from pylons.helpers import abort
  File "/usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg/pylons/
helpers.py", line 7, in ?
    from routes import url_for
ImportError: No module named routes

I can't import routes from anywhere.  I can import it if I'm in that
directory under the Routes-* site package but otherwise, I can't
import it in a python console.  Does anybody know what happened and
how I could remedy this.  Anything would be appreciated.

Thanks,

Sam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to