Edgewall Software

Ticket #4869 (closed defect: duplicate)

Opened 18 months ago

Last modified 18 months ago

SpamFilter does not show up in WebAdmin-Interface after straight forward installation.

Reported by: Xyanipheia Owned by: mgood
Priority: normal Milestone:
Component: plugin/spamfilter Version: 0.10.3
Severity: normal Keywords:
Cc:

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

Change History

in reply to: ↑ description   Changed 18 months ago by cboos

  • milestone set to none

Seems worth to verify...

  Changed 18 months ago by mgood

  • keywords spam removed
  • status changed from new to closed
  • resolution set to duplicate
  • milestone none deleted

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.

Add/Change #4869 (SpamFilter does not show up in WebAdmin-Interface after straight forward installation.)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.