marcelobarrosufu / wordmobi

Automatically exported from code.google.com/p/wordmobi
0 stars 0 forks source link

Can't write/ edit some posts #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. no special steps - happens all the time
2.
3.

What is the expected output? What do you see instead?
It's just not possible to write or update a post with Wordmobi. Everytime 
I try it I get an error (using german language on my mobile, translated 
text is like: Post not updated. Try again later). Same issue is with 
pictures (Picture not uploaded. Try again later). Works neither over WLAN 
nor over GPRS.

What version of the product are you using? On what operating system?
Using Wordmobi 0.9.2 Preview2 with Python 1.9.7 on Nokia E71 with Firmware 
300.21.012. Also had this problem with 0.9.1 on earlier firmwares. 

Please provide any additional information below.
It's no problem to retrieve the posts and statistics. 

Original issue reported on code.google.com by daclaus....@gmail.com on 13 Aug 2009 at 10:26

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
The error is

"not well formed (invalid-token): line 170, column 11"

Debugging ...

Original comment by marcelobarrosalmeida on 17 Aug 2009 at 8:48

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by marcelobarrosalmeida on 7 Sep 2009 at 12:34

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Claus, if you can give it a try....

Original comment by marcelobarrosalmeida on 3 May 2010 at 1:20