Modify

Opened 4 years ago

Closed 4 years ago

#13746 closed defect (worksforme)

Not working in 1.4

Reported by: Massimo Owned by: tkob-trac
Priority: normal Component: PdfPreviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

Installed, enabled and no error messages found in the log. But it is not working and I still see

HTML preview not available, since no preview renderer could handle it.

The only log lines that could be related:

2020-01-31 10:03:03,838 Trac[attachment] DEBUG: Trying to open attachment at /mnt/data/trac/projects/trac-pp/files/attachments/wiki/7ab/7ab8533e817917e23052d1fae5bcab77dad43484/7cbd42a644b5a7287c8f3cfe1035b36dc9296742.pdf
2020-01-31 10:03:03,841 Trac[attachment] DEBUG: Rendering preview of file TT 1.6.0 release notes.pdf with mime-type application/pdf; charset=utf-8

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by Ryan J Ollos

It works for me with 1.4-stable.

You should find the following on Environment startup:

16:08:40 Trac[loader] DEBUG: Loading plugin "tracpdfpreview" from "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/pdfpreviewplugin/1.0"

When rendering, you should find:

16:17:51 Trac[api] DEBUG: Trying to render HTML preview using PdfRenderer [lineno]

Did you run trac-admin deploy after installing the plugin?

comment:2 Changed 4 years ago by Massimo

Thanks, the deploy solved it.

comment:3 Changed 4 years ago by Massimo

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain tkob-trac.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.