On Mon, Aug 1, 2011 at 05:06, Sascha Peilicke <saschpe@gmx.de> wrote:
On Sunday 31 July 2011 16:31:51 Filipe Pires Alvarenga Fernandes wrote:
Hi,
I read some time ago a thread about calibre and python 2.7.1 on opensuse 11.4, unfortunately I deleted that e-mail and missed the thread. [...] ... or some more skilled than I could made a real patch :-) I hope this isn't accepted, it solves nothing. While trying to find the issue, I immediatly stumbled upon this (calibre/src/calibre/linux.py):
def options(option_parser): parser = option_parser() ...
So that's a calibre bug. Anyways, you're trying to code around http://bugs.python.org/issue9161, which is indeed a regression in the optparse module. As calibre subclasses optparse.OptionParser, you may just want to fix the offending method by re-defining it (with it's python-2.7.1 version). See the attached patch or submit request sr#77540.
Great, a real fix. Hope to see calibre 0.8x soon then.
Updating Python in openSUSE-11.4 is another option...
Mit freundlichen Grüßen, Sascha Peilicke
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org