maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] fMMS - MMS on the N900 (https://talk.maemo.org/showthread.php?t=51890)

marioaguado 2010-05-25 17:12

Re: [Announce] fMMS - MMS on the N900
 
Tested in PR 1.2 and work Great!!!!!!! thanks!!!!!!!!!

kenya888 2010-05-25 19:38

Re: [Announce] fMMS - MMS on the N900
 
Hi frals thank you for developing such a good application:-) I'd like to report a issue with decoding headers including Japanese.

fmms can't downlad msg when From header contains Japanese characters encoded with utf8.

/tmp/fmms.log is af following...

----

2010-05-26 02:50:01,349 fmms.__main__: Failed to open viewer with transaction id: BBAAAG5Rc7WgmEB0lXt6yAhXAEgbAAAAAAAAAAAA
Traceback (most recent call last):
File "/opt/fmms/fmms_gui.py", line 415, in show_mms
fMMSViewer.fMMS_Viewer(transactionid, spawner=self)
File "/opt/fmms/fmms_viewer.py", line 53, in __init__
self._parse_mms(fname, vbox)
File "/opt/fmms/fmms_viewer.py", line 213, in _parse_mms
headerlist = self.cont.get_mms_headers(filename)
File "/opt/fmms/controller.py", line 252, in get_mms_headers
return self.store.get_mms_headers(transactionid)
File "/opt/fmms/dbhandler.py", line 395, in get_mms_headers
for line in c:
OperationalError: Could not decode to UTF-8 column 'value' with text '��8�Takahiro xxx <sleepy_ragedy_ann@xxx.jp>'
---

I investigate its root cause, I guess it is an issue of pysqlite decoding utf8.

I can download mms msg correctly by changing dbhandler.py as following.

---
(orig)
self.conn.text_factory = sqlite3.OptimizedUnicode
(fixed)
self.conn.text_factory = str
----

Could you consider merging this fix?

regards.

kenya888

frals 2010-05-25 20:33

Re: [Announce] fMMS - MMS on the N900
 
Quote:

Originally Posted by kenya888 (Post 676870)
Hi frals thank you for developing such a good application:-) I'd like to report a issue with decoding headers including Japanese.

fmms can't downlad msg when From header contains Japanese characters encoded with utf8.

/tmp/fmms.log is af following...

---
(orig)
self.conn.text_factory = sqlite3.OptimizedUnicode
(fixed)
self.conn.text_factory = str
----

Could you consider merging this fix?

regards.

kenya888

Cheers, will include it in the next update. Regression in last version I'm afraid, I was under the impression that OptimizedUnicode would be better but appear I was wrong. Thanks again for reporting (and fixing!) :)

kenya888 2010-05-25 21:37

Re: [Announce] fMMS - MMS on the N900
 
Quote:

Originally Posted by frals (Post 677022)
Cheers, will include it in the next update. Regression in last version I'm afraid, I was under the impression that OptimizedUnicode would be better but appear I was wrong. Thanks again for reporting (and fixing!) :)

Thx for your quick reply and planing of update :) I'm glad to contribute to you!! :)

frals 2010-05-26 21:27

Re: [Announce] fMMS - MMS on the N900
 
Quote:

Originally Posted by kenya888 (Post 677159)
Thx for your quick reply and planing of update :) I'm glad to contribute to you!! :)

Sorry it took so long, but 1.0.7 is uploaded now which has reverted to text_factory = str :)

Digicom 2010-05-26 22:08

Re: [Announce] fMMS - MMS on the N900
 
Much apprciated frals working perect ;)

Quote:

Originally Posted by frals (Post 680821)
Sorry it took so long, but 1.0.7 is uploaded now which has reverted to text_factory = str :)


dmcconachie 2010-05-27 09:26

Re: [Announce] fMMS - MMS on the N900
 
Can't seem to get this working. Can add an image and recipient but on pressing send it gives me an I/O error. Log file has only 1 line:

2010-05-27 09:08:19,530 fmms.contacts: loaded contacthandler in 0.08 s
2010-05-27 09:08:26,251 fmms.__main__: liststore time: 0.2

!?

frals 2010-05-27 09:41

Re: [Announce] fMMS - MMS on the N900
 
Weird that nothing is logged about it, can you screenshot the error when it happens?

dmcconachie 2010-05-27 09:47

Re: [Announce] fMMS - MMS on the N900
 
1 Attachment(s)
Quote:

Originally Posted by frals (Post 682153)
Weird that nothing is logged about it, can you screenshot the error when it happens?

Screenshot attached, happens shortly after the "Resizing..." notification

djwalley 2010-05-27 09:50

Re: [Announce] fMMS - MMS on the N900
 
finally figured out my settings and successfully i could send an mms but not receving any.. wat can possibly gone wrong.. plz help


All times are GMT. The time now is 04:10.

vBulletin® Version 3.8.8