First TG project, and I can't get the default model to create SQL:
fukai:~/proj/nmv jlittle$ tg-admin sql create Using database URI sqlite:///Users/jlittle/proj/nmv/devdata.sqlite Traceback (most recent call last): File "/opt/local/bin/tg-admin", line 7, in ? sys.exit( File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/command/base.py", line 358, in main command.run() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/command/base.py", line 144, in run command.the_runner.run(sys.argv) File "/opt/local/lib/python2.4/site-packages/sqlobject/manager/command.py", line 102, in run runner.run() File "/opt/local/lib/python2.4/site-packages/sqlobject/manager/command.py", line 232, in run self.load_options_from_egg(egg_spec) File "/opt/local/lib/python2.4/site-packages/sqlobject/manager/command.py", line 415, in load_options_from_egg dist, conf = self.config_from_egg(egg_spec) File "/opt/local/lib/python2.4/site-packages/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) Here's my info: (OSX with python, sqlite, and sqlobject from macports): fukai:~/proj/nmv jlittle$ tg-admin info TurboGears Complete Version Information TurboGears requires: * TurboGears 1.0b2 * nose 0.9.0 * configobj 4.3.2 * RuleDispatch 0.5a0.dev-r2115 * setuptools 0.6c3 * FormEncode 0.5.1 * cElementTree 1.0.5-20051216 * PasteScript 0.9.7 * elementtree 1.2.6 * simplejson 1.3 * CherryPy 2.2.1 * TurboKid 0.9.8 * TurboCheetah 0.9.5 * TurboJson 0.9.9 * PyProtocols 1.0a0 * Cheetah 1.0 * PasteDeploy 0.9.6 * Paste 0.9.7 * kid 0.9.3 * Cheetah 1.0 * elementtree 1.2.6 Identity Providers * sqlobject (TurboGears 1.0b2) * sqlalchemy (TurboGears 1.0b2) tg-admin Commands * info (TurboGears 1.0b2) * shell (TurboGears 1.0b2) * quickstart (TurboGears 1.0b2) * update (TurboGears 1.0b2) * sql (TurboGears 1.0b2) * i18n (TurboGears 1.0b2) * toolbox (TurboGears 1.0b2) Visit Managers * sqlobject (TurboGears 1.0b2) * sqlalchemy (TurboGears 1.0b2) Template Engines * kid (TurboKid 0.9.8) * cheetah (TurboCheetah 0.9.5) * json (TurboJson 0.9.9) Widget Packages TurboGears Extensions * visit (TurboGears 1.0b2) * identity (TurboGears 1.0b2) --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

