I'm having some problems with to sqlite.
I installed pysqlite2.0.4 for python 2.4 and I'm running sqlite2.8.16.
on Windows.
The problems is below:

>>H:\TurboGears\wiki20>turbogears-admin.py sql create
>>Using database URI sqlite:///turbogears/wiki20/wiki.db
>>No classes found!
>>Looked in modules: wiki20.model
>>No packages specified
>>No eggs specified

At this point TG creates an empty file wiki.db .
Then when I go to shell and try to create page entry I get the
following:

>>H:\TurboGears\vct>turbogears-admin.py shell
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> Page(pagename="FrontPage", data="some data")
Traceback (most recent call last):
  File "<console>", line 1, in ?
NameError: name 'Page' is not defined
>>>


Here is the uri in my dev.cfg :

sqlobject.dburi="sqlite:///H|/turbogears/wiki20/wiki.db"

Any suggestions ??

Reply via email to