我正在安裝在Plone 4.2.4服務器上的collective.sendaspdf。collective.sendaspdf「正在運行wkhtmltopdf失敗」
這個附加提供了兩個額外的文檔操作按鈕,一個「發送爲PDF」和其他的「查看PDF」
以下的packages pypi page指令後。我在嘗試點擊前述方式文檔操作環節之一,當以下回溯:
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute
'_Thread__block'",) in <module 'threading' from '/home/dan/Plone/Python-2.7/lib/python2.7
/threading.pyc'> ignored
2013-02-13 14:04:50 ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute
'_Thread__block'",) in <module 'threading' from '/home/dan/Plone/Python-2.7/lib/python2.7
/threading.pyc'> ignored
2013-02-13 14:05:55 ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
我試圖牽制wkhtmltopdf它需要的版本,下[versions]
標題但沒有做任何事情對我來說。我試過在eggs
部分單獨加載collective.sendaspdf
,但是再一次,這也不起作用。我嘗試手動下載它們,將它們放入我的src
文件夾中並相應地配置develop
部分,但這又給我帶來了同樣的錯誤。我甚至嘗試過easy_install,但我遇到了同樣的問題。
上the pypi page的指令不能遵循的信,因爲我相信[wkhtmltopdf]
標題下的URL導致損壞的存檔(我不能用tar,gzip的或bunzip2命令將文件解壓縮),但是他確實有包含源文件的zip文件我試過手動下載並使用easy_install)但無濟於事。
我一直在研究的是我得到了
ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
錯誤消息,但我似乎沒有看到有任何困難Plone的用戶,似乎大多數人都採用這種使用Rails。
有誰知道我能:
- 得到這個工作
- 查找Plone的HTML轉換爲PDF的另一種方式。
我已經試過Form2PDF,zopyx.smartpringng,現在collective.sendaspdf(這個我已經得到了與最遠) - 除了它是在下跌的最後一道關卡
感謝。