Saturday, April 04, 2009

New stuff

I implemented sound notifications for emesene, also moved all the notification code to a method that will allow to change debug settings on the fly and not to restart emesene, also you will be able to see the debug on a window or dump it to a file. Also proxy, http method and proxy authentication implemented on e3 and yabber and integrated with the config dialog, so now you can use emesene 2 with those settings.

If you have a proxy/proxy with authentication, please test it and report bugs.

15 comments:

Anonymous said...

When I try to log in I get this error:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/xisco/mesinyer/e3/Worker.py", line 156, in run
self._process(data)
File "/home/xisco/mesinyer/e3/Worker.py", line 195, in _process
self._process_login(message)
File "/home/xisco/mesinyer/e3/Worker.py", line 204, in _process_login
handler(message)
File "/home/xisco/mesinyer/e3/Worker.py", line 435, in _on_login_message
started_from_cache = self._start_from_cache()
File "/home/xisco/mesinyer/e3/Worker.py", line 341, in _start_from_cache
self.socket.send_command('PRP', ('MFN', urllib.quote(nick)))
File "/usr/lib/python2.5/urllib.py", line 1205, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\xe1'

Nuno said...

is it possible to have both msn and gtalk protocols working at the same time?

luismarianoguerra said...

@Anonymous: which is your nick?

@Nuno: nope, that is pidgin :)

Nuno said...

true, but since we are all trying to make open source protocols more used, would the coding be that hard to make both protocols working?im just saying that emesene2 would be more interesting if it had both working at the same time, because pidgin is actually getting worse and ppl are starting to look for alternatives

Anonymous said...

/usr/lib/python2.5/urllib.py:1205: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
res = map(safe_map.__getitem__, s)
[22:45:21 sock] >>> CHG 8 HDN 1342472230 0

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/riky/msn/mesinyer/e3/Worker.py", line 156, in run
self._process(data)
File "/home/riky/msn/mesinyer/e3/Worker.py", line 195, in _process
self._process_login(message)
File "/home/riky/msn/mesinyer/e3/Worker.py", line 204, in _process_login
handler(message)
File "/home/riky/msn/mesinyer/e3/Worker.py", line 435, in _on_login_message
started_from_cache = self._start_from_cache()
File "/home/riky/msn/mesinyer/e3/Worker.py", line 341, in _start_from_cache
self.socket.send_command('PRP', ('MFN', urllib.quote(nick)))
File "/usr/lib/python2.5/urllib.py", line 1205, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\xe0'

juancarlospaco said...

Tenemos soporte estable para el nuevo sistema de notificaciones de Jaunty?

luismarianoguerra said...

@Nuno: the problem is that the changes make the gui more complex and less messenger like. At the end it will end up like half pidgin, that is what pidgin is for.

@juancarlospaco: no notification extensions yet

Orfeo C said...

/home/otacon/emesene2/e3/challenge.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Could not load one of the supported DNS libraries (dnspython or pydns). SRV records will not be queried and you may need to set custom hostname/port for some servers to be accessible.
/home/otacon/emesene2/yaber/xmpp/auth.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha,base64,random,dispatcher,re
Traceback (most recent call last):
File "emesene.py", line 291, in module
controller = Controller()
File "emesene.py", line 41, in __init__
self._setup()
File "emesene.py", line 56, in _setup
extension.set_default_by_id('session', default_id)
File "/home/otacon/emesene2/extension.py", line 163, in set_default_by_id
get_category(category_name).set_default_by_id(id_)
File "/home/otacon/emesene2/extension.py", line 118, in set_default_by_id
raise ValueError('extension id not registered on %s' % (self.name,))
ValueError: extension id not registered on session

Orfeo C said...

After substitution
md5 -> hashlib
and installing
python-dns
Traceback (most recent call last):
File "emesene.py", line 291, in module
controller = Controller()
File "emesene.py", line 41, in __init__
self._setup()
File "emesene.py", line 56, in _setup
extension.set_default_by_id('session', default_id)
File "/home/otacon/emesene2/extension.py", line 163, in set_default_by_id
get_category(category_name).set_default_by_id(id_)
File "/home/otacon/emesene2/extension.py", line 118, in set_default_by_id
raise ValueError('extension id not registered on %s' % (self.name,))
ValueError: extension id not registered on session

I'm under Ubuntu Jaunty

luismarianoguerra said...

Try removing the config file from your config path

~/.config/emesene2/youraccount/config

the extensions need more error handling :)

efe said...

dini sohbet - dini chat -alemsohbet -film izle -dizi izle -bedeva film izle -sohbet -chat - sohpet - yonja - netlok - netlog - sohbet - yonja - sohbet - chat - sohpet - netlog - netlok - irc - sngt - sohbet - alemsohbet - alem sohbet - sohbet - sohbet odalari - chat - sohbet - manolya - yonja - sohbet -balim -balim sohbet -cet -lez sohbet -mirc - sohbet -sohbetci -facebook -sohbet -yonja -sohbet chat -mirc indir -film izle -dizi izle -bedeva film izle -film izle -dizi izle -bedeva film izle -


htp://www.aygulum.net
htp://www.alemsohbetde.net
htp://www.alemsohbette.net
htp://www.manolyam.net
htp://www.sohbettadi.com
htp://www.sohbetcide.com
htp://www.mirc-tc.com
htp://www.balimsohbet.com
htp://www.dinisohbet.us

Orfeo C said...

Ok Mariano, now all is working!

So, it's necessary to import hashlib instead of md5?
I've updated the sources importing hashlib and all is pretty working but a bit of code should be refactored (i.e. md5.method doesn't work...naturally!!!)

I think that emesene2 could be used as MSN client (naturally only for devs). So if you'll implement the System Tray we can use, test, debug and report bug for emesene by ABUSING of it XD

luismarianoguerra said...

@Orfeo C: can you send me a mail so we can be in contact?

Orfeo C said...

Ok i've sent you a mail to the gmail account you're using in this page!

karkul said...

Hola, de donde puedo descargar alguna version funcional que utilice el proxy, que mencionas en tu post.

Me gustaría contribuir en el testing, debuging y patching del método que utiliza el proxy.