Quote:
Originally Posted by eschwartz
Because there is no linux client. 
|
Maybe, but it is long overdue.
Quite some time ago, I wondered why a python plugin would not work under linux when calibre itself works under linux.
I unzipped the plugin, looked around, and found an if/else structure that had one block for windows and another block for osX. The contents of the osX block looked to me like they would run fine in linux.
I am not a python programmer, so I wrote a tiny python script to find out what the return string on my box is for the OS query. I substituted that into the osX portion and zipped the files back into the plugin. The plugin worked!
Of course a true fix would be written so that all three situations would be handled, but I did not care to spend the time learning enough python to do so, no matter how little that might have been.
Please note that the nature of this problem and its fix has nothing to do with the tasks performed by the code and would apply to any code written to work on microsoft and apple computers where the osX "specific" code would work under linux but does not get the chance to try.
I tried to report my finding in a thread here complaining about it not working in linux and got soundly reprimanded over some idiomatic irrelevancy in return without any consideration that just maybe I had information to contribute.
Quote:
Originally Posted by eschwartz
True, you can try running it under WINE. No guarantees, though.
|
Part of the thrashing I got was that of course it runs under linux because it runs under WINE. Apparently I was supposed to write about it running natively under linux, a phrase that I had never noticed in 20 years of linux use.