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)

frals 2010-05-27 09:54

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

Originally Posted by dmcconachie (Post 682171)
Screenshot attached, happens shortly after the "Resizing..." notification

Interesting. Still nothing in the log? Can you start fMMS from the terminal and attach any output here after trying to send?

Open X-terminal and type: /opt/fmms/fmms_gui.py

dmcconachie 2010-05-27 09:59

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

Originally Posted by frals (Post 682185)
Interesting. Still nothing in the log? Can you start fMMS from the terminal and attach any output here after trying to send?

Open X-terminal and type: /opt/fmms/fmms_gui.py

ok, here's the log now, no idea why it was virtually empty before. Seems to have a couple of fail points in there now:

2010-05-27 10:44:07,414 fmms.fmms_sender_ui: width 94
2010-05-27 10:44:07,416 fmms.fmms_sender_ui: height 94
2010-05-27 10:44:07,435 fmms.fmms_sender_ui: attachment: /home/user/MyDocs/cartoon sheep.jpeg message:
2010-05-27 10:44:08,126 fmms.connectors: RUNNING IN UGLYHACK MODE
2010-05-27 10:44:08,191 fmms.connectors: UglyHackHandler UP!
APN: wap.vodafone.co.uk user: wap pass: wap proxyip: 212.183.137.12 mmsc1: mms.vodafone.co.uk mmsc2: 0
2010-05-27 10:44:14,961 fmms.connectors: fmms_magic retcode: 0
2010-05-27 10:44:15,108 fmms.wappushhandler: connecting via proxy 212.183.137.12:8799
2010-05-27 10:44:15,110 fmms.wappushhandler: mmschost: http://mms.vodafone.co.uk/servlets/mms
2010-05-27 10:44:15,664 fmms.wappushhandler: Failed to send message.
Traceback (most recent call last):
File "/opt/fmms/wappushhandler.py", line 265, in sendMMS
(status, reason, outparsed, parsed) = self._sendMMS(customData)
File "/opt/fmms/wappushhandler.py", line 312, in _sendMMS
path = cont.save_binary_outgoing_mms(mms, self._mms.transactionID)
File "/opt/fmms/controller.py", line 176, in save_binary_outgoing_mms
os.makedirs(dirname)
File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 5] Input/output error: '/home/user/.fmms/sent/8620'
2010-05-27 10:44:15,686 fmms.connectors: UglyHackHandler running disconnect
2010-05-27 10:44:15,811 fmms.connectors: disconnecting connection. rx: 923 tx: 3643
2010-05-27 10:44:15,825 fmms.fmms_sender_ui: Sender failed.
Traceback (most recent call last):
File "/opt/fmms/fmms_sender_ui.py", line 316, in send_mms
(status, reason, output, parsed) = sender.sendMMS()
File "/opt/fmms/wappushhandler.py", line 265, in sendMMS
(status, reason, outparsed, parsed) = self._sendMMS(customData)
File "/opt/fmms/wappushhandler.py", line 312, in _sendMMS
path = cont.save_binary_outgoing_mms(mms, self._mms.transactionID)
File "/opt/fmms/controller.py", line 176, in save_binary_outgoing_mms
os.makedirs(dirname)
File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 5] Input/output error: '/home/user/.fmms/sent/8620'

dmcconachie 2010-05-27 10:09

Re: [Announce] fMMS - MMS on the N900
 
And the x-term output too if it helps:


$ /opt/fmms/fmms_gui.py
Traceback (most recent call last):
File "/opt/fmms/fmms_gui.py", line 240, in new_mms_button_clicked
fMMSSenderUI.fMMS_SenderUI(self.window).run()
File "/opt/fmms/fmms_sender_ui.py", line 150, in __init__
self.this_doesnt_exist()
AttributeError: 'fMMS_SenderUI' object has no attribute 'this_doesnt_exist'
/opt/fmms/fmms_sender_ui.py:198: GtkWarning: gtk_tree_selection_path_is_selected: assertion `path != NULL' failed
fcd = gobject.new(hildon.FileChooserDialog, action=gtk.FILE_CHOOSER_ACTION_OPEN)
/opt/fmms/fmms_sender_ui.py:198: GtkWarning: gtk_tree_selection_unselect_path: assertion `path != NULL' failed
fcd = gobject.new(hildon.FileChooserDialog, action=gtk.FILE_CHOOSER_ACTION_OPEN)
/opt/fmms/fmms_sender_ui.py:200: GtkWarning: gtk_tree_selection_path_is_selected: assertion `path != NULL' failed
ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:200: GtkWarning: gtk_tree_selection_unselect_path: assertion `path != NULL' failed
ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:200: Warning: IA__g_object_get_valist: object class `HildonFileSystemSettings' has no property named `hour24'
ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:209: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
fcd.destroy()
/opt/fmms/fmms_gui.py:444: Warning: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/opt/fmms/fmms_gui.py:444: Warning: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/opt/fmms/fmms_gui.py:444: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
gtk.main()
+ id -u
+ [ 29999 != 0 ]
+ exec sudo /opt/fmms/fmms_magic START gprs0 10.3.115.231 mms.vodafone.co.uk 0 10.206.65.68 212.183.137.12
+ id -u
+ [ 0 != 0 ]
+ [ START == START ]
+ do_start gprs0 10.3.115.231 mms.vodafone.co.uk 0 10.206.65.68 212.183.137.12
+ REPLACER=/usr/bin/cut -d. -f1-3
+ STARTIFACE=/sbin/ifconfig gprs0 10.3.115.231 up
+ /bin/echo 10.206.65.68
+ /usr/bin/cut -d. -f1-3
+ DNSIP=10.206.65.0
+ ROUTETODNS=/sbin/route add -net 10.206.65.0 netmask 255.255.255.0 gprs0
+ GETMMSCHOST=/usr/bin/nslookup mms.vodafone.co.uk 10.206.65.68
+ /sbin/ifconfig gprs0 10.3.115.231 up
+ /sbin/route add -net 10.206.65.0 netmask 255.255.255.0 gprs0
+ /usr/bin/nslookup mms.vodafone.co.uk 10.206.65.68
+ /usr/bin/tail -n1
+ /usr/bin/cut -d -f3
nslookup: can't resolve 'mms.vodafone.co.uk'
+ MMSC=
+ /bin/echo
+ /usr/bin/cut -d. -f1-3
+ MMSCIP1=.0
+ [ 0 != 0 ]
+ MMSCIP2=0
+ [ 212.183.137.12 != 0 ]
+ GETPROXYHOST=/usr/bin/nslookup 212.183.137.12 10.206.65.68
+ /usr/bin/nslookup 212.183.137.12 10.206.65.68
+ /usr/bin/tail -n1
+ /usr/bin/cut -d -f3
+ PROXYIP=212.183.137.12
+ echo 212.183.137.12
+ /usr/bin/cut -d. -f1-3
+ PROXYIP=212.183.137.0
+ [ 212.183.137.0 != 0 ]
+ ROUTETOPROXY=/sbin/route add -net 212.183.137.0 netmask 255.255.255.0 gprs0
+ /sbin/route add -net 212.183.137.0 netmask 255.255.255.0 gprs0
+ ROUTE1=/sbin/route add -net .0 netmask 255.255.255.0 gprs0
+ /sbin/route add -net .0 netmask 255.255.255.0 gprs0
route: resolving .0
+ [ .0 != 0 ]
+ [ 0 != 0 ]
+ exit 0
+ id -u
+ [ 29999 != 0 ]
+ exec sudo /opt/fmms/fmms_magic STOP gprs0
+ id -u
+ [ 0 != 0 ]
+ [ STOP == START ]
+ [ STOP == STOP ]
+ do_stop gprs0
+ echo gprs0
gprs0
+ STOPIFACE=/sbin/ifconfig gprs0 down
+ /sbin/ifconfig gprs0 down
+ exit 0

Dexter1759 2010-05-27 10:15

Re: [Announce] fMMS - MMS on the N900
 
Hi,

I have tried fMMS before (think it was version 1.0.1!) with no luck, and thought I'd give it another go today!

I decided to start fresh and removed the MMS APN (for T-mobile UK) that fMMS had created before.

To do this I installed fAPN, and deleted the MMS APN.

From here, I re-installed fMMS (1.0.3), and now I type in all the details for the APN, in fMMS. Select Save, but the APN isn't listed in my connections list!

But I can see it if I run the following from the terminal;

gconftool-2 -R /system/osso/connectivity/IAP

So I removed that APN as per this post .

At this point I had no MMS APN's and had fAPN installed and fMMS installed.

I tried setting up an APN in fAPN, with the settings found here.

This is listed in my connections list and does connect, it even lets me browse the web whilst connected, so it is a working connection.

But fMMS cannot "see" this connection. I also notice that setting up an APN using fAPN, doesn't allow anywhere to enter the mmsc URL.

Basically, I'm very stuck and would love to be able to use this app, but can't!

I'd appreciate some help please.

Many thanks,
Dex

PS. forgot to add, I current have no APN's set up and am completely uninstalling fMMS & fAPN, to start again from scratch, is there anything else I can remove? Any files that won't get removed during un-install? I have root access through WinSCP, if that helps!

frals 2010-05-27 10:28

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

Originally Posted by dmcconachie (Post 682194)
ok, here's the log now, no idea why it was virtually empty before. Seems to have a couple of fail points in there now:

File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 5] Input/output error: '/home/user/.fmms/sent/8620'

I'm not sure, but it sounds like your filesystem is messed up :/

@Dexter1759:
Quote:

Originally Posted by The first post
Reset all settings:
gconftool-2 -R /apps/fmms|grep apn
Should return: apn = xxxx
gconftool-2 --recursive-unset /system/osso/connectivity/IAP/xxxx
gconftool-2 --recursive-unset /apps/fmms


dmcconachie 2010-05-27 10:31

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

Originally Posted by frals (Post 682251)
I'm not sure, but it sounds like your filesystem is messed up :/

Would explain a few things, as per my twitter message I suspected the eMMC had somehow got a little bent out of shape!

Looks like this afternoon will be spent reflashing. Again!

Will let you know if/when I get back up and running! Am I right in saying I no longer need to use fAPN to create the MMS settings?

frals 2010-05-27 10:48

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

Originally Posted by dmcconachie (Post 682257)
Would explain a few things, as per my twitter message I suspected the eMMC had somehow got a little bent out of shape!

Looks like this afternoon will be spent reflashing. Again!

Will let you know if/when I get back up and running! Am I right in saying I no longer need to use fAPN to create the MMS settings?

Yes, fMMS handles all that automatically on a fresh install :)

Dexter1759 2010-05-27 10:48

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

Originally Posted by frals (Post 682251)
@Dexter1759:

Many thanks, don't know how I missed that in the first post. Searched for those sort of terms too!

Managed to send myself a picture message successfully too!

Thanks for such a great piece of software. Only two things could make this better now, integration with Conversations and an option to send a photo via MMS directly from the photo app (via the share menu).

Once again, thanks for you help and a great app.

[Edit] It now seems that my default T-Mobile connection has been deleted! Guess I'll have to do a restore from a backup to fix it!

frals 2010-05-27 11:02

Re: [Announce] fMMS - MMS on the N900
 
Set fMMS to havoc and do a reboot and the t-mo inet connection should be restored.


share -> share via service -> mms is already there :)

dmcconachie 2010-05-27 12:01

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

Originally Posted by frals (Post 682341)
share -> share via service -> mms is already there :)

Not there for me, but then could well be a symptom of my borked file system I suppose!


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

vBulletin® Version 3.8.8