I'm quite new to TG so appologies if this is a known-issue. I'm trying
to figure out a bug I'm having with Identity in another TG project so I
created a completely new project to see if the problem was a bug in TG
or a problem with my model. (I'm using tg 0.9a6 and sqlite.)

I create a completely new project with quickstart and choose to include
identity. I haven't made any changes to any project files at this
point. I then do a "tg-admin sql create" and I get the following error:

Unhandled exception in thread started by <bound method Server._start of
<cherrypy._cpserver.Server object at 0xebc30>>
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpserver.py",
line 78, in _start
    Engine._start(self)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpengine.py",
line 108, in _start
    func()
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/startup.py",
line 219, in startTurboGears
    ext.start_extension()
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/identity/visitor.py",
line 33, in start_extension
    create_extension_model()
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/identity/visitor.py",
line 48, in create_extension_model
    provider.create_provider_model()
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/identity/soprovider.py",
line 198, in create_provider_model
    user_class.createTable(ifNotExists=True)
AttributeError: 'NoneType' object has no attribute 'createTable'
Got a reply for identity: development._http._tcp.local.: Name now
registered and active
Exception pysqlite2.dbapi2.ProgrammingError: 'SQLite objects created in
a thread can only be used in that same thread.The object was created in
thread id 28216320 and this is thread id 28251648' in <bound method
Transaction.__del__ of <sqlobject.dbconnection.Transaction object at
0x12caed0>> ignored

Can anyone tell me what's going on here? - is this something I can
ignore? Any help would be much appreciated! 

thanks in advance,

Alex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to