Closed GoogleCodeExporter closed 8 years ago
That looks like duplicate of the second part of issue #14
Though, I have seen "long" instead of "int".
Original comment by mathemonkey
on 15 Jan 2009 at 6:39
> I have seen "long" instead of "int".
it may depend on python version, i have 2.5.2
Original comment by Kostya.H...@gmail.com
on 15 Jan 2009 at 6:54
I had
«54308428790203478762340052723346983453487023489987231275412390872348475» as
subject of the post, so I it did not fit into `int'.
Maybe I should try «42», I assume it fits into `int'.
$ python
Python 2.5.2 (r252:60911, Oct 28 2008, 15:30:26)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
>>>
type(int('5430842879020347876234005272334698345348702348998723127541239087234847
5'))
<type 'long'>
>>> type(int('42'))
<type 'int'>
Original comment by mathemonkey
on 15 Jan 2009 at 7:33
Hi there.
I've added r63 which does the appropriate conversions from X to a string value
before
adding it to the Blogger GData object. The subject, body, and tags may be
returned
from the LiveJournal XML-RPC call as integers or longs, as you have discovered.
Please give r63 a try and let me know if it fixes your errors.
Original comment by jlu...@gmail.com
on 15 Jan 2009 at 7:42
script printed xml after few minutes, no unhandled exceptions. looks like issue
was
fixed.
Original comment by Kostya.H...@gmail.com
on 16 Jan 2009 at 7:29
Original comment by jlu...@gmail.com
on 18 Jan 2009 at 9:30
Original issue reported on code.google.com by
Kostya.H...@gmail.com
on 15 Jan 2009 at 6:33