|04-28-2012, 11:55 AM||#1|
Join Date: Apr 2012
new developer: cssutils error in hello_world plugin
OK: I got the development environment working and was able to insert
some print statements and see the results in the terminal after running
For the next step, I tried loading the hello_world plugin.
One attempting a conversion, I get the following error:
RuntimeError: You need cssutils >= 0.9.9 for calibre
I see that cssutils is NOT in the sources downloaded with bzr,
although there are .pyo files for cssutils in the /Application/calibre.app
bundle. (I'm working on MacOSX)
So is the issue that there is no cssutils in the source tree ?
Or is the problem that the cssutils in the Application bundle is the wrong version? (I'm running calibre 0.8.48)
And how do I fix this ?
|04-28-2012, 12:12 PM||#3|
Join Date: Apr 2012
Thanks. That fixed it.
I was used to getting prompted for automatic updates, so I thought my app was up to date.
Oddly, I got the version 0.8.48 from checking 'get info' on the app in the Finder.
But the version at the bottom of calibre's preferences pane shower 0.8.49
I manually downloaded and installed a new version and they both show 0.8.49,
and the plugin works.
|04-28-2012, 12:22 PM||#4|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
The version calibre shows is the version of the source code you are running, that's why there will be a little asterisk next to the version number in calibre when you run from source.
|calibre, development, error, hello_world, plugin|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Calibre plugIn Kindle Collections Error message "Value Error:month..."||readee||Plugins||4||10-10-2011 12:21 PM|
|Plugin Developer Question||KevinH||Plugins||3||10-23-2010 09:17 PM|
|Error Adding Plugin||modkindle||Plugins||14||05-16-2010 01:14 PM|
|Error Customising PRS600 plugin||markbond1007||Plugins||0||01-11-2010 08:18 AM|