Closed GoogleCodeExporter closed 8 years ago
Really strange situation ...
Maybe some enconding problem ?
Could you try the latest version (0.5.0) ?
Or, if the problem remains, could you run wordmobi from source files ?
The howto is here:
http://code.google.com/p/wordmobi/wiki/FAQ
Source code is here:
http://wordmobi.googlecode.com/files/Wordmobi-0.5.0-src.zip
Thanks a lot !
Original comment by marcelobarrosalmeida
on 25 Feb 2009 at 1:26
Thanks for the reply. Could you please let me know where I could find the logs
after executing your source files? I tried running wordmobi from source files
(0.5.0) and the output is the same as mentioned above.
Original comment by Mingqing...@gmail.com
on 25 Feb 2009 at 1:46
Hmm... I saw error messages this time. Here's what I got:
...
e:\python\lib\posts.py
line 766, in refresh
line2=utf8_to_unicode(p['title']_
File "e:\python\lib\wmutil.py",line 35, in utf8_to_unicode return
unicode(s,'utf-
8',errors='ignore')
TypeError:decoding Unicode is not supported
I typed from the mobile phone screen, so maybe there're some type errors above.
But overall this shuld be ok to help identify the source of this problem. Looks
like an enconding problem. :)
Original comment by Mingqing...@gmail.com
on 25 Feb 2009 at 2:09
Unicode problem .... I already fixed this problem in version 0.6.0, to be
release in
the next days. Would you give it a try ? Or so you prefer a patch ?
For a patch, use the following wmutil.py:
http://code.google.com/p/wordmobi/source/browse/trunk/wordmobi/src/wmutil.py
It has a fix for utf8_to_unicode inside:
def utf8_to_unicode(s):
if isinstance(s, unicode):
return s
else:
return unicode(s,'utf-8',errors='ignore')
The attached sis is for python 0.4.5 and is not an official release yet.
Original comment by marcelobarrosalmeida
on 26 Feb 2009 at 12:25
Attachments:
BTW, I do not have any log file ... :-/
Original comment by marcelobarrosalmeida
on 26 Feb 2009 at 12:26
Awesome! 0.6.0 works pretty well fixing this issue. Great tool and support!
Thanks! :-)
Original comment by Mingqing...@gmail.com
on 26 Feb 2009 at 12:43
Nice ! I am waiting some translation before releasing this version. So, after
the
official release, try to use it.
If you have some free time:
http://code.google.com/p/wordmobi/wiki/TranslateWordMobi
Original comment by marcelobarrosalmeida
on 26 Feb 2009 at 7:19
[deleted comment]
Hi, seems I was too early to say it works with my wordpress. Something weird is
that sometimes it works fine to update the posts while sometimes there's still
error message pops up: "Impossible to update posts"... Could it be possible
with
a time racing issue with your code? It may need something crashes to identify
the
source of the problem since I tried running with source code and could not find
inner exception but "Impossible to update posts"...
PS: I'm happy to translate WordMobi with Simplified Chinese.Please let me know
if
there's still time for me to translate 0.6.0 before releasing this version. Or
I
could start to help with future release if you want. :-)
Original comment by Mingqing...@gmail.com
on 1 Mar 2009 at 3:10
Hi !
Quite difficult to say something about this error without further debugging.
How is your connection ? WiFi ? GPRS ? Do you think that this behavior is just a
consequence of timeout or overloaded network ?
Is it possible to add me as and additional author to your blog ? Just
temporarily, of
course. I will not touch anything, just check what is happening with post
updates. If
you can, send me login credential by email.
About translation: I will release 0.6.0 tomorrow. Is enough time ? If not,
don´t
worry, do at your time and we can generate a new build with Chinese support.
One day
more it is possible as well (due to time zone, in fact it is required ... :-D )
Original comment by marcelobarrosalmeida
on 2 Mar 2009 at 9:01
Original comment by marcelobarrosalmeida
on 2 Mar 2009 at 9:08
Hi !
Sorry about the long delay.
I had no problems when updating posts or categories using credentials that you
provided. I think we may have a network problem.
Please, use the attached wordpresslib file and run again from sources. An error
message will be displayed at your screen, indicating the problem.
I have used my wifi connection during the tests (adsl) and I couldn't test
using some
3g or gprs connection since I do not have this king of service in my contract.
Original comment by marcelobarrosalmeida
on 7 Mar 2009 at 12:28
Attachments:
Hmm... Still cannot see the error message when it fails...
Original comment by Mingqing...@gmail.com
on 9 Mar 2009 at 12:55
Ok, just one more test, I was not trapping all error messages, sorry.
Use update posts option. A dialog will be shown.
Original comment by marcelobarrosalmeida
on 9 Mar 2009 at 5:11
Attachments:
I saw error message this time. It's (0,'getaddrinfo failed')
Original comment by Mingqing...@gmail.com
on 10 Mar 2009 at 12:57
Nice. So, as I was suspecting, it is a network problem, outside my control
unfortunately. getaddrinfo() converts domain names in IPs, possibly indicating
some
name server problems or instability. Is it possible to use an IP instead name ?
Original comment by marcelobarrosalmeida
on 11 Mar 2009 at 12:47
Hey, im having a similar issue (impossible to update posts) with 0.6.0
I have a working internet connection and xmlrpc is enabled in wordpress and
working.
If the domain is being resolved into an ip address and being used that would be
the
problem - it's all vhosts and i dont have a dedicated ip address. I also dont
know
the actual path to my web directory so im guessing that's the problem. Could you
perhaps add an option for it not to resolve to ip?
Original comment by yumek...@gmail.com
on 11 Mar 2009 at 6:21
I suppose not. socket needs this IP for making the connection. This message
comes
from socket library, far from any possible intervention. Do you if this happens
with
both 1.4.5 and 1.9.2 versions ?
We may try to isolate the problem with some script. For instance, testing the
following request (and repeating it sometimes):
import urllib
furl = urllib.urlopen("http://blogaddress/xmlrpc.php")
contents = furl.read()
print contents
Original comment by marcelobarrosalmeida
on 11 Mar 2009 at 9:31
I meet similar issue but I can't even create post either. And message
(3,"Invalid
value of ai_flags") pops up before I can see "Impossible to update xxxx". And I
guess
maybe it's still caused by some encoding issue ... for I am using a third-parity
chinese input method to input those settings...Though I can't find any obvious
error
in setting I can't use wordmobi till now...
Original comment by shinem...@gmail.com
on 9 Apr 2009 at 2:59
Hello Shinemoon !
The problem seems related (DNS resolution).
From http://www.rt.com/man/getaddrinfo.3.html
DIAGNOSTICS
Error return status from getaddrinfo() is zero on success and non-zero on
errors. Non-zero error codes are defined in <netdb.h>, and as follows:
.....
EAI_BADFLAGS invalid value for ai_flags
.....
Could you do the test suggested in comment 18 or post here your blog address ?
Original comment by marcelobarrosalmeida
on 9 Apr 2009 at 7:25
[deleted comment]
In fact, I have try to reinstall wordmobi again, and after several trys, I
found my
issue is caused by the conflicts of wordmobi and my Chinese input method. So it
can
work after I unistalled this input method tool. Thanks!
Original comment by shinem...@gmail.com
on 14 Apr 2009 at 7:10
Original comment by marcelobarrosalmeida
on 2 May 2009 at 2:50
Original issue reported on code.google.com by
Mingqing...@gmail.com
on 22 Feb 2009 at 4:07