|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Get an error when using tg-admin sql create.Please help. Error message is attached below. Thanks! YC $ tg-admin sql create Using database URI sqlite:///home/ychen47/TG-Commerce/devdata.sqlite Traceback (most recent call last): File "/usr/bin/tg-admin", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/turbogears/command/base.py", line 369, in main command.run() File "/usr/lib/python2.4/site-packages/turbogears/command/base.py", line 126, in run command.the_runner.run(sys.argv) File "/usr/lib/python2.4/site-packages/sqlobject/manager/ command.py", line 101 , in run runner.run() File "/usr/lib/python2.4/site-packages/sqlobject/manager/ command.py", line 307 , in run self.command() File "/usr/lib/python2.4/site-packages/sqlobject/manager/ command.py", line 628 , in command for soClass in self.classes(require_some=True): File "/usr/lib/python2.4/site-packages/sqlobject/manager/ command.py", line 319 , in classes all.extend(self.classes_from_egg(egg_spec)) File "/usr/lib/python2.4/site-packages/sqlobject/manager/ command.py", line 486 , in classes_from_egg modules.extend(self.classes_from_module( File "/usr/lib/python2.4/site-packages/sqlobject/util/ moduleloader.py", line 5 , in load_module mod = __import__(module_name) File "/home/ychen47/TG-Commerce/tgcommerce/model.py", line 2, in ? pkg_resources.require("SQLObject==bugfix,>=0.7.1dev- r1860,<=0.7.99") File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 626, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: SQLObject==bugfix,>=0.7.1dev- r1860,<=0.7.99 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Get an error when using tg-admin sql create.Young Chen schrieb: > Please help. Error message is attached below. Thanks! > > raise DistributionNotFound(req) # XXX put more info here > pkg_resources.DistributionNotFound: SQLObject==bugfix,>=0.7.1dev- > r1860,<=0.7.99 See http://trac.turbogears.org/ticket/1746 Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Get an error when using tg-admin sql create.Young Chen schrieb: > Please help. Error message is attached below. Thanks! Please always mention the TG version you're using (looks like it is too old), and whether this is a newly created project or an old one. You probably need to update TurboGears and easy_install SQLObject. -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Get an error when using tg-admin sql create.Thanks a lot. This is helpful and issue was fixed. Young On Sep 23, 11:55 pm, Christopher Arndt <chris.ar...@...> wrote: > Young Chen schrieb: > > > Please help. Error message is attached below. Thanks! > > > raise DistributionNotFound(req) # XXX put more info here > > pkg_resources.DistributionNotFound: SQLObject==bugfix,>=0.7.1dev- > > r1860,<=0.7.99 > > Seehttp://trac.turbogears.org/ticket/1746 > > Chris You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Get an error when using tg-admin sql create.yes, fixed by easy_install SQLObject. TG I used is the latest one. Thx. Young On Sep 24, 12:13 am, Christoph Zwerschke <c...@...> wrote: > Young Chen schrieb: > > > Please help. Error message is attached below. Thanks! > > Please always mention the TG version you're using (looks like it is too > old), and whether this is a newly created project or an old one. > > You probably need to update TurboGears and easy_install SQLObject. > > -- Christoph You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |