Kevin Dangoor wrote:
> Hi,
>
> I note the references to:
>
> "/usr/local/lib/python2.4/site-packages/sqlobject/
>
> in your message. That doesn't look like an egg (or at least not one of
> the eggs on tg.org...)
>
> What version of sqlobject do you have?
>
> It appears that there may be an incompatibility between that version
> of sqlobject and the current version of setuptools.
>
> Kevin

Thanks for your reply,

To be safe, I downloaded and installed the most recent version at
sqlobject.org,
but when I execute "tg-admin sql create", I still get this:

Using database URI postgres://[EMAIL PROTECTED]/foo
Traceback (most recent call last):
  File "/usr/local/bin/tg-admin", line 7, in ?
    sys.exit(
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg/turbogears/command/__init__.py",
line 186, in main
    command.run()
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.8.9-py2.4.egg/turbogears/command/__init__.py",
line 106, in run
    command.the_runner.run(sys.argv)
  File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py",
line 102, in run
    runner.run()
  File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py",
line 232, in run
    self.load_options_from_egg(egg_spec)
  File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py",
line 415, in load_options_from_egg
    dist, conf = self.config_from_egg(egg_spec)
  File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py",
line 426, in config_from_egg
    dist =
pkg_resources.working_set.find(pkg_resources.Requirement(egg_spec))
TypeError: __init__() takes exactly 4 arguments (2 given)


--~--~---------~--~----~------------~-------~--~----~
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