#1082: BlobCol not found
-----------------------+----------------------------------------------------
Reporter: kkinder | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: SQLObject | Version: 0.9a6
Severity: major | Keywords:
-----------------------+----------------------------------------------------
Here's the traceback:
{{{
[EMAIL PROTECTED]:~/pants$ tg-admin sql drop
Using database URI sqlite:///home/kkinder/pants/devdata.sqlite
Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a9-
py2.4.egg/turbogears/command/base.py", line 351, in main
command.run()
File "/usr/lib/python2.4/site-packages/TurboGears-0.9a9-
py2.4.egg/turbogears/command/base.py", line 143, in run
command.the_runner.run(sys.argv)
File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-
py2.4.egg/sqlobject/manager/command.py", line 102, in run
runner.run()
File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-
py2.4.egg/sqlobject/manager/command.py", line 233, in run
self.command()
File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-
py2.4.egg/sqlobject/manager/command.py", line 592, in command
for soClass in self.classes():
File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-
py2.4.egg/sqlobject/manager/command.py", line 245, in classes
all.extend(self.classes_from_egg(egg_spec))
File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-
py2.4.egg/sqlobject/manager/command.py", line 410, in classes_from_egg
modules.extend(self.classes_from_module(
File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-
py2.4.egg/sqlobject/util/moduleloader.py", line 5, in load_module
mod = __import__(module_name)
File "/home/kkinder/pants/pants/model.py", line 9, in ?
class Photo(SQLObject):
File "/home/kkinder/pants/pants/model.py", line 12, in Photo
data = BlobCol()
NameError: name 'BlobCol' is not defined
}}}
This is TurboGears 0.9a9 (not on the list) and the sqlobject that it
installed, which is SQLObject-0.7.1dev_r1860-py2.4.egg.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1082>
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
-~----------~----~----~----~------~----~------~--~---