Do you have a file called cgi.py in the local directory or somewhere on the module search path?

On Sat, Apr 16, 2011 at 3:44 PM, Pгoмᴇтнᴇυs 0x01 <prometheus.0x01@gmail.com> wrote:
Hi all,

I am getting a strange error on my linux development server, in particular, the log is:

Traceback (most recent call last):
  File "/www/python/loader.py", line 145, in loadModule
    loaded = __import__(sModule);
  File "/www/web/kusanagi.local/www/lf/index.py", line 4, in <module>
    import db;
  File "/www/web/kusanagi.local/www/lf/db.py", line 7, in <module>
    from sqlobject import *;
  File "/usr/local/lib/python2.6/dist-packages/SQLObject-1.0.0-py2.6.egg/sqlobject/__init__.py", line 9, in <module>
    from main import *
  File "/usr/local/lib/python2.6/dist-packages/SQLObject-1.0.0-py2.6.egg/sqlobject/main.py", line 32, in <module>
    import dbconnection
  File "/usr/local/lib/python2.6/dist-packages/SQLObject-1.0.0-py2.6.egg/sqlobject/dbconnection.py", line 2, in <module>
    from cgi import parse_qsl
ImportError: cannot import name parse_qsl
Any ideas would be appreciated!

Thanks

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss