Personal tools
You are here: Home Products ZopeSkel Issue tracker Name Error in trunk
Navigation
Log in


Forgot your password?
New user?
 
Document Actions

#2 — Name Error in trunk

State Resolved
Area General
Issue type Bug
Severity Medium
Submitted by Darian Schramm
Submitted on Jan 24, 2008
Responsible Daniel Nouri
Return to tracker
Last modified on Jan 25, 2008 by Daniel Nouri
Missing an import in hosting.py, need to add

from zopeskel.base import templates

Traceback (most recent call last):
  File "/usr/local/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.3.6', 'console_scripts', 'paster')()
  File "/Library/Python/2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/command.py", line 78, in run
    invoke(command, command_name, options, args[1:])
  File "/Library/Python/2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/command.py", line 117, in invoke
    exit_code = runner.run(args)
  File "/Library/Python/2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/command.py", line 212, in run
    result = self.command()
  File "/Library/Python/2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/create_distro.py", line 121, in command
    vars = template.check_vars(vars, self)
  File "/Library/Python/2.5/site-packages/ZopeSkel-1.6dev_r57627-py2.5.egg/zopeskel/hosting.py", line 40, in check_vars
    result=templates.Template.check_vars(self, vars, cmd)
NameError: global name 'templates' is not defined
Steps to reproduce:
update to dev version easy_install ZopeSkel==dev
paster create -t plone_hosting
Added by Daniel Nouri on January 25, 2008 - 14:08
Issue state: unconfirmedresolved
Responsible manager: (UNASSIGNED)nouri
Fixed in http:r57716.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by