View Single Post
Old 08-02-2015, 07:00 AM   #515
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,185
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
I have been rebuilt the latest libimobiledevice source for Windows. However it no longer works with the latest Calibre 2.33:

Code:
calibre, version 2.33.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more.

Traceback (most recent call last):
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\gui2\main.py", line 273, in initialize_db_stage2
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\gui2\main.py", line 213, in start_gui
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\gui2\ui.py", line 237, in initialize
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\gui2\layout.py", line 288, in init_main_window_mixin
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\gui2\actions\fetch_news.py", line 31, in init_scheduler
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\gui2\dialogs\scheduler.py", line 439, in __init__
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\web\feeds\recipes\model.py", line 144, in __init__
  File "D:\Users\ShellShock\Documents\GitHub\calibre\src\calibre\web\feeds\recipes\collection.py", line 99, in get_builtin_recipe_collection
  File "lxml.etree.pyx", line 3239, in lxml.etree.parse (src\lxml\lxml.etree.c:69970)
  File "parser.pxi", line 1749, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:102081)
  File "parser.pxi", line 1775, in lxml.etree._parseDocumentFromURL (src\lxml\lxml.etree.c:102345)
  File "parser.pxi", line 1679, in lxml.etree._parseDocFromFile (src\lxml\lxml.etree.c:101380)
  File "parser.pxi", line 1110, in lxml.etree._BaseParser._parseDocFromFile (src\lxml\lxml.etree.c:96832)
  File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:91290)
  File "parser.pxi", line 683, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:92476)
  File "parser.pxi", line 633, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:91939)
XMLSyntaxError: None
I suspect that the new libimobiledevice libplist has introduced breaking changes in respect to the Calibre lxml library (for which I don't have the source code). Note, this error occurs during Calibre startup, before it even gets as far as iosra.

Assuming we fix this problem (by making changes in Calibre), I cannot see anything in the latest libimobiledevice code to suggest it can get round the enhanced security introduced by Apple in IOS 8.3. In short, I am not hopeful, and debating whether it is even worth spending any more effort on this: first we would have to change the Calibre lxml library to work with the latest libplist (no idea how long that would take), with little prospect that we would then be able to circumvent the Apple security changes in IOS 8.3.
ShellShock is offline   Reply With Quote