Active Topics

 



Notices


Reply
Thread Tools
Posts: 38 | Thanked: 4 times | Joined on Mar 2010 @ Sweden
#211
Tested in PR 1.2 and work Great!!!!!!! thanks!!!!!!!!!
 
Posts: 3 | Thanked: 2 times | Joined on May 2010 @ Japan
#212
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
 

The Following 2 Users Say Thank You to kenya888 For This Useful Post:
Posts: 547 | Thanked: 1,383 times | Joined on Sep 2009 @ Stockholm, Sweden
#213
Originally Posted by kenya888 View Post
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!)
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->
 

The Following User Says Thank You to frals For This Useful Post:
Posts: 3 | Thanked: 2 times | Joined on May 2010 @ Japan
#214
Originally Posted by frals View Post
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!!
 
Posts: 547 | Thanked: 1,383 times | Joined on Sep 2009 @ Stockholm, Sweden
#215
Originally Posted by kenya888 View Post
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
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->
 

The Following 3 Users Say Thank You to frals For This Useful Post:
Posts: 34 | Thanked: 16 times | Joined on Feb 2010 @ England Uk
#216
Much apprciated frals working perect

Originally Posted by frals View Post
Sorry it took so long, but 1.0.7 is uploaded now which has reverted to text_factory = str
 
dmcconachie's Avatar
Posts: 117 | Thanked: 18 times | Joined on Dec 2009 @ Edinburgh
#217
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

!?
 
Posts: 547 | Thanked: 1,383 times | Joined on Sep 2009 @ Stockholm, Sweden
#218
Weird that nothing is logged about it, can you screenshot the error when it happens?
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->
 
dmcconachie's Avatar
Posts: 117 | Thanked: 18 times | Joined on Dec 2009 @ Edinburgh
#219
Originally Posted by frals View Post
Weird that nothing is logged about it, can you screenshot the error when it happens?
Screenshot attached, happens shortly after the "Resizing..." notification
Attached Images
 
 
Posts: 1 | Thanked: 0 times | Joined on May 2010
#220
finally figured out my settings and successfully i could send an mms but not receving any.. wat can possibly gone wrong.. plz help
 
Reply

Tags
bada rox, bada rulez, fmms, mms, mms config, n900, python


 
Forum Jump


All times are GMT. The time now is 16:40.