-bash-3.2$ python -m pdb /usr/bin/paster create --template=pylons nav
> /usr/bin/paster(3)<module>()
-> __requires__ = 'PasteScript==1.7.3'
(Pdb) cont
Selected and implied templates:
Pylons#pylons Pylons application template
Variables:
egg: nav
package: nav
project: nav
Enter template_engine (mako/genshi/jinja/etc: Template language) ['mako']:
Enter sqlalchemy (True/False: Include SQLAlchemy 0.4 configuration) [False]: True
Enter google_app_engine (True/False: Setup default appropriate for Google App Engine) [False]:
Creating template pylons
Traceback (most recent call last):
File "/usr/lib/python2.5/pdb.py", line 1213, in main
pdb._runscript(mainpyfile)
File "/usr/lib/python2.5/pdb.py", line 1138, in _runscript
self.run(statement, globals=globals_, locals=locals_)
File "/usr/lib/python2.5/bdb.py", line 366, in run
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "/usr/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/usr/lib/python2.5/site-packages/paste/script/command.py", line 79, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.5/site-packages/paste/script/command.py", line 118, in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.5/site-packages/paste/script/command.py", line 213, in run
result = self.command()
File "/usr/lib/python2.5/site-packages/paste/script/create_distro.py", line 137, in command
template, output_dir, vars)
File "/usr/lib/python2.5/site-packages/paste/script/create_distro.py", line 196, in create_template
template.run(self, output_dir, vars)
File "/usr/lib/python2.5/site-packages/paste/script/templates.py", line 57, in run
self.write_files(command, output_dir, vars)
File "/usr/lib/python2.5/site-packages/paste/script/templates.py", line 111, in write_files
template_dir = self.template_dir()
File "/usr/lib/python2.5/site-packages/paste/script/templates.py", line 53, in template_dir
return os.path.join(self.module_dir(), self._template_dir)
File "/usr/lib/python2.5/posixpath.py", line 60, in join
if b.startswith('/'):
AttributeError: 'tuple' object has no attribute 'startswith'
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/lib/python2.5/posixpath.py(60)join()
-> if b.startswith('/'):
(Pdb) step
Post mortem debugger finished. The /usr/bin/paster will be restarted