You are viewing the community [info]ljdump

ljdump Users Group [entries|archive|friends|userinfo]
ljdump Users Group

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

ljdump can retrieve comments once again [Nov. 3rd, 2011|09:53 pm]

ron_newman
At least it did for me, just now. If you've had trouble recently, try it again today.
link3 comments|post comment

ljdump 1.5.1 fails with HTTP error 405 [Nov. 2nd, 2011|08:58 am]

matveyp
ljdump v1.5.1 fails. This is what I get:

$ ./ljdump.py
Fetching journal entries for: *********
Traceback (most recent call last):
  File "./ljdump.py", line 370, in <module>
    ljdump(server, username, password, username)
  File "./ljdump.py", line 132, in ljdump
    ljsession = getljsession(Server, Username, Password)
  File "./ljdump.py", line 60, in getljsession
    r = urllib2.urlopen(server+"/interface/flat", "mode=getchallenge")
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 405: Method Not Allowed

Anyone else having this problem?
link2 comments|post comment

(no subject) [Oct. 28th, 2011|11:47 am]

the_xtina
Two different errors, now. )
link3 comments|post comment

What does "405 Method Not Allowed" error mean? [Oct. 27th, 2011|12:44 am]

ron_newman
I'm getting this error when I run ljdump. This has never happened to me before. What do I need to do to fix it?

Python traceback behind cut )
link5 comments|post comment

(no subject) [Aug. 22nd, 2011|04:20 pm]

suraimu
Trying to use LJdump on Windows - I get this error:
C:\Utils\ljdump>ljdump.py
  File "C:\Utils\ljdump\ljdump.py", line 125
    print "Fetching journal entries for: %s" % Journal
                                           ^
SyntaxError: invalid syntax

C:\Utils\ljdump>
I've tried with ljdump.config being set up, I've tried renaming it so that maybe it would force-ask me each time - I even tried running it from an admin-empowered command prompt. Same error each time. Anyone know what the deal is? Thanks.
link4 comments|post comment

getting an error from LJ (ljprotocol.py), how to address? [Aug. 20th, 2011|09:49 am]

khyron

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!

link8 comments|post comment

Dumping somebody else's journal [Aug. 5th, 2011|10:35 am]

red_valjok
Why it is not provided?
link1 comment|post comment

Connection Error? [Aug. 1st, 2011|04:09 pm]

lease
I'm on a Mac (10.6) and getting the following error:


Fetching journal entries for: lease
Traceback (most recent call last):
File "./ljdump.py", line 390, in
ljdump(server, username, password, username)
File "./ljdump.py", line 132, in ljdump
ljsession = getljsession(Server, Username, Password)
File "./ljdump.py", line 60, in getljsession
r = urllib2.urlopen(server+"/interface/flat", "mode=getchallenge")
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 383, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 401, in _open
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1130, in http_open
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1105, in do_open
urllib2.URLError:
link1 comment|post comment

problem getting userpics [May. 27th, 2011|11:13 am]

aryanhwy
Well, it's not really a problem because I haven't added any new user pics in a few years, but I just ran ljdump (1.3.1), and when it reached the point of getting new user pics, I got this error:

Fetching userpics for: aryanhwy
Traceback (most recent call last):
File "./ljdump.py", line 285, in
pic = urllib2.urlopen(userpics[p])
File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1173, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1148, in do_open
raise URLError(err)
urllib2.URLError:


Any thoughts?
link10 comments|post comment

ljdump just hangs. how do I diagnose and fix? [Apr. 6th, 2011|06:54 pm]

ron_newman
I'm trying to use ljdump.py, as I have many times before without problems, but now it is hanging right after it says

Fetching journal entries for: davis_square

If I interrupt with control-C, it is stuck at line 168:

r = server.LJ.XMLRPC.syncitems(dochallenge(server, {
'username': Username,
'ver': 1,
'lastsync': lastsync,
'usejournal': Journal,
}, Password))


How can I fix this?
link5 comments|post comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]