The output of paster quickstart tg2test is:
  Copying setup.py_tmpl to ./tg2test/setup.py
  Copying test.ini_tmpl to ./tg2test/test.ini
Running /usr/bin/python setup.py egg_info
Traceback (most recent call last):
  File "/usr/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
()
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py",
line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py",
line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py",
line 218, in run
    result = self.command()
  File "/usr/lib64/python2.6/site-packages/devtools/commands/
quickstart.py", line 204, in command
    command.run(cmd_args)
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py",
line 218, in run
    result = self.command()
  File "/usr/lib64/python2.6/site-packages/paste/script/
create_distro.py", line 170, in command
    egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
  File "/usr/lib64/python2.6/site-packages/paste/script/pluginlib.py",
line 134, in egg_info_dir
    % ', '.join(all))
IOError: No egg-info directory found (looked in ./tg2test/./
tg2test.egg-info, ./tg2test/development.ini/tg2test.egg-info, ./
tg2test/ez_setup/tg2test.egg-info, ./tg2test/test.ini/tg2test.egg-
info, ./tg2test/README.txt/tg2test.egg-info, ./tg2test/tg2test/
tg2test.egg-info, ./tg2test/setup.py/tg2test.egg-info, ./tg2test/
production.ini/tg2test.egg-info, ./tg2test/setup.cfg/tg2test.egg-info)

The spec file used for building is http://pastebin.com/f46277f8f

I can't imagine what it is that I'm missing. All the dependencies seem
to have been fulfilled (i.e. the ones listed in the last post). I also
added a new dependency for WebFlash and an update for webob.

Ciaran



On 21 Jan., 02:23, Lukasz Szybalski <[email protected]> wrote:
> On Mon, Jan 12, 2009 at 8:51 AM, Lukasz Szybalski <[email protected]> wrote:
> > On Mon, Jan 12, 2009 at 4:16 AM, frankentux <[email protected]> 
> > wrote:
>
> >> Thanks - there were a lot more packages which I needed to package
> >> (AddOns, PyProtocols, sprox etc). Basically, I just kept entering
> >> paster quickstart and kept getting import errors.
> >> Thus, I kept building packages until there were no import errors. Now
> >> paster quickstart works, but with this error:
>
> >> cfarr...@paddy:/tmp> paster quickstart
> >> 'import site' failed; use -v for traceback
> >> /usr/lib/python2.6/site-packages/dispatch/predicates.py:379:
> >> DeprecationWarning: object.__new__() takes no parameters
> >>  return ExprBase.__new__
> >> (klass,function,*argexprs)
> >> /usr/lib/python2.6/site-packages/tw/core/view.py:202:
> >> DeprecationWarning: object.__new__() takes no parameters
> >>  obj = object.__new__(cls, *args,
> >> **kw)
>
> > Not sure about that error. Can somebody re-produce this on py2.6? My
> > guess would be tha something happen during the installation process
> > that broke the app.
>
> > What I would suggest to do is the following:
>
> > -Create a virtualenv
> > virtualenv --no-site-packages baseline
> > source ./baseline/bin/activate
>
> > - This will give you a clean python virtual environment.
> >  -Install turbogears (below command on a single line)
>
> > easy_install -ihttp://www.turbogears.org/2.0/downloads/current/index
> > tg.devtools
>
> > - See if it runs
> > paster quickstart
>
> > -Now look at the baseline/lib/python2....site-packages and you will
> > find all the prerequisites.  This is probably what you need to
> > package.
>
> > Hope this helps.
> > Lucas
>
> Were you able to package it?
>
> Thanks,
> Lucas
>
> --
> How to create python package?http://lucasmanual.com/mywiki/PythonPaste
> Bazaar and Launchpadhttp://lucasmanual.com/mywiki/Bazaar
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to