Edgewall Software
Modify

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)

in reply to:  description comment:1 by Christian Boos, 18 years ago

Milestone: none

Seems worth to verify…

comment:2 by Matthew Good, 18 years ago

Keywords: spam removed
Milestone: none
Resolution: duplicate
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.