Tags: client: python

  • pauamma

Net::HTTP::Spore for multiple-service clients

Been a while since we haven't had a discussion here that didn't revolve around "foo is broken!" or "how does bar work?" so I decided to throw this in for discussion:

Has anyone tried using the SPORE specification, Net::HTTP::Spore, or any of the other implementations (Ruby, Python, and PHP IIRC) to implement similar-but-not-identical clients for services based on LiveJournal or Dreamwidth? Any opinion of the modules themselves (if you've used them) or the spec and APIs (if you only read the docs) you'd like to share?
khyron
  • khyron

"couldn't retrieve anum" error when using XML-RPC

I've been unsucsessfully trying to extract my LJ content into a wordpress.com account using their import tool. The wordpress.com web form accepts my username and password and appears to successfully authenticate with LJ, but then immediately spits out an XML-RPC error. The same exact error is being reported by ljdump (most recent version, 1.5.1) when I run it on the command line on my Snow Leopard machine:

couldn't retrieve anum for entry at /home/lj/cgi-bin/ljprotocol.pl line 3952

If I understand this correctly, this appears to be an issue with LJ itself, correct? If so, what's the proper procedure for reporting this in the most helpful possible way?

I've been able to completely back up my journal using XJournal, but I don't know if the XML it produces (the .plist file) is actually of use to a wordpress.com importer, plus it does not appear to grab comments. I definitely want to preserve my comments.

Thanks in advance for any help!

Did the posting API change?

I still use 'sclj', an unmaintained Python command-line LJ client, to post my entries. As of a few weeks ago - I don't know when exactly - entries more than a few lines long are being cut off for some reason. I don't think anything changed on my local machine; and I don't see any errors.


I can reproduce the problem, but I'm not really sure what to do about it. Besides, of course, gripe about it here.