Modify ↓
#12857 closed defect (fixed)
Error: Missing PDF file
| Reported by: | Ryan J Ollos | Owned by: | tkob-trac |
|---|---|---|---|
| Priority: | normal | Component: | PdfPreviewPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description (last modified by )
On viewing a PDF attached to WikiStart, I get the following error:
PDF.js v1.4.20 (build: b15f335) Message: Missing PDF "http://localhost:8000/proj-1.0/chrome/pdfpreview/web/compressed.tracemonkey-pldi-09.pdf".
Attachments (3)
Change History (13)
Changed 9 years ago by
| Attachment: | Screen Shot 2016-08-27 at 13.41.29.png added |
|---|
comment:1 Changed 9 years ago by
| Description: | modified (diff) |
|---|
Changed 9 years ago by
| Attachment: | tracpdfpreview-t12857.diff added |
|---|
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
| Status: | new → accepted |
|---|
Thank you for the report, but I cannot reproduce the problem. Could you tell me more about your setup? e.g. Trac version, browser...
I use Trac 1.0 on the server and Firefox 45.0.2, Edge and IE 11 on Windows client.
By the way, compressed.tracemonkey-pldi-09.pdf is an example PDF file which is originally shipped with PDF.js and removed from PdfPreviewPlugin.
Changed 9 years ago by
| Attachment: | fixquery.diff added |
|---|
comment:4 Changed 9 years ago by
I think I found an error which may solve the problem.
Probably this patch should be committed anyway, but could you see if this solves your problem?
comment:5 Changed 9 years ago by
fixquery.diff resolves the issue. I've tested with the latest Trac 1.0-stable and TracStandalone.
comment:8 Changed 9 years ago by
Note: See
TracTickets for help on using
tickets.




Unrelated: tracpdfpreview-t12857.diff removes some unused code and makes a PEP8 compliant change.