Re: PyDO and sqlite

Ryan Krauss <[email protected]>
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
Thanks for your help.  I have followed your modified install 
instructions (copying from the skunkweb full install) and things seem to 
be going better.  I am still having problems running the example 
though.  Are there sqlite install requirements?  I have been using the 
pyslite package, but don't have sqlite itself installed as an 
executeable.  Anyways, here is what I am getting:

 >>>sqliteconn.test()
Traceback (most recent call last):
  File "<input>", line 1, in ?
  File "sqliteconn.py", line 113, in test
    contacts=Contact.getSome()
  File "C:\Python23\Lib\site-packages\static.py", line 51, in __call__
    return apply(self.meth, (self.obj,) + args, kw)
  File "C:\Python23\Lib\site-packages\PyDO\PyDO.py", line 362, in 
static_getSome
    sql, values = apply( self.getSomeSQL, (), kw)
  File "C:\Python23\Lib\site-packages\static.py", line 51, in __call__
    return apply(self.meth, (self.obj,) + args, kw)
  File "C:\Python23\Lib\site-packages\PyDO\PyDO.py", line 308, in 
static_getSomeSQL
    conn = self.getDBI()
  File "C:\Python23\Lib\site-packages\static.py", line 51, in __call__
    return apply(self.meth, (self.obj,) + args, kw)
  File "C:\Python23\Lib\site-packages\PyDO\PyDO.py", line 137, in 
static_getDBI
    conn = DBIGetConnection(self.connectionAlias)
  File "C:\Python23\Lib\site-packages\PyDO\PyDBI.py", line 40, in 
DBIGetConnection
    raise ValueError, "alias %s not recognized" % alias

Thanks again,

Ryan
ValueError: alias test not recognized


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.