Open GoogleCodeExporter opened 9 years ago
Halo Declaus
It is very strange. If you can log and list all post, the xml-rpc interface,
password, users and so on were validated. To create a new post is just another
remote
procedure call and it should work as well.
Just guessing:
1) Are you admin at your blog, right ?
2) Wordpress version is up to date, right ?
3) May we have some locale problem ?
How about to create an additional admin account for me in your blog and send me
these
credentials for tests ? I just will check what is happening from my fone, your
blog
will not be changed. In such cases, it is the only escape.
Mail me: marcelobarrosalmeida (_at_) gmail.com
Original comment by marcelobarrosalmeida
on 14 Aug 2009 at 12:55
Hi Marcelo,
1) yes, I'm an (the only) admin
2) it's not a hosted blog, I'm blogging directly on wordpress.com
3) don't know
just tried it on an E75 with 0.9.2 and Python 1.9.7, same problem. Do I also
have to
install the Python script shells?
I've set you up as an admin. .
Original comment by daclaus....@gmail.com
on 17 Aug 2009 at 7:59
Thanks. It is not working from my phone as well. I will debug it soon and give
you
some feedback, ok ?
Original comment by marcelobarrosalmeida
on 17 Aug 2009 at 8:33
The error is
"not well formed (invalid-token): line 170, column 11"
Debugging ...
Original comment by marcelobarrosalmeida
on 17 Aug 2009 at 8:48
Traceback (most recent call last):
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\ap
puifw.py", line 306, in OnSelect
self.callback()
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\po
sts.py", line 820, in check_popup_menu
self.popup_menu()
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\po
sts.py", line 838, in popup_menu
map(lambda x: x[1], menu)[op]()
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\po
sts.py", line 853, in update
BLOG.update_posts_cats_and_tags()
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\wp
wrapper.py", line 168, in update_posts_cats_and_tags
posts = self.blog.getRecentPostTitles(self.num_posts)
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\wo
rdpresslib.py", line 244, in getRecentPostTitles
postTitles = self._server.mt.getRecentPostTitles(self.blogId, self.user,self
.password, numPosts)
File "c:\Python25\lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "c:\Python25\lib\xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "C:\Documents and Settings\Marcelo\Desktop\Projects\PyS60\wordmobi\src\wm
proxy.py", line 38, in request
return self.parse_response(f)
File "c:\Python25\lib\xmlrpclib.py", line 1309, in parse_response
return self._parse_response(file, None)
File "c:\Python25\lib\xmlrpclib.py", line 1335, in _parse_response
p.feed(response)
File "c:\Python25\lib\xmlrpclib.py", line 547, in feed
self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 170, column
11
Original comment by marcelobarrosalmeida
on 17 Aug 2009 at 9:08
The answer from wordpress is completley crazy. I don't know yet if it is a bug
in xml
parser/xmlrpclib (python modules) or in wordpress. I am still evaluating.
Original comment by marcelobarrosalmeida
on 17 Aug 2009 at 9:16
false alarm ... I was using the wrong blog name, declaus instead
daclaus.wordpress.com.
Everything seems to work.
Original comment by marcelobarrosalmeida
on 18 Aug 2009 at 3:37
The problem only happens from phone. My emulation in PC is working
fine. I could detect the exception and it seems that we have a bug in
python interpreter (not in wordmobi). I am thinking yet how to solve
this issue. I will compare PC and phone versions of xmlrpclib.py and
try to solve this issue.
Traceback (most recent call last):
File "e:\python\wordmobi\wpwrapper.py", line 366, in edit_post
npost = self.blog.editPost(post.id, post, publish)
File "e:\python\wordmobi\wordpresslib.py", line 386, in editPost
result = self._server.metaWeblog.editPost(postId, self.user,
self.password, blogcontent, 0)
File "newcore\Lib\xmlrpclib.py", line 1147, in __call__
File "newcore\Lib\xmlrpclib.py", line 1437, in __request
File "newcore\Lib\xmlrpclib.py", line 1201, in request
File "newcore\Lib\xmlrpclib.py", line 1340, in _parse_response
File "newcore\Lib\xmlrpclib.py", line 787, in close
Fault: <Fault -32700: 'parse error. not well formed'>
Original comment by marcelobarrosalmeida
on 7 Sep 2009 at 12:25
Original comment by marcelobarrosalmeida
on 7 Sep 2009 at 12:34
Note: I tried to use xmlrpclib.py from PC (Python 2.5) but it didnt solve the
problem.
Original comment by marcelobarrosalmeida
on 8 Sep 2009 at 12:39
Did you solve the problem at last? Yesterday I was able to edit and upload a
post
(written on the PC) with my N97 using Wordmobi 0.9.3 and Python 1.9.6.
It was quite a small post, but even that didn't workk in the past.
Original comment by daclaus....@gmail.com
on 21 Oct 2009 at 8:49
No Claus. This problem seems to be far from wordmobi. Since I rolled wordmobi
back
due to some severe bugs in PyS60 1.9.7 and you are saying that 1.9.6 + wordmobi
is
working, I think the problem is related to pys60n1.9.7 (remember that I tested
xmlrpclib using a PC version and wordmobi crashed too - python from s60 1.9.7).
I will keep this bug open for a while until the next pys60 release at least.
Original comment by marcelobarrosalmeida
on 22 Oct 2009 at 3:33
Change your theme to default and try again.
I know, makes no sense. Do it.
Original comment by n4th4nr...@gmail.com
on 29 Apr 2010 at 5:40
Claus, if you can give it a try....
Original comment by marcelobarrosalmeida
on 3 May 2010 at 1:20
Original issue reported on code.google.com by
daclaus....@gmail.com
on 13 Aug 2009 at 10:26