#2 — Name Error in trunk
| State | Resolved |
|---|---|
| Version: |
—
|
| Area | General |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Darian Schramm |
| Submitted on | Jan 24, 2008 |
| Responsible | Daniel Nouri |
| Target release: |
—
|
Last modified on
Jan 08, 2009
by
Matthew Wilkes
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
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 byDaniel NourionJan 25, 2008 02:08 PM
Fixed in http:r57716.
Issue state:
unconfirmed
→
resolved
Responsible manager:
(UNASSIGNED)
→
nouri
Add response
If you can, please log in before submitting a reaction.
hosting.patch