On Sun, Oct 4, 2009 at 7:58 PM, kumar <[email protected]> wrote: > > Hi Everyone I am trying to create a new project by using pylons > template but i am getting this error. I pasted the snippet below. > > Can any one pls help me. > > $ paster create --template=pylons nav > 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]: false > Creating template pylons > Traceback (most recent call last): > 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' > > Waiting for any reply.
That's weird. Can you try a different application name and see if that works? Paster sometimes has trouble with certain names, although the only name I've had problems with is "test". -- 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 -~----------~----~----~----~------~----~------~--~---
