Opened 15 years ago
Closed 15 years ago
#5525 closed defect (fixed)
[Fix] WARNING messages in Trac log file; setup does not copy footnote.js
Reported by: | Mark Potter | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | FootNoteMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
With Trac logging is set to WARNING, when a page that uses the FootNoteMacro is accessed I am getting a series of WARNING messages in the log file. However the page appears to be rendering correctly.
2009-07-17 09:42:27,102 Trac[chrome] WARNING: File footnote.js not found in any of [X:
TracPath
.egg-cache
tracfootnotemacro-1.0-py2.5.egg-tmp
footnotemacro
htdocs']
2009-07-17 09:42:27,102 Trac[main] WARNING: HTTPNotFound: 404 Not Found (File footnote.js not found)
2009-07-17 09:42:27,197 Trac[chrome] WARNING: File footnote.js not found in any of [X:
TracPath
.egg-cache
tracfootnotemacro-1.0-py2.5.egg-tmp
footnotemacro
htdocs']
2009-07-17 09:42:27,197 Trac[main] WARNING: HTTPNotFound: 404 Not Found (File footnote.js not found)`
The page in question had three footnotes, but as you can see the warning message is issued twice.
The steps used to install were:
- Download and unzip.
- From a command prompt go to the location where the package was unzipped.
- Y:\DLPath
\footnotemacro-r6213>
c:\Python25\Scripts\easy_install.exe footnotemacro\0.11
Processing 0.11
Running setup.py -q bdist_egg --dist-dir Y:\DLPath\footnotemacro-r6213\footnotemacro\0.11\egg-dist-tmp-ucbfbp
zip_safe flag not set; analyzing archive contents...
Adding tracfootnotemacro 1.0 to easy-install.pth file
Installed c:\python25\lib\site-packages\tracfootnotemacro-1.0-py2.5.egg
Processing dependencies for tracfootnotemacro==1.0
Finished processing dependencies for tracfootnotemacro==1.0
- Restart Apache
Attachments (0)
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Priority: | low → normal |
---|---|
Severity: | minor → normal |
Summary: | WARNING messages in Trac log file. → WARNING messages in Trac log file; setup does not copy footnote.js |
Copying that file stopped the error message. Thanks.
Leaving ticket open since this is an issue with the installer.
comment:3 Changed 15 years ago by
Original Source:
package_data = { 'footnotemacro': ['htdocs/*.css',] },
Changed Source:
package_data = { 'footnotemacro': ['htdocs/*.css', 'htdocs/*.js' ] },
And install again!!
comment:4 Changed 15 years ago by
Owner: | changed from Alec Thomas to Ryan J Ollos |
---|---|
Summary: | WARNING messages in Trac log file; setup does not copy footnote.js → [Fix] WARNING messages in Trac log file; setup does not copy footnote.js |
Reassigning open tickets to myself since I am adopting this plugin.
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I used
but the installed egg directory in my python packages was missing footnote.js. I copied the file over from the download. I don't get the messages, and the footnote text appears when I hover over the footnote number.
Seems like setup.py has an incorrect line: