Pylons/pyramid — pull request #1325 by ftravers (2014-04-24 20:17:35+00:00)
Title: The copyright symbol causes this error:

(pyr_1)python % pcreate -s alchemy pyrtests U fenton/projects/python
Creating directory /home/fenton/projects/python/pyrtests
Recursing into +package+
Creating /home/fenton/projects/python/pyrtests/pyrtests/
Copying __init__.py to /home/fenton/projects/python/pyrtests/pyrtests/__init__.py
Recursing into __pycache__
Creating /home/fenton/projects/python/pyrtests/pyrtests/__pycache__/
Copying models.py to /home/fenton/projects/python/pyrtests/pyrtests/models.py
Recursing into scripts
Creating /home/fenton/projects/python/pyrtests/pyrtests/scripts/
Copying __init__.py to /home/fenton/projects/python/pyrtests/pyrtests/scripts/__init__.py
Recursing into __pycache__
Creating /home/fenton/projects/python/pyrtests/pyrtests/scripts/__pycache__/
Copying initializedb.py to /home/fenton/projects/python/pyrtests/pyrtests/scripts/initializedb.py
Recursing into static
Creating /home/fenton/projects/python/pyrtests/pyrtests/static/
Copying pyramid-16x16.png to /home/fenton/projects/python/pyrtests/pyrtests/static/pyramid-16x16.png
Copying pyramid.png to /home/fenton/projects/python/pyrtests/pyrtests/static/pyramid.png
Copying theme.css to /home/fenton/projects/python/pyrtests/pyrtests/static/theme.css
Copying theme.min.css to /home/fenton/projects/python/pyrtests/pyrtests/static/theme.min.css
Recursing into templates
Creating /home/fenton/projects/python/pyrtests/pyrtests/templates/
Traceback (most recent call last):
File "/home/fenton/.virtualenvs/pyr_1/bin/pcreate", line 9, in
load_entry_point('pyramid==1.5', 'console_scripts', 'pcreate')()
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scripts/pcreate.py", line 16, in main
return command.run()
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scripts/pcreate.py", line 75, in run
return self.render_scaffolds()
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scripts/pcreate.py", line 93, in render_scaffolds
scaffold.run(self, output_dir, vars)
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/template.py", line 65, in run
self.write_files(command, output_dir, vars)
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/template.py", line 97, in write_files
template_renderer=self.render_template,
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/copydir.py", line 103, in copy_dir
template_renderer=template_renderer, out_=out_)
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/copydir.py", line 103, in copy_dir
template_renderer=template_renderer, out_=out_)
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/copydir.py", line 115, in copy_dir
template_renderer=template_renderer
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/copydir.py", line 260, in substitute_content
return template_renderer(content, v, filename=filename)
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/scaffolds/template.py", line 35, in render_template
content = native_(content, fsenc)
File "/home/fenton/.virtualenvs/pyr_1/lib/python3.4/site-packages/pyramid/compat.py", line 81, in native_
return str(s, encoding, errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2559: ordinal not in range(128)