On Sun, 2009-10-04 at 20:30 -0700, kumar wrote:
> Thank you very much for your response we tried with some other name
> but still we are getting this issue please help.
> 
> On Oct 4, 8:27 pm, Mike Orr <[email protected]> wrote:
> > 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".
> >
hi!

well i don't know what's exactly wrong, but i've another suggestion.
create a virtualenv and install pylons and sqlalchemy in that. then try
to create pylons app and check if you get the same error. 

also it would be helpful if you could let ppl know which OS you are
using and version etc. in order to replicate or reproduce the bug. 

regds,
arun. 



--~--~---------~--~----~------------~-------~--~----~
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