-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


On Sun, Oct 4, 2009 at 8:41 PM, Mike Orr <[email protected]> wrote:

>
> On Sun, Oct 4, 2009 at 8:30 PM, kumar <[email protected]> wrote:
> >
> > Thank you very much for your response we tried with some other name
> > but still we are getting this issue please help.
>
> Oh, it's asking the App Engine question.  This is another indication
> that your Pylons is slightly old.
>
> I have no idea how a tuple got substituted for a path string, but it
> suggests your copy of Pylons or Paste might be corrupted.  If you're
> comfortable with the Python debugger you can run "python -m pdb `which
> paster` create --template=pylons nav" and see what the value of 'b'
> is.  That might give us a clue what's wrong.
>
> But it's probably easier to install a fresh copy of Pylons 0.9.7 in
> another virtualenv and see if the problem goes away.
>
> --
> Mike Orr <[email protected]>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to