Package: python-pylons
Version: 0.9.5-4
Severity: normal

This should be easy to solve...

python-pylons (or one of its dependencies) needs python-mako to run,
but it is not currently required.

Example, while following the pylons tutorial:
http://docs.pythonweb.org/display/pylonscookbook/How+to+write+a+basic+blog+with+Pylons

I run the following:
paster create --template=pylons blogtutorial

I get the following traceback:
Traceback (most recent call last):
  File "/usr/bin/paster", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/paste/script/command.py", line 76, in 
run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.4/site-packages/paste/script/command.py", line 115, in 
invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.4/site-packages/paste/script/command.py", line 210, in 
run
    result = self.command()
  File "/usr/lib/python2.4/site-packages/paste/script/create_distro.py", line 
69, in command
    self.extend_templates(templates, tmpl_name)
  File "/usr/lib/python2.4/site-packages/paste/script/create_distro.py", line 
233, in extend_templates
    tmpl = entry.load()(entry.name)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1829, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1842, in 
require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 483, in resolve
    raise DistributionNotFound(req)  # XXX put more info here

Installing python-mako fixes the problem.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pylons depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-beaker                 0.6.3-3    Simple WSGI middleware that uses t
ii  python-decorator              2.0.1-4    simplify usage of python decorator
ii  python-formencode             0.7.1-1    validation and form generation pyt
ii  python-myghty                 1.1-3      Python based templating framework 
ii  python-nose                   0.9.2-2    test discovery and running for Pyt
ii  python-paste                  1.3-2      Tools for using a Web Server Gatew
ii  python-pastedeploy            1.3-1      Load, configure, and compose WSGI 
ii  python-pastescript            1.3.4-1    serving web applications, creating
ii  python-routes                 1.6.3-1    Routing Recognition and Generation
ii  python-simplejson             1.7.1-2    Simple, fast, extensible JSON enco
ii  python-support                0.6.4      automated rebuilding support for p
ii  python-webhelpers             0.3-2      Library of helper functions to mak

Versions of packages python-pylons recommends:
pn  python-sqlalchemy | python-sq <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to