Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #833 (closed defect: wontfix)

Opened 13 years ago

Last modified 12 years ago

Quick started SQL Alchemy project won't run

Reported by: godoy Owned by: anonymous
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
  File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpengine.py", line 108, in _start
  File "/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/startup.py", line 218, in startTurboGears
  File "/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/visit/api.py", line 68, in start_extension
  File "/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/visit/api.py", line 87, in create_extension_model
  File "/home/godoy/desenvolvimento/python/TurboGears/1.0/turbogears/visit/savisit.py", line 22, in create_model
  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
godoy@jupiter ~/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
godoy@jupiter ~/tmp/test-sa % 

Change History

comment:1 Changed 13 years ago by fredlin

  • Status changed from new to closed
  • Resolution set to wontfix

This bug is outdated(sqlalchemy 2.x in use)

Note: See TracTickets for help on using tickets.