Opened 16 years ago
Closed 14 years ago
#7984 closed defect (fixed)
spam-filter-captcha did not install fonts directory
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | plugin - spam-filter |
Component: | plugin/spamfilter | Version: | 0.12dev |
Severity: | normal | Keywords: | tracspamfilter captcha verify |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This may very well be a pilot error, as I didn't find any other bug report and meanwhile others ought to have come across this…
I have installed the latest version of trac (Trac 0.12dev-r7776) on a debian system. I installed from trunk after checking out and running setup.py. I made the same with the spam-filter-captcha plugin, which I found in "SandBox". When installing spam-filter-captcha plugin by running setup.py it did NOT copy the fonts directory with vera.ttf into the package in the python site-packages directory.
After copying the "fonts" directory "by hand" from the svn checkout folder into the appropriate place INSIDE the TracSpamFilter package (namely that was in my case:
sudo cp -r tracspamfilter/fonts /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1cdev_r6883-py2.5.egg/tracspamfilter/fonts
the image captcha started to work like a charme. Being a python noob, I don't know, where to change the installer script in order to place the fonts directory at the correct location, but I guess it is not very complicated.
Please contact me, if you need further details.
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
Milestone: | → not applicable |
---|
comment:2 by , 15 years ago
Keywords: | verify added |
---|---|
Milestone: | not applicable → spam-filter-plugin |
Owner: | set to |
This should be fixed in the setup.py file by including the relevant package_data.