I've been playing with Pudge, and so far am liking it quite a bit.
Finally got the publish/pudge generate stuff working, now its on to
actual doc writing. So far, all the templates it comes with work,
except for the pythonpaste.org template. When I choose that theme and
try to generate the docs I get the following error:
running pudge
generating documentation
copying: /Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/template/
pythonpaste.org/rst.css -> docs/html/rst.css
copying: /Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/template/base/
pudge.css -> docs/html/pudge.css
copying: /Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/template/
pythonpaste.org/layout.css -> docs/html/layout.css
rendering: /Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/template/
pythonpaste.org/site.css.kid -> site.css
Traceback (most recent call last):
File "setup.py", line 21, in ?
packages=find_packages(exclude=['tests', 'ez_setup']),
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/buildutils-0.1.1-py2.4.egg/buildutils/command/
pudge.py", line 156, in run
self.execute(generate, (), msg='generating documentation')
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/cmd.py", line 358, in execute
util.execute(func, args, msg, dry_run=self.dry_run)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/util.py", line 298, in execute
apply(func, args)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/buildutils-0.1.1-py2.4.egg/buildutils/command/
pudge.py", line 145, in generate
g.generate()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/generator.py", line
70, in generate
self.copy_files()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/generator.py", line
257, in copy_files
extension='')
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pudge-0.1-py2.4.egg/pudge/generator.py", line
115, in expand_template
encoding='utf-8')
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.7a-py2.4.egg/kid/__init__.py", line
204, in write
serializer = self._get_serializer(output)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.7a-py2.4.egg/kid/__init__.py", line
342, in _get_serializer
return output_methods[serializer]
KeyError: 'plain'
Using the lesscode.org theme has no probs though. Is something else
required to use the pythonpaste.org template?
- Ben
_______________________________________________
Pudge mailing list
[email protected]
http://lesscode.org/mailman/listinfo/pudge