I have a quick question regarding trac-wikiprint 1.9.2. I
recently installed it in an ubuntu 11.10 box, set wikiprint.* =
enabled, set log to debug, and restarted apache.

2012-01-27 11:36:56,098 Trac[chrome] DEBUG: Prepare chrome data for request
2012-01-27 11:36:56,099 Trac[perm] DEBUG: No policy allowed raubvogel
performing TRAC_ADMIN on None
2012-01-27 11:36:56,100 Trac[perm] DEBUG: No policy allowed raubvogel
performing PERMISSION_GRANT on None
2012-01-27 11:36:56,100 Trac[perm] DEBUG: No policy allowed raubvogel
performing PERMISSION_REVOKE on None
2012-01-27 11:36:56,100 Trac[perm] DEBUG: No policy allowed raubvogel
performing TICKET_ADMIN on None
2012-01-27 11:36:56,101 Trac[perm] DEBUG: No policy allowed raubvogel
performing VERSIONCONTROL_ADMIN on None
2012-01-27 11:36:56,101 Trac[perm] DEBUG: No policy allowed raubvogel
performing WIKIPRINT_ADMIN on None
2012-01-27 11:36:56,102 Trac[perm] DEBUG: No policy allowed raubvogel
performing WIKIPRINT_BOOK on None

Then I went to a given page, which contained a .png image,
[[Image(install.png)]], which seems to be seen to the browser as

https://ubuntu1004-x64.internal.domain.com/admin/attachment/wiki/Training/install.png

and tried to print as a pdf article. This is what the log file said
about the image:

2012-01-27 11:36:56,104 Trac[wikiprint] DEBUG: WikiPrint => Start
function wikipage_to_html
[...]
2012-01-27 11:36:58,524 Trac[wikiprint] DEBUG: WikiPrint.linkLoader =>
Resolving URL: 
https://ubuntu1004-x64.internal.domain.com/admin/raw-attachment/wiki/Training/install.png
2012-01-27 11:36:58,524 Trac[wikiprint] DEBUG: WikiPrint.linkLoader =>
urljoined URL: 
https://ubuntu1004-x64.internal.domain.com/admin/raw-attachment/wiki/Training/install.png
2012-01-27 11:36:58,525 Trac[wikiprint] DEBUG: WikiPrint.linkLoader =>
path: /admin/raw-attachment/wiki/Training/install.png
2012-01-27 11:36:58,525 Trac[wikiprint] DEBUG: Adding cookie to HTTP
request: pdfgenerator_cookie=295ed9486f30592a7a4cdf209c99c52b
2012-01-27 11:36:58,538 Trac[wikiprint] DEBUG: WikiPrint.linkLoader
ERROR: HTTP Error 401: Authorization Required

and the pdf was generated but without images. Could anyone explain to
me what happened here?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to