Modify

Opened 8 years ago

Closed 8 years ago

#381 closed defect (worksforme)

Smiley are not displayed

Reported by: anonymous Owned by: cboos
Priority: normal Component: WikiGoodiesPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

Using trunk version of trac. Tried both 0.9 and 1.0 versions of goodies using plugins/*.egg built with the command:

python ./setup.py bdist_egg
install dist/egg <trac/plugins>

Using the lines

== Wikil Goodies ==
=== Smileys ===
[[ShowSmileys(5)]]
=== Entities ===
[[ShowEntities(4)]]
=== Symbols ===
[[ShowSymbols(5)]]

most of the wiki page displays correctly, except smiley png files. It appears the path does not match for searching for *.png files. Wiki page wants them in:

http://localhost/trac/chrome/smileys/img/idea.png

but path in .egg is:

copying build/lib/goodies/htdocs/modern/img/alert.png -> build/bdist.darwin-8.6.0-Power_Macintosh/egg/goodies/htdocs/modern/img
...

Is there a manual path to install modern/img/*.png?

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by cboos

Check in your log for a warning which says:
"File alert.png not found in any of" and then you should see a list of directories;
what is that list? (and check if those directories exist and look at their content)

Plus, what's the version of setuptools you're using?

comment:2 Changed 8 years ago by anonymous

Setuptools is current trunk version:

Installed /Library/Python/2.3/site-packages/setuptools-0.7a1dev_r46140-py2.3.egg

No mention of alert in trac.log at log level "INFO". Apache access_log shows access at:

access_log:::1 - - [24/May/2006:19:50:20 -1000] "GET /trac/chrome/smileys/img/alert.png HTTP/1.1" 500 57

Where should I look for the missing directories? In the trac/db directory? Apache htdocs?

comment:3 Changed 8 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from new to closed

Turns out that the DoxygenPlugin did not implement the ITemplateProvider method: get_htdocs_dirs(). Since DoxygenPlugin error occurred in the plugin list before WikiGoodiesPlugin, the routine http://projects.edgewall.com/trac/browser/trunk/trac/web/chrome.py#L218 prevented get_htdocs_dirs() for WikiGoodiesPlugin from being called. The DoxygenPlugin error was recorded in ticket:391, where the patch to correct get_htdocs_dirs() is defined.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from cboos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.