I have an Trac Windows install that was created from the binamai Windows .exe installer.I'm having trouble installing the WikiPrint plug-in directly through the admin interface as an .egg. Does anybody know, if this is not supported.
I'm not very familiar with the pip package installer. Does this plug-in require pip?
Yes, I built the (trunk ver.) .egg myself from https://trac-hacks.org/browser/tracwikiprintplugin?rev=18422&format=zipTrac version is 1.4.3Indeed there is debug log info:2021-06-02 09:57:46,907 Trac[web_ui] INFO: Installing plugin TracWikiPrint-4.0.0.dev0-py3.9.egg2021-06-02 09:57:46,907 Trac[web_ui] INFO: Plugin TracWikiPrint-4.0.0.dev0-py3.9.egg installed to c:\trac\bitnami trac stack projects\wqm\plugins\TracWikiPrint-4.0.0.dev0-py3.9.eggAnd I added this to the trac.ini in the components section:[components]wikiprint.*=enabledHowever even after restarting there are no other errors or debug log entries like 'Loading plugin "trac.wikiprint" regarding this plugin
Note: wkhtmltopdf must be in your path or more precisely in the path used by Trac.
Ryan,Thanks for your help. Almost there. I now have this in the log after rebuilding the .egg with the matching version of python on the server:2021-06-02 14:55:03,007 Trac[loader] DEBUG: Skipping "TracWikiPrint 4.0.0.dev0": DistributionNotFound: The 'pdfkit' distribution was not found and is required by TracWikiPrint2021-06-02 14:55:03,007 Trac[loader] DEBUG: Skipping "TracWikiPrint 3.0.1.dev0": DistributionNotFound: The 'xhtml2pdf' distribution was not found and is required by TracWikiPrintHowever, I'm unsure where to install wkhtmltopdf. https://trac-hacks.org/wiki/TracWikiPrintPlugin simply states:What does this mean? The path to the bitnami trac python folder? The path to the trac project? Or the full path to the project's plugin dir?Note: wkhtmltopdf must be in your path or more precisely in the path used by Trac.
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/d53e94be-fb8a-45a4-be8e-19743ebc0149n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/ccbd9f6a-7f27-47ea-83fb-04ac22ed0acdn%40googlegroups.com.
I finally had a chance to re-visit this. Although the PDF kit is installed. I'm receiving this message when trying to download a PDF from Trac.Indeed I have copied the .exe to C:\Bitnami\trac-1.4.3-0\python\Lib\site-packages\wkhtmltopdfin\wkhtmltopdf.exe and restarted Trac apache services.