Pylons/pyramid — Issue #336: git trunk doesn't include scaffolds alchemy, routesalchemy, starter and zodb in eggs
Author: grooverdan
Created: 2011-11-04 05:52:38+00:00
State: open

I created a egg of the git master and installed this with easy_install into the pyramidtut virtualenv. Attempting to follow the tutorial generated the following error due to scaffolds not being included in the egg.

bin/pcreate -s routesalchemy tutorialroutesalchemy
Traceback (most recent call last):
File "bin/pcreate", line 8, in
load_entry_point('pyramid==1.3dev', 'console_scripts', 'pcreate')()
File "/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scripts/pcreate.py", line 15, in main
command.run()
File "/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scripts/pcreate.py", line 62, in run
return self.render_scaffolds()
File "/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scripts/pcreate.py", line 80, in render_scaffolds
scaffold.run(self, output_dir, vars)
File "/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scaffolds/template.py", line 49, in run
self.write_files(command, output_dir, vars)
File "/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scaffolds/template.py", line 81, in write_files
template_renderer=self.template_renderer
File "/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scaffolds/copydir.py", line 65, in copy_dir
names = sorted(os.listdir(source))
OSError: [Errno 2] No such file or directory: '/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scaffolds/routesalchemy'

ls '/home/dan/pyramidtut/lib/python2.7/site-packages/pyramid-1.3dev-py2.7.egg/pyramid/scaffolds'
copydir.py copydir.pyc __init__.py __init__.pyc template.py template.pyc tests.py tests.pyc