Hi all,
I am trying to use SQLObject in a PTL-enabled application. But there
seems to be a problem. I can reproduce Quixote error from the command
line:
The following _does_ work_:
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from sqlobject import *
>>>
And the folowing doesn't:
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from quixote import enable_ptl
>>> enable_ptl()
>>> from sqlobject import *
Traceback (most recent call last):
File "", line 1, in ?
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/quixote/ptl_import.py", line 127, in
find_import_module
return self.loader.load_module(fullname, stuff)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/quixote/ptl_import.py", line 111, in
load_module
return ihooks.ModuleLoader.load_module( self, name, stuff)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/ihooks.py", line 274, in load_module
m = self.hooks.load_package(name, filename, file)
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/ihooks.py", line 174, in load_package
return imp.load_module(name, file, filename, ("", "",
PKG_DIRECTORY))
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/sqlobject/__init__.py", line 8, in ?
from dbconnection import connectionForURI
ImportError: cannot import name connectionForURI
>>>
Thanks in advance,
Ksenia.