Opened 18 years ago
Closed 18 years ago
#4869 closed defect (duplicate)
SpamFilter does not show up in WebAdmin-Interface after straight forward installation.
Reported by: | Xyanipheia | Owned by: | Matthew Good |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | plugin/spamfilter | Version: | 0.10.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I checked out the SpamFilter plugin, built an .egg-file from it and installed it using the command
python setup.py bdist_egg
Then I installed the egg using
easy_install -Z TracSpamFilter-0.2dev-py2.4.egg
After that the Admin-pages did not show up :(
The error-log contained:
2007-02-28 23:32:37,437 Trac[chrome] WARNING: File admin.css not found in any of ['c:\\path\\to\\site-packages\\tracspamfilter-0.2dev-py2.4.egg\\tracspamfilter\\htdocs']
Looking around a bit I saw, that only the subfolder "spam-filter/tracspamfilter/filters" was included inside the .egg-file.
Copying all the other stuff (htdos, templates, …) into the folder "site-packages
tracspamfilter-0.2dev-py2.4.egg
tracspamfilter" solved the problem for me.
Is there some info missing for building the .egg-file correctly, or did I anything wrong?
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
Milestone: | → none |
---|
comment:2 by , 18 years ago
Keywords: | spam removed |
---|---|
Milestone: | none |
Resolution: | → duplicate |
Status: | new → closed |
This sounds like the same issue encountered in #4882. You need to build the plugin from a standard SVN checkout ("working copy"). Setuptools expects to read metadata from the ".svn" folders to determine which files are under source control and adds them to the egg.
Seems worth to verify…