#833: Quick started SQL Alchemy project won't run
------------------------+---------------------------------------------------
Reporter: godoy | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b1
Component: TurboGears | Version: 0.9a5
Severity: major | Keywords:
------------------------+---------------------------------------------------
Quick starting an SQL Alchemy project will generate code that won't run
with default quickstarted project. I'm using SQL Alchemy 0.1.6 here.
Here's the traceback:
{{{
Unhandled exception in thread started by <bound method Server._start of
<cherrypy._cpserver.Server object at 0x403d63ac>>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-
packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpserver.py", line 78, in
_start
Engine._start(self)
File "/usr/lib/python2.4/site-
packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpengine.py", line 108, in
_start
func()
File
"/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/startup.py",
line 218, in startTurboGears
ext.start_extension()
File
"/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/visit/api.py",
line 68, in start_extension
create_extension_model()
File
"/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/visit/api.py",
line 87, in create_extension_model
_manager.create_model()
File
"/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/visit/savisit.py",
line 22, in create_model
TG_Visit.table.create()
File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 235, in
create
File "build/bdist.linux-i686/egg/sqlalchemy/ext/proxy.py", line 50, in
__getattr__
File "build/bdist.linux-i686/egg/sqlalchemy/ext/proxy.py", line 74, in
get_engine
File "build/bdist.linux-i686/egg/sqlalchemy/engine.py", line 74, in
create_engine
File "/usr/lib/python2.4/sre.py", line 129, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
}}}
{{{
[EMAIL PROTECTED] ~/tmp/test-sa % tg-admin info | sort | uniq
cElementTree 1.0.5-20051216
Cheetah 1.0
CherryPy 2.2.1
ConfigObj 4.3.1
elementtree 1.2.6-20050316
FormEncode 0.5.1
kid 0.9.1
nose 0.8.6
Paste 0.5
PasteDeploy 0.5
PasteScript 0.5.1
PyProtocols 1.0a0
RuleDispatch 0.5a0
setuptools 0.6a11
simplejson 1.3
SQLObject 0.7.1dev-r1747
TurboGears 0.9a6dev-r1348
TurboJson 0.9.3dev-r1297
TurboKid 0.9.6dev-r1294
[EMAIL PROTECTED] ~/tmp/test-sa %
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/833>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---