Friday, October 09, 2009

I want to get the code of emesene 2

Some people is asking where is emesene 2 code available.

well, it's not on svn like emesene 1.x, since the start of emesene 2 we are using git and the code is located at github.

what is git?

simply explained it's a distributed version control system, that means that it allows people having their own repositories.

why would you want that?

anyone that want's to start coding something new can "clone" (copy) a repository and start working on it doing local commits and pushes, people can watch the repository, get the code, test it play with it and even clone it. When it's done this user can ask other programmers to "pull" (get) his code into their repositories. That makes the main repository stable and allow people to try new things and show them.

imagine also that I go crazy and start to port emesene 2 to whitespace, people can clone the latest sane version of emesene and keep coding from there.

also, you can follow experimental branches if you want, or clone the code to play with it.

why git?

I made a poll some time ago and git won :)

so where is the code?

the main repositories are mine and the on from boyska and dxdx they are here:

http://github.com/marianoguerra/emesene
http://github.com/boyska/emesene
http://github.com/dequis/emesene

nice, how do I *really* get the code?

you can click the download button or you can clone the repository using git

firts install it:

sudo aptitude install git-core

or similar for other distros..

then clone the repo

git clone git://github.com/marianoguerra/emesene.git

you can update periodically doing

git pull

edit:

I fixed the problem appearing when papyon wasn't installed, if it's not available the papyon extension will be disabled, try cloning again my repo or updating it.

if you want the papyon extension (to see display pictures) you will have to install it from here:

http://launchpadlibrarian.net/31746931/python-papyon_0.4.2-1%7Eppa9.04%2B1_all.deb

7 comments:

blacknight said...

How do you run it?

I downloaded it from git, and this is my result after trying to run it:

http://pastebin.com/d7b729c91

Anonymous said...

I am on debian sid amd64 (python 2.5.4 and libgtk 2.18.2) and cannot start emesene2...

http://pastebin.com/m209ccf69

Saludos

Anonymous said...

Hi =D

Mariano, the Webkit Output wasn't working here.. Ubuntu 9.10 beta
Then I changed WebKitTextBox.py:

self._textbox.load_string(text, "text/html", "utf-8", "file://")

to:

self._textbox.load_string(text, "text/html", "utf-8", "")

Now it's ok =)

Can you take a look later?

Sorry, my english is very very bad, but I hope I have helped..

=)

Unknown said...

What IDE do you use to code?

I was using Eric to code python + QT.
But maybe there is some better way to do on python + gtk.

By the way, on first test from your repository, emesene2 totally crash my Xorg. Even killing emesene I couldn't get Xorg back, have to restart it. I did it 3 times =)
(i tested again right now and killing gnome-pannel do the trick, the Xorg goes back).

The crash happens on "authentication failed" over msn protocol. It stops everything before any error message.

When the authentication goes ok, there is no crash, but emesene stays no functional.

I would like to begin understanding better the structure and flow from emesene, but i'm not really sure from where to start, so i'm accepting any tip.

Anonymous said...

Hi

I have a problem whith the count @msn.com

isma@linux-60y5:~/Programs/emesene/mesinyer> ./emesene
bar is parsed
Exception in thread Thread-14:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/home/isma/Programs/emesene/mesinyer/e3/msn/Worker.py", line 160, in run
self._process(data)
File "/home/isma/Programs/emesene/mesinyer/e3/msn/Worker.py", line 200, in _process
self._process_login(message)
File "/home/isma/Programs/emesene/mesinyer/e3/msn/Worker.py", line 209, in _process_login
handler(message)
File "/home/isma/Programs/emesene/mesinyer/e3/msn/Worker.py", line 398, in _on_user
succeed = self.do_passport_identification()
File "/home/isma/Programs/emesene/mesinyer/e3/msn/Worker.py", line 285, in do_passport_identification
self.session.extras.update(SSoParser(data).tokens)
File "/home/isma/Programs/emesene/mesinyer/e3/msn/XmlParser.py", line 192, in __init__
self.parser.Parse(xml_raw)
ExpatError: syntax error: line 1, column 0

Unknown said...
This comment has been removed by the author.
Cando said...

I have a problem...i have installed python-papyon but i have this warning You need python-papyon(>=0.4.3) to be installed in order to use this extension...why???