It looks like an egg that your setup.py is requiring is missing. Does
"python setup.py develop" help or tell you anything useful?

Kevin

On 1/11/06, kavikaBldr <[EMAIL PROTECTED]> wrote:
>
> Hi All!
> I started to learn/work with TG two days ago. I started with the
> project at home on my mac. Now I copied the whole directory over to my
> PC at work, modified the dev.cfg file for the database access, and
> nothing works...
> The following happens when I try to build the DB:
> (Note that the demo app (wiki20) works fine on thePC.)
>
> Can some please shed some light on this?
>
> Thanks!
>
> ===========================================
> fC:\dev\tg\sgtestdb_from_mac>tg-admin sql create
> Using database URI mysql://root:@localhost:3306/test
> Traceback (most recent call last):
>   File "C:\Python24\Scripts\tg-admin-script.py", line 7, in ?
>     sys.exit(
>   File
> "c:\python24\lib\site-packages\TurboGears-0.8.7-py2.4.egg\turbogears\command\__init__.py",
> line 186, in main
>
>     command.run()
>   File
> "c:\python24\lib\site-packages\TurboGears-0.8.7-py2.4.egg\turbogears\command\__init__.py",
> line 106, in run
>     command.the_runner.run(sys.argv)
>   File
> "c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1457-py2.4.egg\sqlobject\manager\command.py",
> line 102, i
> n run
>     runner.run()
>   File
> "c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1457-py2.4.egg\sqlobject\manager\command.py",
> line 232, i
> n run
>     self.load_options_from_egg(egg_spec)
>   File
> "c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1457-py2.4.egg\sqlobject\manager\command.py",
> line 415, i
> n load_options_from_egg
>     dist, conf = self.config_from_egg(egg_spec)
>   File
> "c:\python24\lib\site-packages\SQLObject-0.7.1dev_r1457-py2.4.egg\sqlobject\manager\command.py",
> line 425, i
> n config_from_egg
>     dist = pkg_resources.get_distribution(egg_spec)
>   File
> "c:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\pkg_resources.py",
> line 229, in get_distribution
>     if isinstance(dist,Requirement): dist = get_provider(dist)
>   File
> "c:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\pkg_resources.py",
> line 115, in get_provider
>     return working_set.find(moduleOrReq) or
> require(str(moduleOrReq))[0]
>   File
> "c:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\pkg_resources.py",
> line 503, in require
>     needed = self.resolve(parse_requirements(requirements))
>   File
> "c:\python24\lib\site-packages\setuptools-0.6a9-py2.4.egg\pkg_resources.py",
> line 483, in resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: Sysgen-Test-DB
> =====================================================
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to