emesene forum
March 11, 2010, 08:31:16 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
REPORT ANY ISSUE
HERE
- PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
Home
Forum
Help
Search
Login
Register
emesene forum
>
Forum
>
Main
>
Announcements
>
1.6.1 plan
Pages:
1
...
3
4
[
5
]
6
7
...
16
« previous
next »
Print
Author
Topic: 1.6.1 plan (Read 7354 times)
arielj
Global Moderator
Hero Member
l33tness: 21
Offline
Posts: 818
globitz!
Re: 1.6.1 plan
«
Reply #60 on:
February 07, 2010, 09:06:52 AM »
Quote from: DarKprince on February 07, 2010, 08:29:15 AM
I have used some print to debug it and for me (ubuntu) the onclick method is called every time a new conversation is opened :s if you don't believe me I can make a screencast
Oh, I see, I didn't tried it when a conversation was just created, you said that "on every message" so I tried that, opened a conversation myself and tried to send my emitocons with the conversation already opened
. I'll check it and your patch
«
Last Edit: February 07, 2010, 09:43:45 AM by arielj
»
Logged
DarKprince
Hero Member
l33tness: 12
Offline
Posts: 240
Italians Do It better XD XD
Re: 1.6.1 plan
«
Reply #61 on:
February 07, 2010, 09:32:28 AM »
yeah, problem fixed after a ''meeting'' on emesene, since there still were some problems :-P
Logged
arielj
Global Moderator
Hero Member
l33tness: 21
Offline
Posts: 818
globitz!
Re: 1.6.1 plan
«
Reply #62 on:
February 08, 2010, 08:34:39 AM »
Quote from: C10uD on February 07, 2010, 02:39:32 AM
- weird utf8 plus plugin error (?)
Cloud, can you take a look into the plus plugin exception? I think it's caused for a band handled OIM...
I printed the message that's being send to the plus parser and it's something like this:
Code:
Ϥ_] x? x? «^-M INVITE MSNMSGR:arieljprueba@hotmail.com MSNSLP/1.0
To: <msnmsgr:arieljprueba@hotmail.com>
From: <msnmsgr:arieljprueba@hotmail.com>
Via: MSNSLP/1.0/TLP ;brancho={some-hexa-code}
CSeq: 0
Call-ID: {more-hexa-code}
Max-Forwards: 0
Content-Type: application/x-msnmsgr-sessionreqbody
Content-Length: 317
AppID: 1
EUF-GUID: {hexa-code}
SesionID: a-number
Context: some-really-long-base64-code
And then a new exception gets thrown:
Code:
Exception
You are using emesene 1.6.X BETABETABETA "mate" so you're free to complain here:
http://forum.emesene.org/index.php/board,19.0.html
Check already existing tickets for duplicates first, please.
Traceback (most recent call last):
File "D:\Downloads\Programas\Internet\Chat\MSN\emesenesvn\Controller.py", line 873, in offlineMessageReceived
conv.receiveOIM(user['name'], message, date)
File "D:\Downloads\Programas\Internet\Chat\MSN\emesenesvn\Conversation.py", line 365, in receiveOIM
timestamp=time.mktime(date))
File "D:\Downloads\Programas\Internet\Chat\MSN\emesenesvn\Conversation.py", line 700, in appendOutputText
username, text, style, self, type, timestamp, ink, hasp4c)
File "D:\Downloads\Programas\Internet\Chat\MSN\emesenesvn\ConversationLayoutManager.py", line 214, in layout
result = tagRe.sub(parser.sub, self.theme[type])
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 75-76: invalid data
And that's the same message that's being thrown to the parser of the plus plugin.
I can make something like "if not message.count("x-msnmsgr-sessionreqbody"): skip the message" but that's a really dirty dirty hack xD.
Quote from: C10ud
p.s. big thanks to arielj for pushing lots of revisions
you're welcome
EDIT: here's a link with some info of that message
http://msnpiki.msnfanatic.com/index.php/MSNC:MSNSLP
EDIT2: steps to reproduce it, I had myself added to the list:
-remove myself with the "remove contact" option
-remove myself from the privacy list to complete delete me
-restart emesene
-add myself
-accept myself on the dialog to accept invitations
-wait a little time...
«
Last Edit: February 08, 2010, 09:02:37 AM by arielj
»
Logged
cando
Hero Member
l33tness: 4
Offline
Posts: 278
Re: 1.6.1 plan
«
Reply #63 on:
February 08, 2010, 08:42:26 AM »
with that diff there is a partial personal picture roaming: we can retrieve our picture from msn servers but not store it.
So if we change our picture with an official client when we reuse emesene we'll have the new picture...
i'll try to resolve the "store" problem...however that is something...right?
Logged
Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
arielj
Global Moderator
Hero Member
l33tness: 21
Offline
Posts: 818
globitz!
Re: 1.6.1 plan
«
Reply #64 on:
February 08, 2010, 09:05:42 AM »
Quote from: cando on February 08, 2010, 08:42:26 AM
with that diff there is a partial personal picture roaming: we can retrieve our picture from msn servers but not store it.
So if we change our picture with an official client when we reuse emesene we'll have the new picture...
i'll try to resolve the "store" problem...however that is something...right?
"/tmp/" doesn't exists on windows, you should use the %TEMP% environment variable at least for windows (i don't know if it's also on linux), tempfolder = os.environ['TEMP'], something like that.
EDIT: try doing this:
Code:
if os.name == "nt":
tempfolder = os.environ['TEMP'] + "image"
else:
tempfolder = '/temp/image'
f = open(tempfolder, 'wb')
f.write(data)
f.close()
self.emit('self-dp-changed', tempfolder)
worked here on windows
EDIT2: the problem is that without storing the image on the server, we won't be able to change the picture using emesene in a permanent way... if we change it and restart emesene we will need to change it again and again (something like the old nick problem
)
«
Last Edit: February 08, 2010, 09:19:39 AM by arielj
»
Logged
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: 1.6.1 plan
«
Reply #65 on:
February 08, 2010, 09:36:16 AM »
@cando: as i wrote in the ml, that partial implementation isn't working as it should, so it must stay disabled till someone finds a way to store the dp
@arielj: i'll try to reproduce those steps
Logged
cando
Hero Member
l33tness: 4
Offline
Posts: 278
Re: 1.6.1 plan
«
Reply #66 on:
February 08, 2010, 11:53:49 AM »
sorry c10ud i hadn't seen you message in ml...however i'll try to fix the store problem..
Logged
Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
cando
Hero Member
l33tness: 4
Offline
Posts: 278
Re: 1.6.1 plan
«
Reply #67 on:
February 10, 2010, 05:05:54 AM »
fixed picture roaming...but for now it works only from emesene to emesene....and from official client to emesene...not from emesene to official...maybe that microsoft has changed something in the protocol(also nick and personal message roaming don't work)...
other problem that i'm fixing: how to compare the picture that i take from the msn server with my avatar cache?
If i don't compare that, emesene stores the same picture everytime as a different avatar.
i can save the picture taken from server in a gtk.gdkPixbuf and then compare the pixels array of that pixbuf with the pixel arrays of every avatar in my cache.....better ways??
«
Last Edit: February 10, 2010, 05:09:50 AM by cando
»
Logged
Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
hit^
Hero Member
l33tness: 1
Offline
Posts: 335
svn up´d
Re: 1.6.1 plan
«
Reply #68 on:
February 10, 2010, 05:14:09 AM »
Quote from: cando on February 10, 2010, 05:05:54 AM
If i don't compare that, emesene stores the same picture everytime as a different avatar.
Actually this is what WLM does too, not to mention that the roaming one will be with much worse quality..
Logged
"We are changing the world, one commit at a time."
cando
Hero Member
l33tness: 4
Offline
Posts: 278
Re: 1.6.1 plan
«
Reply #69 on:
February 10, 2010, 05:42:17 AM »
so i could only control that the image taken from msn servera it's not the actual avatar...it simplier...what do you think???
Logged
Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
andreskru
Full Member
l33tness: 1
Offline
Posts: 35
Keep hacking
Re: 1.6.1 plan
«
Reply #70 on:
February 10, 2010, 06:49:57 AM »
When I send a file, the tray icon start to blink... its a bug?
Logged
cando
Hero Member
l33tness: 4
Offline
Posts: 278
Re: 1.6.1 plan
«
Reply #71 on:
February 10, 2010, 07:55:48 AM »
Done...implemented picture roaming!!
here't the diff...but for now it works only from emesene to emesene, and from official client to emesene (i don't know why but it works also from emesene to official client only the first time we install the official client...the second time onwards, the official client seems to not update the display picture nor the nick and nor the personal message.
However here it works great from emesene to emesene.Test it!
Logged
Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: 1.6.1 plan
«
Reply #72 on:
February 10, 2010, 11:53:18 AM »
wow, congrats! anyway that tmp stuff is bad, i used that because i wanted to quick hack it..we should use emesene cache, or something like that.. :s
Logged
cando
Hero Member
l33tness: 4
Offline
Posts: 278
Re: 1.6.1 plan
«
Reply #73 on:
February 10, 2010, 12:04:20 PM »
yes...you're right....but now i can't do this thing...i'm a bit busy...maybe you or arielj or anybody else could do it (would you put this in 1.6.1...?)
another question:the problem with the official client is due to a change in the protocol in your opinion?
last:there are other unofficial client that supports full content roaming???or we are the first???amsn don't,pidgin neither...i'm right?
EDIT:i've found a small bug...corrected....i've posted the new diff..
«
Last Edit: February 10, 2010, 12:31:40 PM by cando
»
Logged
Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: 1.6.1 plan
«
Reply #74 on:
February 10, 2010, 12:45:06 PM »
amsn is the only one
Logged
Pages:
1
...
3
4
[
5
]
6
7
...
16
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Main
-----------------------------
=> Announcements
=> Feature Requests
=> Support (emesene1.x, emesene2)
===> Support (emesene 1.0.x) - SUPPORT CEASED
=> Themes
=> HOWTOs
=> Forum/site Requests
=> Offtopic
===> Nonsense
-----------------------------
Development
-----------------------------
=> Emesene
=> Plugins
=> Patches
=> Translations
-----------------------------
International Forum
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Português
TinyPortal v.1.0.6 beta 2 ©
Bloc
Loading...