tg-admin update -t tgcaptcha
Traceback (most recent call last):
File "/usr/bin/tg-admin", line 8, in <module>
load_entry_point('TurboGears==1.0.2.2', 'console_scripts', 'tg-
admin')()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/turbogears/
command/base.py", line 389, in main
command.run()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/turbogears/
command/quickstart.py", line 272, in run
command.run(cmd_args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
command.py", line 210, in run
result = self.command()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
create_distro.py", line 69, in command
self.extend_templates(templates, tmpl_name)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
create_distro.py", line 233, in extend_templates
tmpl = entry.load()(entry.name)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
line 1830, in load
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PIL/__init__.py", line 4, in <module>
#
File "build/bdist.macosx-10.3-fat/egg/tgcaptcha/widgets.py", line 4,
in <module>
File "build/bdist.macosx-10.3-fat/egg/tgcaptcha/validator.py", line
10, in <module>
File "build/bdist.macosx-10.3-fat/egg/tgcaptcha/controller.py", line
27, in __init__
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
line 1830, in load
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PIL/__init__.py", line 18, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
line 800, in resource_filename
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
line 1229, in get_resource_filename
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/setuptools-0.6c5-py2.5.egg/pkg_resources.py",
line 1240, in _extract_resource
KeyError: 'tgcaptcha/static/fonts/tuffy/Tuffy.ttf'
Sorry about that. It's being included in the tar.gz file, so I'm not
sure why it isn't being installed as part of the egg. I don't have a
solution yet, but I wanted to let you know I am working on it.
Ok, I believe this should be fixed. Please do a
easy_install -U TGCaptcha
to get a new release that should include the missing font files. It's
working for me, so hopefully this does the trick...