Package: python-pastescript
Version: 1.6-1
Severity: normal

Hello,

Today, I have upgraded Sid and paster fails to serve my pylons app.
Here are an extract of aptitude log and the traceback.

,---- Extract of /var/log/aptitude
| [MIS A JOUR] paste-common 1.5.1-1 -> 1.6-1
| [MIS A JOUR] python-paste 1.5.1-1 -> 1.6-1
| [MIS A JOUR] python-pastedeploy 1.3.1-1 -> 1.3.1-2
| [MIS A JOUR] python-pastescript 1.3.6-2 -> 1.6-1
| [MIS A JOUR] python-sqlalchemy 0.4.2-1 -> 0.4.2a-1
| [MIS A JOUR] python-support 0.7.5 -> 0.7.6
`----

(MIS A JOUR stands for UPGRADE.)

,---- paster serve --reload development.ini
| Starting subprocess with file monitor
| Traceback (most recent call last):
|   File "/usr/bin/paster", line 7, in ?
|     sys.exit(
|   File "/var/lib/python-support/python2.4/paste/script/command.py", line 79, 
in run
|     invoke(command, command_name, options, args[1:])
|   File "/var/lib/python-support/python2.4/paste/script/command.py", line 118, 
in invoke
|     exit_code = runner.run(args)
|   File "/var/lib/python-support/python2.4/paste/script/command.py", line 213, 
in run
|     result = self.command()
|   File "/var/lib/python-support/python2.4/paste/script/serve.py", line 252, 
in command
|     relative_to=base, global_conf=vars)
|   File "/var/lib/python-support/python2.4/paste/script/serve.py", line 273, 
in loadapp
|     return loadapp(
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
193, in loadapp
|     return loadobj(APP, uri, name=name, **kw)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
213, in loadobj
|     global_conf=global_conf)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
237, in loadcontext
|     global_conf=global_conf)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
267, in _loadconfig
|     return loader.get_context(object_type, name, global_conf)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
393, in get_context
|     section)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
414, in _context_from_use
|     context = self.get_context(
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
345, in get_context
|     global_conf=global_conf)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
237, in loadcontext
|     global_conf=global_conf)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
274, in _loadegg
|     return loader.get_context(object_type, name, global_conf)
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
541, in get_context
|     entry_point, protocol, ep_name = self.find_egg_entry_point(
|   File "/var/lib/python-support/python2.4/paste/deploy/loadwsgi.py", line 
568, in find_egg_entry_point
|     possible.append((entry.load(), protocol, entry.name))
|   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1912, in load
|     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
|   File "/home/bdaix/Work/webpage/webpage/config/middleware.py", line 7, in ?
|     from pylons import config
|   File "/var/lib/python-support/python2.4/pylons/__init__.py", line 4, in ?
|     from pylons.config import config
|   File "/var/lib/python-support/python2.4/pylons/config.py", line 2, in ?
|     from pylons.configuration import *
|   File "/var/lib/python-support/python2.4/pylons/configuration.py", line 16, 
in ?
|     import pylons.legacy
|   File "/var/lib/python-support/python2.4/pylons/legacy.py", line 12, in ?
|     from pylons.util import deprecated, func_move
|   File "/var/lib/python-support/python2.4/pylons/util.py", line 11, in ?
|     from paste.script.templates import Template
| ImportError: cannot import name Template
`----

Note that "paster create -t pylons toyapp" fails with the same error.

Thanks,
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pastescript depends on:
ii  paste-common                  1.6-1      common files for paste modules
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-paste                  1.6-1      Tools for using a Web Server Gatew
ii  python-pastedeploy            1.3.1-2    Load, configure, and compose WSGI 
ii  python-setuptools             0.6c7-1    Python Distutils Enhancements
ii  python-support                0.7.6      automated rebuilding support for p

Versions of packages python-pastescript recommends:
ii  python-cheetah                2.0.1-1    text-based template engine and Pyt
ii  python-flup                   1.0-1      Implements Python Web Server Gatew

-- no debconf information

-- 
Boris Daix



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

Reply via email to