maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Internet Messengers on the N9/N950! (Supports: MSN/ ICQ/ Yahoo/ AIM/ IRC/ Facebook/ Gadu-Gadu/ QQ) (https://talk.maemo.org/showthread.php?t=78922)

HtheB 2011-11-28 20:15

Re: Pidgin (or MSN) on the N9/n950?
 
Quote:

Originally Posted by Sllik (Post 1130112)
I have this issue as well, and I can't quite follow what you did to fix it. Anyone else got an idea on how I can gain permission to ./configure ?

it shouldn't give you any errors If you just follow my tutorial and dont skip any command

I'm sure you just didn't copy the files outside the MyDocs or you didn't gave permissions.

IsaacDFP 2011-11-28 22:06

Re: MSN on the N9/N950!
 
I am far from a programmer so I have to wonder... What's gonna happen if one day a GUI gets officially released to support MSN? Is it going to interfere with what we are doing right now? The N900 was not released with MSN support, but it got released later on and all the scripting had to be removed...

Sllik 2011-11-29 02:42

Re: Pidgin (or MSN) on the N9/n950?
 
Quote:

Originally Posted by HtheB (Post 1130252)
it shouldn't give you any errors If you just follow my tutorial and dont skip any command

I'm sure you just didn't copy the files outside the MyDocs or you didn't gave permissions.

I didn't skip any steps.
I did have to improvise and alter from your tutorial in some steps:

I experienced the same issue as someone else, where root wasn't able to [mkdir], so i logged out and made the folder as a user.
I then copied the files outside mydocs afterwards.

When i typed in [chmod 777 *] it gave me an error, so i left out the *

[./configure] was still not working so I tried [sh ./configure] that worked, but with errors.

[make] and [make install] had errors which I ignored.

I'm still stuck at this step where I type:
/home/user/MyDocs/msn # dpkg -i butterfly_0.5.15+git20111122-1_armel.deb

This is the result:
Aegis rejecting butterfly_0.5.15+git20111122-1_armel.deb: Could not open debian archive aegis aborting dpkg -- all listed package files rejected

I might just give this a miss... Seems way beyond my scope x.x

edit: adding [telepathy-] to the [butterfly_0.5.15+git20111122-1_armel.deb] makes it work.. but I still can't get the final steps to work. :(

Makeclick 2011-11-29 11:55

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by mikecomputing (Post 1130207)
Often people whine about battery drain too fast now you do another way around.....

YEP! And there is no settings in the browser..

billranton 2011-11-29 23:14

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by IsaacDFP (Post 1130302)
I am far from a programmer so I have to wonder... What's gonna happen if one day a GUI gets officially released to support MSN? Is it going to interfere with what we are doing right now? The N900 was not released with MSN support, but it got released later on and all the scripting had to be removed...

Well that depends...

If Microsoft makes a 'windows live messenger' app as a self-contained thing, then I wouldn't be interested in it at all. One of the great features of maemo is the contacts/IM framework: every account merges into the global contacts, and the messages are all held together with the text messages.

If they made a proper plugin, then maybe. It wouldn't be that different than what we're doing here, and I'd definitely switch to it because it would be supported. But would MS make a telepathy plugin for the MSN protocol?? :roflollocopter:

I'm waiting for Felipe to port msn-pecan over though. That would pretty much solve the problem.

HtheB 2011-11-29 23:21

Re: Pidgin (or MSN) on the N9/n950?
 
Quote:

Originally Posted by billranton (Post 1130129)
I managed to get jabber displaying properly too, but there's no bundled icons for that, so I'll have to make one later.

What kind of icons?

You mean the MSN Butterfly icon?
I can make one :)

billranton 2011-11-29 23:23

Re: Pidgin (or MSN) on the N9/n950?
 
Quote:

Originally Posted by HtheB (Post 1130794)
What kind of icons?

You mean the MSN Butterfly icon?
I can make one :)

No, that one's already there, and there's also a two-blue-men msn one too if you prefer. I've done a jabber one now, posting it in a new thread...

johnsnipe 2011-12-01 07:30

Re: MSN on the N9/N950!
 
i need help :(, i made all the steps but when i am going to enable my account it says that i can't because i used an invalid caracther ( @), when i check the list my email doesn't show property.. it shows like this: myemail_40hotmail_2ecom1 (_40 instead of @ and _2 instead of .) what i am doing wrong?

billranton 2011-12-01 08:08

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by johnsnipe (Post 1131468)
i need help :(, i made all the steps but when i am going to enable my account it says that i can't because i used an invalid caracther ( @), when i check the list my email doesn't show property.. it shows like this: myemail_40hotmail_2ecom1 (_40 instead of @ and _2 instead of .) what i am doing wrong?

The _40 and _2e are normal. Mine looks like this in 'mc-tool list':
butterfly/msn/myemail_40hotmail_2ecom0
That 1 at the end might mean you've got the account set up twice. Do you only see one butterfly with mc-tool list? How about in /home/user/.rtcom-accounts/accounts.cfg?

johnsnipe 2011-12-01 08:15

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by billranton (Post 1131486)
The _40 and _2e are normal. Mine looks like this in 'mc-tool list':
butterfly/msn/myemail_40hotmail_2ecom0
That 1 at the end might mean you've got the account set up twice. Do you only see one butterfly with mc-tool list? How about in /home/user/.rtcom-accounts/accounts.cfg?

mm well but for some reasons when i try to enable it give an error on the @ and on the . , it say invalid character and don't know why , and when i do mc-tool list i see 2 accounts, i try to remove one but i can't because i get the same error :/

billranton 2011-12-01 08:27

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by johnsnipe (Post 1131490)
mm well but for some reasons when i try to enable it give an error on the @ and on the . , it say invalid character and don't know why , and when i do mc-tool list i see 2 accounts, i try to remove one but i can't because i get the same error :/

Ah, it would be complaining about the @ if you're typing that in the enable command. After you've registered the account using 'mc-tool add', you have to refer to it by it's uid from then on, so you should be doing:

Code:

mc-tool enable butterfly/msn/myemail_40hotmail_2ecom0
Is that it?

johnsnipe 2011-12-01 08:38

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by billranton (Post 1131493)
Ah, it would be complaining about the @ if you're typing that in the enable command. After you've registered the account using 'mc-tool add', you have to refer to it by it's uid from then on, so you should be doing:

Code:

mc-tool enable butterfly/msn/myemail_40hotmail_2ecom0
Is that it?

Got it! many thanks, my mistake was that i miss to add the butterfly/msn/, its not mentioned on the first post.. so this can be a good suggestion jeje, use the name as mc-tool list give and don't forget to add butterfly/msn/ before the mail :), many thanks!

johnsnipe 2011-12-01 08:52

Re: MSN on the N9/N950!
 
i can see the accout now but now it show Network error .. u_u its is normal?

billranton 2011-12-01 09:22

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by johnsnipe (Post 1131501)
i can see the accout now but now it show Network error .. u_u its is normal?

From my experience, 'Network error' just means it's not working.

Things to try:

1. Run 'python test.py' in the papyon source directory, where you ran setup.py. That should ask you for some info (leave the webcam thing blank) then go off and log in. If that works then you have a problem with telepathy so continue with 2. If it doesn't, then you may have a network problem, missing dependency, wrong password or msn might even be down.

2. Rarely, telepathy-butterfly hangs. Go 'all offline' then at a terminal type:

Code:

ps | grep butterfly
if you see a telepathy-butterfly there, type:

Code:

killall telepathy-butterfly
Add '-9' after killall if it won't die

3. Have a look at the output of 'mc-tool show <uid>' where uid is the relevant account id from 'mc-tool list'. If you don't have '(string) password', or '(string) account' at the bottom then you need to set them with 'mc-tool update' or remove the account and add it again.
I had problems with this when I was trying to integrate with the accountsui for the other thread. Never had this problem with telepathy alone.

johnsnipe 2011-12-01 09:55

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by billranton (Post 1131517)
From my experience, 'Network error' just means it's not working.

Things to try:

1. Run 'python test.py' in the papyon source directory, where you ran setup.py. That should ask you for some info (leave the webcam thing blank) then go off and log in. If that works then you have a problem with telepathy so continue with 2. If it doesn't, then you may have a network problem, missing dependency, wrong password or msn might even be down.

2. Rarely, telepathy-butterfly hangs. Go 'all offline' then at a terminal type:

Code:

ps | grep butterfly
if you see a telepathy-butterfly there, type:

Code:

killall telepathy-butterfly
Add '-9' after killall if it won't die

3. Have a look at the output of 'mc-tool show <uid>' where uid is the relevant account id from 'mc-tool list'. If you don't have '(string) password', or '(string) account' at the bottom then you need to set them with 'mc-tool update' or remove the account and add it again.
I had problems with this when I was trying to integrate with the accountsui for the other thread. Never had this problem with telepathy alone.

i can't do the python test.. it say that directory doesn't exists (as i see at the end in the first post the directory is removed..), i made step 2 and nothing.. and in step 3 everything is fine

billranton 2011-12-01 10:25

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by johnsnipe (Post 1131528)
i can't do the python test.. it say that directory doesn't exists (as i see at the end in the first post the directory is removed..), i made step 2 and nothing.. and in step 3 everything is fine

It probably won't break anything if you fetch papyon again. You might even have the tar.gz on your MyDocs still. Have you still got two accounts set up, or did you remove one of them?

Makeclick 2011-12-01 17:48

Re: MSN on the N9/N950!
 
hmm.. this is odd
/home/user/MyDocs/msn # mkdir /home/user/msn
mkdir: can't create directory '/home/user/msn': Permission denied

but i can make dir with file manager... but then it stop to the next step

billranton 2011-12-01 18:38

Re: MSN on the N9/N950!
 
All of you having trouble building, hold your horses. I found some proper packages for this stuff. I'll write it up later on.

johnsnipe 2011-12-01 19:39

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by billranton (Post 1131542)
It probably won't break anything if you fetch papyon again. You might even have the tar.gz on your MyDocs still. Have you still got two accounts set up, or did you remove one of them?

i removed 1 account, i will try to fetch papyon again

IsaacDFP 2011-12-01 19:51

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by billranton (Post 1130791)
Well that depends...

If Microsoft makes a 'windows live messenger' app as a self-contained thing, then I wouldn't be interested in it at all. One of the great features of maemo is the contacts/IM framework: every account merges into the global contacts, and the messages are all held together with the text messages.

If they made a proper plugin, then maybe. It wouldn't be that different than what we're doing here, and I'd definitely switch to it because it would be supported. But would MS make a telepathy plugin for the MSN protocol?? :roflollocopter:

I'm waiting for Felipe to port msn-pecan over though. That would pretty much solve the problem.

Actually my bad, wrong choice of words. I didn't mean a GUI, but more of all those little msn plugins that came into the N900 a while after its release. I think they were 3 of them? Pecan being one of them. I would also hate a GUI-like MSN application and LOVED the integration part of the OS/UI. But that's what I meant. Now to add MSN support on the N900, all one has to do is download and install a simple package from the reps and it will appear on the UI of the Accounts page. That's pretty much all i want...lol, a UI on the Account page where I can easily enter and change my information at will. I'd rather avoid the terminal if not urgently needed...

billranton 2011-12-01 21:01

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by IsaacDFP (Post 1131750)
Actually my bad, wrong choice of words. I didn't mean a GUI, but more of all those little msn plugins that came into the N900 a while after its release. I think they were 3 of them? Pecan being one of them. I would also hate a GUI-like MSN application and LOVED the integration part of the OS/UI. But that's what I meant. Now to add MSN support on the N900, all one has to do is download and install a simple package from the reps and it will appear on the UI of the Accounts page. That's pretty much all i want...lol, a UI on the Account page where I can easily enter and change my information at will. I'd rather avoid the terminal if not urgently needed...

Ah yes I know what you mean. I used pecan on my n900. This is actually equivalent to the 'telepathy-butterfly' solution on the n900, and if someone makes a UI for that then they would use the same packages. None of the n900 solutions are supported by microsoft though, so we're still on our own.

The guy who maintained msn-pecan on the n900 has said that he will port it to harmattan, he just hasn't had time yet (though I hope no-one hassles him too much).

I've updated my earlier post with the proper packages, so everyone should replace the self-built stuff with those. To do that, run 'make uninstall' as root in the telepathy-butterfly and python-telepathy source directories, then install the packages. Papyon doesn't seem to do uninstall, but didn't seem to care. If you get an error about files not being linked, uninstall the package and install it again. That worked for me. My N9 feels a lot cleaner now :)

slai 2011-12-01 21:23

Re: MSN on the N9/N950!
 
I get "permission denied" when doing "mkdir /home/user/msn".

Any idea why?

HtheB 2011-12-01 21:48

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by johnsnipe (Post 1131498)
Got it! many thanks, my mistake was that i miss to add the butterfly/msn/, its not mentioned on the first post..

it DOES say it on the first post... just read more carefully :)
(and no, I didn't quickly change the post)

johnsnipe 2011-12-01 22:26

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by billranton (Post 1131794)
Ah yes I know what you mean. I used pecan on my n900. This is actually equivalent to the 'telepathy-butterfly' solution on the n900, and if someone makes a UI for that then they would use the same packages. None of the n900 solutions are supported by microsoft though, so we're still on our own.

The guy who maintained msn-pecan on the n900 has said that he will port it to harmattan, he just hasn't had time yet (though I hope no-one hassles him too much).

I've updated my earlier post with the proper packages, so everyone should replace the self-built stuff with those. To do that, run 'make uninstall' as root in the telepathy-butterfly and python-telepathy source directories, then install the packages. Papyon doesn't seem to do uninstall, but didn't seem to care. If you get an error about files not being linked, uninstall the package and install it again. That worked for me. My N9 feels a lot cleaner now :)

were are the source directories? I cant find them.. Or if you have the steps to uninstall the packages i will be grateful, i am not very good at doing this..

Edit: its done :) now i got msn on my phone many thanks jeje

MFaroTusino 2011-12-02 02:35

Re: MSN on the N9/N950!
 
I cannot send messages for some reason, only receive. Please help.

billranton 2011-12-02 08:20

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by slai (Post 1131807)
I get "permission denied" when doing "mkdir /home/user/msn".

Any idea why?

I guess you're trying to do this as root. The Aegis security system in harmattan won't let root mess with user's files.
Don't bother with all that though, just install the .deb packages I linked to in the earlier post. You can put them anywhere you like.

slai 2011-12-02 11:45

Re: MSN on the N9/N950!
 
billranton: yeah, just following the instructions in the OP letter by letter.

So in this part, I can just change "/home/user/msn" to "/home/user/MyDocs/mymsnfolder" in all instances and that will work?

Quote:

mkdir /home/user/msn
cp -r papyon-0.5.6 /home/user/msn
cp -r telepathy-python-0.15.19 /home/user/msn
cd /home/user/msn/papyon-0.5.6
chmod 777 *
python setup.py install
cd /home/user/msn/telepathy-python-0.15.19
chmod 777 *
./configure
make
make install
cd /home/user/MyDocs/msn
dpkg -i telepathy-butterfly_0.5.15+git20111122-1_armel.deb

mc-tool add butterfly/msn MSN string:account=(youremail) string:password=(yourpassword)

mc-tool enable (your account, it's shown 1 line above, starting with butterfly/msn/)

rm -Rf /home/user/msn

Makeclick 2011-12-02 13:45

Re: MSN on the N9/N950!
 
HtheB!

Hi. Change that add accout:

Code:

mc-tool add butterfly/msn MSN string:account=(youremail) string:password=(yourpassword)

mc-tool enable (your account, it's shown 1 line above, starting with butterfly/msn/)

To

Code:

mc-tool add butterfly/msn MSN string:account=(youremail) string:password=(yourpassword)

mc-tool enable butterfly/msn/(your account) it's shown 1 line above

I do not understad either to add "butterfly/msn" on front :)

slai 2011-12-02 18:16

Re: MSN on the N9/N950!
 
sorry, little bump for my question above here, kind of got terminal open and slightly confused as to how to proceed :P .

HtheB 2011-12-02 18:36

Re: MSN on the N9/N950!
 
Updated first post!

slai 2011-12-02 19:00

Re: MSN on the N9/N950!
 
okay, I did your previous directions up until "mkdir /home/user/msn", so I figured Id hop in the new directions at "dpkg -i python-papyon_0.5.6-1_all.deb", from /home/user/MyDocs/msn/.

My result:

Aegis rejecting python-papyon_0.5.6-1_all.deb:
Could not open debian archive
aegis aborting dpkg -- all listed package files rejected

Now can I assume thats because I dont have that deb file in my folder?

Cause I downloaded the files in the previous OP, which I assume are the same ones that are linked in the updated first post?

billranton 2011-12-02 19:35

Re: MSN on the N9/N950!
 
Hi slai,
No the new files are different. You should have three .deb files. This way is much simpler and likely to be more compatible with future solutions.

slai 2011-12-02 20:14

Re: MSN on the N9/N950!
 
so me having done the previous steps is irrelevant, i can just start over with the new ones, no problem?

HtheB 2011-12-02 20:18

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by slai (Post 1132299)
so me having done the previous steps is irrelevant, i can just start over with the new ones, no problem?

Should give you no problems :)
Give it a try

slai 2011-12-02 21:53

Re: MSN on the N9/N950!
 
After apt-get update I get this as the 4 last lines:

Updating desktop entries... Done
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource tempoarily unavailable).
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
/home/user/MyDocs/msn #



After dpkg -i python-papyon_0.5.6-1_all.deb:

Package python-papyon: File '/var/lib/dpkg/info/pythpn-papyon.postinst' not in digsigsums -- warning
Package python-papyon: File '/usr/share/pyshared/papyon/msnp2p/test.py' not in digsigsums -- warning
No digsigsums file
Setting up python-papyon (0.5.6-1) ...
aegis-installing python-papyon (from '')


A similiar thing after the python-telepathy deb and the telepathy-butterfly deb, warning about files not in digsigsums, and there being no digsigsums file.


But it works just fine, or so it seems so far, just gotta do the integration bit now to make it perfect. Thank you so much :) .

chenliangchen 2011-12-03 02:01

Re: MSN on the N9/N950!
 
Great! Will try it now...

If someone pack the whole into a deb file would be perfect. We flash the device quite often.

Sllik 2011-12-03 03:05

Re: MSN on the N9/N950!
 
The new edit of the 1st post works for me now.

Thank you Bill & HtheB

Sllik 2011-12-03 06:33

Re: MSN on the N9/N950!
 
I've noticed 1 bug.

The msn on my laptop sometimes registers more than one instance of msn from (PAPYON).

And if i sign out from just one (PAPYON) remotely, it logs off msn from my fone completely.

HtheB 2011-12-03 16:08

Re: MSN on the N9/N950!
 
Quote:

Originally Posted by Sllik (Post 1132525)
I've noticed 1 bug.

The msn on my laptop sometimes registers more than one instance of msn from (PAPYON).

And if i sign out from just one (PAPYON) remotely, it logs off msn from my fone completely.

This isn't a bug, that's a feature of MSN. You can log on MSN on multiple places at once. You can see that on your PC where you are logged in at the moment. You can remotely log out other instances. In this case, the Papyon is the Harmattan one :)

Sllik 2011-12-04 02:32

Re: MSN on the N9/N950!
 
You don't get it.

There are MULTIPLE instances of PAPYON..

My PC msn is telling me my phone has logged onto my account 2-4 times simultaneously.

I'm also having issues maintaining a permanent connection [Network Error], my skype and facebook accounts don't have this issue.


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

vBulletin® Version 3.8.8