maemo.org - Talk

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

Watergate 2010-01-18 16:47

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by frals (Post 480107)
Could you start /opt/fmms/fmms_sender_ui.py from the terminal and attach the output after trying to send a message in a PM to me?



This (usually) means that you are not allowed to use this MMSC - most likely wrong settings or not MMS-enabled account.

Just to be sure, please attach the output after running /opt/fmms/fmms_sender_ui.py in a PM to me and I'll have a closer look at the error message


Thanks everyone for testing! I've mailed the bugzilla guys asking for a proper bugzilla, so hopefully we can use that soon(tm) ;)

Hi Frals.

Here is the first log without proxy set.

/opt/fmms/fmms_sender_ui.py
/opt/fmms/fmms_sender_ui.py:160: GtkWarning: Invalid icon size 0

ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:160: Warning: IA__g_object_get_valist: object class `HildonFileSystemSettings' has no property named `hour24'
ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:299: Warning: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/opt/fmms/fmms_sender_ui.py:299: Warning: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/opt/fmms/fmms_sender_ui.py:299: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/home/user/MyDocs/DCIM/20091219_002.jpg
200
True
height 1936
width 2576
resizing
Resizing image: 200 * 150
+4551xxxxxxx /home/user/.fmms/temp/20091219_002.jpg 51xxxxxxx Test 1
GOT SENDER: +4551xxxxxxxx
connecting without proxy
mmschost: 192.168.241.114:8002 path: / pathlen: 1
(110, 'Connection timed out')
Traceback (most recent call last):
File "/opt/fmms/fmms_sender_ui.py", line 252, in send_mms
(status, reason, output) = sender.sendMMS()
File "/home/opt/fmms/wappushhandler.py", line 300, in sendMMS
conn.request('POST', path , mms, headers)
File "/usr/lib/python2.5/httplib.py", line 866, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.5/httplib.py", line 889, in _send_request
self.endheaders()
File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/usr/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.5/httplib.py", line 683, in connect
raise socket.error, msg
socket.error: (110, 'Connection timed out')
^[[

Second comes here:

$ /opt/fmms/fmms_sender_ui.py
/opt/fmms/fmms_sender_ui.py:160: GtkWarning: Invalid icon size 0

ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:160: Warning: IA__g_object_get_valist: object class `HildonFileSystemSettings' has no property named `hour24'
ret = fcd.run()
/opt/fmms/fmms_sender_ui.py:299: Warning: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/opt/fmms/fmms_sender_ui.py:299: Warning: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/opt/fmms/fmms_sender_ui.py:299: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
gtk.main()
/home/user/MyDocs/DCIM/20091219_001.jpg
200
True
height 1936
width 2576
resizing
Resizing image: 200 * 150
+4551xxxxxxxx /home/user/.fmms/temp/20091219_001.jpg 51xxxxxxxx Test 2
GOT SENDER: +4551xxxxxxxx
connecting via proxy 194.182.251.15:0
mmschost: http://192.168.241.114:8002
(110, 'Connection timed out')
Traceback (most recent call last):
File "/opt/fmms/fmms_sender_ui.py", line 252, in send_mms
(status, reason, output) = sender.sendMMS()
File "/home/opt/fmms/wappushhandler.py", line 305, in sendMMS
conn.request('POST', mmsc, mms, headers)
File "/usr/lib/python2.5/httplib.py", line 866, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.5/httplib.py", line 889, in _send_request
self.endheaders()
File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/usr/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.5/httplib.py", line 683, in connect
raise socket.error, msg
socket.error: (110, 'Connection timed out')

frals 2010-01-18 18:26

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by Watergate (Post 480209)
Here is the first log without proxy set.

Are you connecting manually to the MMS APN before trying to send? As seen by the backtrace it fails with 'connection timed out' which means it can't connect to the MMSC in 20 seconds - can you ping that IP from the terminal?

Noticed when you are connecting with proxy you are using proxyport "0", which seems very unlikely to be correct ;)

urishamay 2010-01-18 19:01

Re: [Announce] fMMS for N900
 
someone please help , i sent a few message here with no reply ...so pretty please... with sugar on top....

frals 2010-01-18 19:12

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by urishamay (Post 480487)
someone please help , i sent a few message here with no reply ...so pretty please... with sugar on top....

Could you start /opt/fmms/fmms_sender_ui.py from the terminal and attach the output after trying to send a message in a PM to me?

urishamay 2010-01-18 19:35

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by frals (Post 480506)
Could you start /opt/fmms/fmms_sender_ui.py from the terminal and attach the output after trying to send a message in a PM to me?

i used the command fmms_sender_ui.py from that folder (from xterminal) and i got
-sh fmms_sender_ui.py :not found
but i can see the file with the ls command.
sorry i am not a linux/unix guy...

frals 2010-01-18 19:36

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by urishamay (Post 480560)
i used the command fmms_sender_ui.py from that folder (from xterminal) and i got
-sg fmms_sender_ui.py :not found
but i can see the file with the ls command.
sorry i am not a linux/unix guy...

Just type the whole line at once and it should start, or after you've changed directory to /opt/fmms; run: ./fmms_sender_ui.py

urishamay 2010-01-18 19:43

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by frals (Post 480564)
Just type the whole line at once and it should start, or after you've changed directory to /opt/fmms; run: ./fmms_sender_ui.py

o.k
it start the application.
and again when i am try to send ...he stuck and saying that the apps is not responding.
i connected to apn that i set with fapn ....and then i trying to send with fmms after i set the server name/

urishamay 2010-01-18 20:05

Re: [Announce] fMMS for N900
 
o.k now working great (i had problem with the server ...)
am i must connect to the apn in order to get mms ?

Watergate 2010-01-18 20:15

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by frals (Post 480386)
Are you connecting manually to the MMS APN before trying to send? As seen by the backtrace it fails with 'connection timed out' which means it can't connect to the MMSC in 20 seconds - can you ping that IP from the terminal?

Noticed when you are connecting with proxy you are using proxyport "0", which seems very unlikely to be correct ;)

HI again Frals,

Again thanks for your wonderfull help. I really appreciate it.
Since I`m really newbie to this x-terminal and LINUX could you please tell me how to ping in x-terminal?

THANKS ;)

$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
~ $ ping 94.189.73.202
PING 94.189.73.202 (94.189.73.202): 56 data bytes
ping: permission denied. (are you root?)

aboaboit 2010-01-18 20:40

Re: [Announce] fMMS for N900
 
Quote:

Originally Posted by alex-000 (Post 462205)
Great app, someone use Tre It Settings?

Did you also set up the APN? Today I tried setting up fapn and fmms and they worked right away. Kudos to Frals.


All times are GMT. The time now is 23:05.

vBulletin® Version 3.8.8