Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2018, 12:35 AM   #1
wrench100
Member
wrench100 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2018
Device: Kindle
Suddenly getting an error with XMLRPC

Hi,

I've been using a custom plug-in for several months –*it lets me automatically create and manage wordpress posts from Calibre. I made a simple change to it today and started getting an error, so I restored to a previous, working version, but I'm getting the same error.

It's happening any time I call base.Client, like this:

wp = base.Client('http://myURL.com/xmlrpc.php','myusername','mypassword')

Here's the traceback:

File "calibre_plugins.sbl_manager.main", line 189, in unshelveBooks
File "calibre_plugins.sbl_manager.wordpress_xmlrpc.base ", line 25, in __init__
File "lib/python2.7/xmlrpclib.py", line 1243, in __call__
File "lib/python2.7/xmlrpclib.py", line 1602, in __request
File "lib/python2.7/xmlrpclib.py", line 1283, in request
File "lib/python2.7/xmlrpclib.py", line 1316, in single_request
File "lib/python2.7/xmlrpclib.py", line 1487, in parse_response
File "lib/python2.7/xmlrpclib.py", line 558, in feed
ExpatError: XML or text declaration not at start of entity: line 3, column 0

At this point, I'd just like to get the old, working version working again, but I'm totally stumped! I did no updates to Calibre or the OS.

Thanks
wrench100 is offline   Reply With Quote
Old 11-05-2018, 03:23 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,732
Karma: 10215946
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
that just indicates the XML you are getting from the server is malformed, nothing to do with calibre as far as I can tell.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-05-2018, 10:44 AM   #3
wrench100
Member
wrench100 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2018
Device: Kindle
Okay, thanks. I’ll try restoring the server to a previous day and see if that fixes it.
wrench100 is offline   Reply With Quote
Reply

Tags
wordpress, xmlrpc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch WiFi "Network Error" suddenly occurs CWPitcher Kobo Reader 24 10-07-2011 03:01 PM
Kindle suddenly crashing often ficbot Amazon Kindle 13 07-17-2011 10:21 PM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 05:09 PM
NC Suddenly wakes up botyok Nook Developer's Corner 2 01-10-2011 08:40 PM
PRS-505 Suddenly cratered!! petercreasey Sony Reader 8 05-11-2010 03:22 PM


All times are GMT -4. The time now is 10:29 PM.


MobileRead.com is a privately owned, operated and funded community.