maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   [In development] Brainstorm: MMS Support (https://talk.maemo.org/showthread.php?t=32129)

lcuk 2010-01-06 01:54

Re: [Under consideration] Brainstorm: MMS Support
 
its called a prototype.
commonly known as a proof of concept.

rlinfati 2010-01-06 01:57

Re: [Under consideration] Brainstorm: MMS Support
 
/opt/fmms/send.py http://mms.wind.it 1234567890 asunto cuerpo /home/user/MyDocs/.images/blur4.jpg

http://mms.wind.it 1234567890 asunto cuerpo /home/user/MyDocs/.images/blur4.jpg
image/jpg
conecting
enconding well know charset: iso-8859-1
200 OK
41612 message-format-corrupt

:(

frals 2010-01-06 02:02

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by rlinfati (Post 454979)
/opt/fmms/send.py http://mms.wind.it 1234567890 asunto cuerpo /home/user/MyDocs/.images/blur4.jpg

http://mms.wind.it 1234567890 asunto cuerpo /home/user/MyDocs/.images/blur4.jpg
image/jpg
conecting
enconding well know charset: iso-8859-1
200 OK
41612 message-format-corrupt

:(

Thanks for testing!

I'm aware of this - currently trying to get it fixed - seems like my MMSC is a lot less picky then others :)

Do you manage to receive ok?

mohannad 2010-01-06 02:08

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by romanianusa (Post 454943)
Thanks God i am able to get rid of this dumb program. First of all, why the HELL would i want to use this program to send picture when i can do it with my email?? It is similar...when u click on the program ...it opens up and there is the TO: button and "ATTACHMENT"...why the HELL I WANT THAT?? It is similar to an email. I thought this shyt is going to integrate with my sms messenger or something where i can chat and send pictures at the same time.


maybe that will teach you to read the developer's comment's before you try out an application.

keep up the great work frals! Will test this tonight.

rlinfati 2010-01-06 02:09

Re: [Under consideration] Brainstorm: MMS Support
 
@frals

if i can not auto send me a mms.... i can not recive :(

claesbas 2010-01-06 08:07

Re: [Under consideration] Brainstorm: MMS Support
 
Here's a video of it in action:
http://www.maemosweden.com/alla-blog...med-nokia-n900

sorry for the swedish, it should be watchable anyway...

labra 2010-01-06 08:52

Re: [Under consideration] Brainstorm: MMS Support
 
Nice work! It really did not take long time for you guys to make the working poc! Good!

rlinfati 2010-01-06 14:28

Re: [Under consideration] Brainstorm: MMS Support
 
@romanianusa

do as root

echo >> /var/lib/dpkg/info/fmms.postrm
echo exit 0 >> /var/lib/dpkg/info/fmms.postrm
dpkg -P fmms

romanianusa 2010-01-06 14:39

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by rlinfati (Post 455570)
@romanianusa

do as root

echo >> /var/lib/dpkg/info/fmms.postrm
echo exit 0 >> /var/lib/dpkg/info/fmms.postrm
dpkg -P fmms

I get "Removing fmms...
Purging configuration files for fmms...
Error com.nokia.wappush.error.not_registered: Application ID is not registered.
dpkg: error processing fmms (--purge):
subprocess post-removal script returned error exist status 1
Errors were encountered while processing: fmms


How the hell do i get remove fmms?? Is this the reason my friend can't normally txt me anymore using Yahoo messenger to phone? I mean she can txt using normal mobile to mobile but now can't do it with Yahoo Messenger to mobile. She used to be able to do that?? Is this program screwing it up or what?? I am pissed!!

claesbas 2010-01-06 16:02

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by romanianusa (Post 455589)
I get "Removing fmms...
Purging configuration files for fmms...
Error com.nokia.wappush.error.not_registered: Application ID is not registered.
dpkg: error processing fmms (--purge):
subprocess post-removal script returned error exist status 1
Errors were encountered while processing: fmms


How the hell do i get remove fmms?? Is this the reason my friend can't normally txt me anymore using Yahoo messenger to phone? I mean she can txt using normal mobile to mobile but now can't do it with Yahoo Messenger to mobile. She used to be able to do that?? Is this program screwing it up or what?? I am pissed!!

please.. if you install some clearly alpha-state-prototype-proof-of-concept there is a big chance things might go wrong. There is no reason to be pissed off. If you were willing to risk this and install it please report the bugs you find to frals and he will fix it.

romanianusa 2010-01-06 16:17

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by claesbas (Post 455696)
please.. if you install some clearly alpha-state-prototype-proof-of-concept there is a big chance things might go wrong. There is no reason to be pissed off. If you were willing to risk this and install it please report the bugs you find to frals and he will fix it.

Nevermind about the bug...how do i get rid of the program or undo it?? How do i uninstall it based on what the error messages displayed above?

I don't know Linux..still new here. I wish the new firmware come out and fix all these bugs.

frals 2010-01-06 17:30

Re: [Under consideration] Brainstorm: MMS Support
 
No, this has nothing to do with your friends inability to IM you.

Run the following in a terminal and then try to remove it again:
Code:

/usr/bin/dbus-send --print-reply --system --type=method_call --dest=com.nokia.wappush /com/nokia/wappush com.nokia.wappush.register string:'x-wap-application:mms.ua' string:'se.frals.mms' string:'/se/frals/mms'
Next time when you decide to install something that the developer say is higly unstable and likely to break stuff, please don't do it - or if you do, ask *politely* for help.

------------

In other news I hope to have a new package up later tonight - hoping it fixes the "message corrupt" issues

frals 2010-01-06 18:24

Re: [Under consideration] Brainstorm: MMS Support
 
new package released 0.0.1-5 http://mms.frals.se/fmms.html

i *hope* i fixed the message-corrupt-issue now :)

rlinfati 2010-01-06 18:50

Re: [Under consideration] Brainstorm: MMS Support
 
~ $ sh mms-loop
http://mms.wind.it +39327749xxxx asunto cuerpo /home/user/MyDocs/.images/blur4.jpg
connecting
done connecting
MMSC STATUS: 200 OK
MMSC RESPONDED: ���37160�����message-format-corrupt

frals 2010-01-06 19:24

Re: [Under consideration] Brainstorm: MMS Support
 
crap, back to the drawing board :P

romanianusa 2010-01-06 19:32

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by frals (Post 455825)
No, this has nothing to do with your friends inability to IM you.

Run the following in a terminal and then try to remove it again:
Code:

/usr/bin/dbus-send --print-reply --system --type=method_call --dest=com.nokia.wappush /com/nokia/wappush com.nokia.wappush.register string:'x-wap-application:mms.ua' string:'se.frals.mms' string:'/se/frals/mms'
Next time when you decide to install something that the developer say is higly unstable and likely to break stuff, please don't do it - or if you do, ask *politely* for help.

------------

In other news I hope to have a new package up later tonight - hoping it fixes the "message corrupt" issues

I run those code..not sure if i did it right. It gives me "method return sender=:1.19 --> dest=1.589 reply_serial=2"

Then I try to uninstall it and it gives me the same ERROR messages as before.

Can you tell me exactly what i need to type on Xterminal..i am still new to this. I was able to gain root access with sudo -i

frals 2010-01-06 21:38

Re: [Under consideration] Brainstorm: MMS Support
 
Could try:

mv /var/lib/dpkg/info/fmms.postrm /var/lib/dpkg/info/fmms.postrm-DISABLED

dpkg --force-all --remove fmms

Otherwise you can always reflash ;-)

romanianusa 2010-01-06 23:24

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by frals (Post 456284)
Could try:

mv /var/lib/dpkg/info/fmms.postrm /var/lib/dpkg/info/fmms.postrm-DISABLED

dpkg --force-all --remove fmms

Otherwise you can always reflash ;-)

I get "dpkg - warning: ignoring request to remove fmms, only the config files of which are on the system. Use --purge to remove them too."

If i use --purge, i get same previous ERROR like "Error com.nokia.wappush.error.not_regisitered: Application ID is not registered."

frals 2010-01-07 19:29

Re: [Under consideration] Brainstorm: MMS Support
 
romanianusa: I'm sorry but I have no idea how to solve your dpkg-issues.


IN OTHER NEWS:

0.0.1-8 IS UPLOADED AT http://mms.frals.se/fmms.html

GOT CONFIRMATION FROM A BUNCH OF PEOPLE ITS WORKING TO SEND NOW! :DDD

jarim 2010-01-07 19:38

Re: [Under consideration] Brainstorm: MMS Support
 
frals, as I already said; KEEP UP THE GOOD WORK! :)

Version fMMS-0.0.1-8 verified to be working in Elisa network (Finland). :)

Texrat 2010-01-07 19:50

Re: [Under consideration] Brainstorm: MMS Support
 
frals rocks.

twaelti 2010-01-07 20:43

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by frals (Post 453107)
setup a APN for fetching MMS - see your carriers homepage for details - I assume you know how to set it up in internet connections

No, I don't know :o When I try to add a 2nd packet connection in my settings, I can only add WLAN connections ?!?
EDIT: OK, found out how - it's a bug in Maemo5 and you must manually do it through gconf...

(PS: One small enhancement request: Warn if attachements are over 300 kB in size, as this might well cause problems on the mms server or with the recipient. It might also be nice to indicate the size of the attachement in general after it has been selected)

frals 2010-01-07 20:51

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by twaelti (Post 458049)
No, I don't know :o When I try to add a 2nd packet connection in my settings, I can only add WLAN connections ?!?

(PS: One small enhancement request: Warn if attachements are over 300 kB in size, as this might well cause problems on the mms server or with the recipient. It might also be nice to indicate the size of the attachement in general after it has been selected)

https://bugs.maemo.org/show_bug.cgi?id=5791#c16 workaround ;-)

Oh, seems I've lost that somewhere... I know I *had* it at some point, I'll add it right now (showing size at least ;)).


Texrat, jarim: Thanks, this community rocks (and everyone who have helped me test it so far :))

rlinfati 2010-01-07 21:05

Re: [Under consideration] Brainstorm: MMS Support
 
it's WORK!!!!!!

frals 2010-01-07 21:27

Re: [Under consideration] Brainstorm: MMS Support
 
Right, uploaded a new version now - it *should* be a bit more user-friendly: http://mms.frals.se/

Comments, suggestions etc welcome :)


(I should probably create a new thread announcing this application?)

rlinfati 2010-01-07 21:34

Re: [Under consideration] Brainstorm: MMS Support
 
and upload to extras-devel please....

lardman 2010-01-07 21:37

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

I get "dpkg - warning: ignoring request to remove fmms, only the config files of which are on the system. Use --purge to remove them too."
That indicates that the binaries are gone anyway.

I suppose it might well be possible to edit the postrm script to make it run successfully to get the package to remove itself correctly: You might try editing the postrm script which should be here: /var/lib/dpkg/info/fmms.postrm

Edit is so it has nothing in it but the hash bang stuff ("#!/bin/sh")

I think that should then return correctly and hopefully be removed.

in-effect 2010-01-07 21:38

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by frals (Post 456284)
Otherwise you can always reflash ;-)

how about reflashable people - now that would solve a problem or two.

bguzmanz2 2010-01-07 22:21

Re: [Under consideration] Brainstorm: MMS Support
 
keeps asking if i entered correct apn settings, but i know they are right because thats why i always use with tmobile. any ideas? great app by the way, even better if i can get it to take my info =)

twaelti 2010-01-07 22:33

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by frals (Post 458145)
Right, uploaded a new version now - it *should* be a bit more user-friendly: http://mms.frals.se/

Thanks, the sender number saved is much appreciated for someone experimenting like me :D

You wrote "limitations: ... wont send via apn requiring user/pass yet (i think)". Why? I do put user/pass into the connection settings, and guess this is ok.

My problem is that I'm unable to correctly setup the configs. For Android, on my provider it would have been:

Name: Sunrise MMS
APN: mms.sunrise.ch
Proxy
Port
Username: mms
Password: mms
Server
MMSC: http://mmsc.sunrise.ch
MMS proxy: 212.35.34.75
MMS port: 8080

IMHO, this means that while I don't have to set a general proxy (HTTP) in the connection, I have to set a MMS proxy with a port somewhere... but haven't found a place to do that in fMMS.

(MMS proxy = a.k.a. Provider WAP Gateway)

Well, it's a fun trip anyway, thanks for the ride!

frals 2010-01-07 22:45

Re: [Under consideration] Brainstorm: MMS Support
 
you have to manually connect to the apn before sending the message


also, seems ive introduced a bug in 0.1.0-1 where it wont receive MMS properly, working on fixing it

Quote:

Originally Posted by twaelti (Post 458294)
You wrote "limitations: ... wont send via apn requiring user/pass yet (i think)". Why? I do put user/pass into the connection settings, and guess this is ok.

i hadnt tested it where it was required, guess it works :)

Quote:

Originally Posted by twaelti (Post 458294)
Name: Sunrise MMS
APN: mms.sunrise.ch
Proxy
Port
Username: mms
Password: mms
Server
MMSC: http://mmsc.sunrise.ch
MMS proxy: 212.35.34.75
MMS port: 8080

IMHO, this means that while I don't have to set a general proxy (HTTP) in the connection, I have to set a MMS proxy with a port somewhere... but haven't found a place to do that in fMMS.

(MMS proxy = a.k.a. Provider WAP Gateway)

Well, it's a fun trip anyway, thanks for the ride!

I *think* you can just use the MMS proxy/port as proxy - not sure though

frals 2010-01-08 00:22

Re: [Under consideration] Brainstorm: MMS Support
 
Right 0.1.0-2 posted now, it should be working properly again... http://mms.frals.se

Just to be sure, remove previous version (dpkg -r fmms) and rm -rf /opt/fmms, kill fmmsd if its running (ps|grep fmms, kill <pid>) and then install the new package ;)

qole 2010-01-08 00:44

Re: [Under consideration] Brainstorm: MMS Support
 
This community continues to rock. Other platforms can only whine about missing features. Here, some awesome developer steps up and hacks something together for us.

The next step is to make this into a telepathy or sharing plugin so you can integrate it with the rest of the system (because some people are never happy).

Too bad I have no use for MMS in my own life.

claesbas 2010-01-08 01:04

Re: [Under consideration] Brainstorm: MMS Support
 
for some weird reason alot of people in Sweden still use MMS all the time..

its quite amazing I recive mms now as it almost was a supported feature.. :D great job frals

DaveQB 2010-01-08 04:34

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by frals (Post 458454)
Right 0.1.0-2 posted now, it should be working properly again... http://mms.frals.se

Just to be sure, remove previous version (dpkg -r fmms) and rm -rf /opt/fmms, kill fmmsd if its running (ps|grep fmms, kill <pid>) and then install the new package ;)

Or
killall fmms
Assuming that's the executable binary/script's name.

freppas 2010-01-08 04:56

Re: [Under consideration] Brainstorm: MMS Support
 
OT: Interesting to note that Frals site is actually blocked in china :) Are you involved in some activities against the wonderful PRC, or is it just a blog? ;)

frals 2010-01-08 10:16

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by freppas (Post 458650)
OT: Interesting to note that Frals site is actually blocked in china :) Are you involved in some activities against the wonderful PRC, or is it just a blog? ;)

Wow, that's really strange, I guess its my blog at blog.frals.se ;) (with a grand total of _one_ post) - on the other hand frals.se used to belong to the Swedish Salvation Army :)

Most builds are also posted on https://garage.maemo.org/projects/fmms

I'll work on getting a package up in -devel today :)

holox 2010-01-08 12:32

Re: [Under consideration] Brainstorm: MMS Support
 
When trying to configure settings I am getting error message:

" Could not save. Did you enter a correct APN?"

Really does not matter what i type in there because i get same error message everytime. In latest version at least i dont have reboot phone anymore to get away from menu :D

One of the installations got f*cked up so there must be some
old file(s) laying somewhere or permission set problem?

-Jake

frals 2010-01-08 12:44

Re: [Under consideration] Brainstorm: MMS Support
 
Quote:

Originally Posted by holox (Post 459037)
When trying to configure settings I am getting error message:

" Could not save. Did you enter a correct APN?"

Really does not matter what i type in there because i get same error message everytime. In latest version at least i dont have reboot phone anymore to get away from menu :D

One of the installations got f*cked up so there must be some
old file(s) laying somewhere or permission set problem?

-Jake

What it tries to do when you enter a APN is go through gconf looking for a APN with the same name as you entered (/system/osso/connectivity/IAP/*/name == entryfieldvalue)

What that means is that the APN you enter here must match the name of the APN in "Internet Connections" *exactly* or it will fail to save

If you'd like, please message me on #maemo on irc (nick: frals) or drop me a email/PM and I can help you track down a solution :)

Thanks for testing!

frals 2010-01-08 16:17

Re: [Under consideration] Brainstorm: MMS Support
 
For further discussion around fMMS I've decided to create a new thread; http://talk.maemo.org/showthread.php...426#post459426


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8