Package: python-pastescript
Version: 1.7.3-5
Severity: normal

Using with python-pylons 0.10~b1-1

Tried to work out the HelloWorld example from 
http://pylonsbook.com/en/1.1/exploring-pylons.html

This is what happens:

$ paster create --template=pylons helloworld
Selected and implied templates:
  Pylons#pylons  Pylons application template

Variables:
  egg:      helloworld
  package:  helloworld
  project:  helloworld
Enter template_engine (mako/genshi/jinja2/etc: Template language) ['mako']: 
Enter sqlalchemy (True/False: Include SQLAlchemy 0.5 configuration) [False]: 
Creating template pylons
Creating directory ./helloworld
  Recursing into +package+
    Creating ./helloworld/helloworld/
    Copying __init__.py_tmpl to ./helloworld/helloworld/__init__.py
    Recursing into config
      Creating ./helloworld/helloworld/config/
      Copying __init__.py_tmpl to ./helloworld/helloworld/config/__init__.py
      Copying deployment.ini_tmpl_tmpl to 
./helloworld/helloworld/config/deployment.ini_tmpl
      Copying environment.py_tmpl to 
./helloworld/helloworld/config/environment.py
      Copying middleware.py_tmpl to ./helloworld/helloworld/config/middleware.py
      Copying routing.py_tmpl to ./helloworld/helloworld/config/routing.py
    Recursing into controllers
      Creating ./helloworld/helloworld/controllers/
      Copying __init__.py_tmpl to 
./helloworld/helloworld/controllers/__init__.py
      Copying error.py_tmpl to ./helloworld/helloworld/controllers/error.py
    Recursing into lib
      Creating ./helloworld/helloworld/lib/
      Copying __init__.py_tmpl to ./helloworld/helloworld/lib/__init__.py
      Copying app_globals.py_tmpl to ./helloworld/helloworld/lib/app_globals.py
      Copying base.py_tmpl to ./helloworld/helloworld/lib/base.py
      Copying helpers.py_tmpl to ./helloworld/helloworld/lib/helpers.py
    Recursing into model
      Creating ./helloworld/helloworld/model/
      Copying __init__.py_tmpl to ./helloworld/helloworld/model/__init__.py
    Recursing into public
      Creating ./helloworld/helloworld/public/
      Copying bg.png to ./helloworld/helloworld/public/bg.png
      Copying favicon.ico to ./helloworld/helloworld/public/favicon.ico
      Copying index.html_tmpl to ./helloworld/helloworld/public/index.html
      Copying pylons-logo.gif to ./helloworld/helloworld/public/pylons-logo.gif
    Recursing into templates
      Creating ./helloworld/helloworld/templates/
    Recursing into tests
      Creating ./helloworld/helloworld/tests/
      Copying __init__.py_tmpl to ./helloworld/helloworld/tests/__init__.py
      Recursing into functional
        Creating ./helloworld/helloworld/tests/functional/
        Copying __init__.py_tmpl to 
./helloworld/helloworld/tests/functional/__init__.py
      Copying test_models.py_tmpl to 
./helloworld/helloworld/tests/test_models.py
    Copying websetup.py_tmpl to ./helloworld/helloworld/websetup.py
  Copying MANIFEST.in_tmpl to ./helloworld/MANIFEST.in
  Copying README.txt_tmpl to ./helloworld/README.txt
  Copying development.ini_tmpl to ./helloworld/development.ini
  Recursing into docs
    Creating ./helloworld/docs/
    Copying index.txt_tmpl to ./helloworld/docs/index.txt
  Copying ez_setup.py to ./helloworld/ez_setup.py
  Copying setup.cfg_tmpl to ./helloworld/setup.cfg
  Copying setup.py_tmpl to ./helloworld/setup.py
  Copying test.ini_tmpl to ./helloworld/test.ini
Running /usr/bin/python setup.py egg_info
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in 
invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/create_distro.py", line 170, 
in command
    egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
  File "/usr/lib/pymodules/python2.6/paste/script/pluginlib.py", line 134, in 
egg_info_dir
    % ', '.join(all))
IOError: No egg-info directory found (looked in 
./helloworld/./helloworld.egg-info, ./helloworld/test.ini/helloworld.egg-info, 
./helloworld/ez_setup.pyc/helloworld.egg-info, 
./helloworld/README.txt/helloworld.egg-info, 
./helloworld/development.ini/helloworld.egg-info, 
./helloworld/setuptools-0.6c9-py2.6.egg/helloworld.egg-info, 
./helloworld/ez_setup.py/helloworld.egg-info, 
./helloworld/docs/helloworld.egg-info, 
./helloworld/MANIFEST.in/helloworld.egg-info, 
./helloworld/setup.cfg/helloworld.egg-info, 
./helloworld/setup.py/helloworld.egg-info, 
./helloworld/helloworld/helloworld.egg-info)

This occurs regardless of python2.5 or python2.6 and regardless of using 
python-virtualenv

The following

~/helloworld$ paster serve --reload development.ini

ends up in

Starting subprocess with file monitor
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in 
invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in 
command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in 
loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in 
loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in 
loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in 
loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in 
_loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in 
get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in 
_context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in 
get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in 
loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in 
_loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in 
get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in 
find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: helloworld

Regards

Descartes


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pastescript depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-paste                  1.7.2-4    tools for using a Web Server Gatew
ii  python-pastedeploy            1.3.3-3    load, configure, and compose WSGI 
ii  python-pkg-resources          0.6.10-1   Package Discovery and Resource Acc
ii  python-support                1.0.6      automated rebuilding support for P

Versions of packages python-pastescript recommends:
pn  python-cheetah                <none>     (no description available)
pn  python-flup                   <none>     (no description available)

Versions of packages python-pastescript suggests:
ii  libjs-jquery                  1.4.1-1    JavaScript library for dynamic web
pn  python-cherrypy3 | python-che <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to