neutron log

gajim@conference.gajim.org

Thursday, February 28, 2008


[00:00] <mgol> is there any option in Gajim to disable auto-looking for services available at server? (we now have some problems with jabster.pl, it would be nice to be able to disable such an option until they repair it - as a workaround)
[00:07] <mgol> ok, no problem - maybe they'll repair it tomorrow...
[02:55] <Aaron> how do i connect to irc via gajim?
[02:55] <Aaron> my server seems to support it (it's a discovered service anyway), but i guess i'm not getting the syntax right
[02:56] <atoponce> do i join it like any regular muc?
[03:19] <atoponce> figured i'd put this session in irssi
[05:14] <johnny> atoponce, you most likely do, but the syntax is funny
[05:14] <johnny> user%server@irc.domain.com
[05:15] <johnny> err
[05:15] <johnny> nick%ircserver@irctransport.domain.com
[05:17] <atoponce> nick or channel?
[07:45] <Asterix> it's channel
[08:19] <johnny> oh .. duh
[08:19] <johnny> channel%ircserver@irctransport
[08:21] <sgala> a very basic python question: I have a program that uses time.strptime to parse times from an internet API
[08:21] <sgala> but it gives errors depending on the locale the user has set up, as the strings are always in English
[08:22] <sgala> I can't find a way to parse a time string *in Englishi*
[08:22] <sgala> any clue?
[08:23] <Asterix> can't you just re-create the english string with %* things?
[08:26] <sgala> I want to parse, not to create
[08:27] <sgala> "%a" parsed Wed in an English locale, but Mer in French or Mie in Spanish
[08:27] <sgala> I mean parses
[08:48] <Asterix> hmm ok
[08:48] <Asterix> so play with locale module to setup english locale before parsing
[08:48] <sgala> and back to whatever it was after? I can't believe python has not a better API for that common use case
[08:50] <sgala> I would, for once, need to read what the locale value is before, set up english, parse the string, set up the old one and pray in case a different thread chenged it half way
[08:50] <Asterix> I don't know but locale.getlocale('LC_ALL') and setlocale('LC_ALL', 'en') could do the trick
[08:50] <sgala> I actually only care about LC_CTIME
[08:51] <Asterix> yes ok
[08:51] <Asterix> LC_CTIME don't exist, it's LC_TIME I think
[08:51] <Asterix> LC_TIME
Locale category for the formatting of time. The function time.strftime() follows these conventions.
[08:53] <sgala> >>> locale.getlocale(locale.LC_TIME)
[08:53] <Asterix> that returns (None, None) here
[08:54] <sgala> same here, but after some gtk work it cchanges
[08:54] <Asterix> ok
[08:54] <Asterix> indeed
>>> import gtk
>>> import locale
>>> locale.getlocale(locale.LC_TIME)
('en_US', 'utf-8')
[08:55] <Asterix> sgala: BTW my modelfilter patch begins to be usable, so when you have a bit of time could you try it and tell me if you see errors or bad behaviour?
www.gajim.org/modelfilter.patch
[08:55] <sgala> I have it around, I'll eventually try it later
[08:55] <Asterix> ok thanks
[08:56] <Asterix> next step will be to send it to devel to have a bit more feedback before committing it
[09:28] <parth barot> can i use Hindi language ?
[09:29] <Asterix> Gajim is not translated in this language, but if you want to translate it, I can explain you how to do :)
[09:29] <parth barot> thru WinXP ?
[09:29] <Asterix> you only need a text editor
[09:29] <parth barot> k tell me...
[09:29] <Asterix> cool
[09:29] <parth barot> ok?
[09:29] <Asterix> http://trac.gajim.org/wiki/DevTranslate
[09:30] <parth barot> le me c
[09:30] <Asterix> I create the file for you
[09:30] <Asterix> what is the language code ?
[09:31] <Asterix> is it hi?
[09:32] <parth barot> yah..but this looks time consuming... anyways..will check it...
[09:32] <parth barot> i have to manually do it? for hindi language?
[09:32] <Asterix> there are about 1800 strings to translate
[09:33] <parth barot> :( :'(
[09:33] <parth barot> u make me cry... and also hindi needs separate fonts or Unicode characters i have to do....
[09:33] <parth barot> ok 1 mint
[09:33] <Asterix> if you want to give it a try:
www.gajim.org/hi.po
[09:35] <parth barot> k in 'msgstr ""' i haveto put my strings right?
[09:35] <parth barot> thanks dude...
[09:35] <Asterix> yep exactly
[09:35] <parth barot> btw, i like ur feature of logs.db ... using sqlLite...
[09:35] <parth barot> keep this up :)
[09:35] <parth barot> pidgin sucks in logging
[09:35] <Asterix> poedit can help you, it's a tool to edit thos translation files
[09:37] <parth barot> k will chk it
[09:37] <parth barot> but this link can be important for u...
[09:37] <parth barot> http://www.iit.edu/~laksvij/language/
[09:38] <parth barot> it has some indian languages...u type in english... it will give u unicode charas of perticular languages...
[09:38] <parth barot> chekc it
[09:38] <parth barot> its IIT proejct... free for public actually...
[09:38] <parth barot> only javascript :)
[09:38] <Asterix> hehe ok
[09:38] <parth barot> no just for ur info... i no u cant understand those languages :)
[09:38] <Asterix> but I can't do anything with that cause I can't translate to hindi :)
[09:39] <parth barot> ya..but htanks...
[09:39] <parth barot> so wht u do? i mean u r the main prog? for gajim?
[09:39] <Asterix> yes
[09:39] <parth barot> and how many total prog. there?
[09:40] <Asterix> how many programmers in gajim ?
[09:40] <parth barot> i mean...some of u who started it...
[09:40] <Asterix> I started the project
[09:40] <parth barot> who r together initiated the project...
[09:40] <parth barot> k
[09:40] <parth barot> all in python? or GNU C ?
[09:41] <Asterix> and since some dev joined, some left, some send us patches
[09:41] <Asterix> all in python
[09:41] <parth barot> ya... grt
[09:41] <Asterix> and a very few lines of C to build some python modules
[09:41] <parth barot> k onr thing i want to mention...
[09:41] <Asterix> yes?
[09:42] <parth barot> i used pidgin also... it is taking very less memory...
[09:42] <parth barot> gajim takes around 18 to 30 M
[09:42] <Asterix> python takes memory, and GTK too ...
[09:42] <parth barot> while pidgin takes.. 10 to 15M max
[09:42] <parth barot> ya pidgin also on GTK but i think coded in GNU C
[09:42] <parth barot> ok
[09:43] <Asterix> yes it's in C
[09:43] <parth barot> thats y... its cool...but it sucks in 2 things...
[09:43] <parth barot> 1. small chunks of log files.... i had some 2 to 3000 files :'(
[09:43] <parth barot> 2. no broadcast :(
[09:44] <Asterix> broadcast?
[09:44] <parth barot> mean send to all selected...
[09:44] <Asterix> ha ok
[09:47] <parth barot> k
[09:47] <parth barot> so whts new will be in this? :)
[09:47] <Asterix> it's possible in Gajim to send a message to a group or to selected ppl
[09:47] <Asterix> at least in SVN
[09:48] <Asterix> I don't remember in 0.11.4
[09:49] <parth barot> it is... thats y i m addicted to this... + logging is heaven like :)
[09:51] <parth barot> and ya... one thing.. if u can do...
[09:51] <parth barot> drag and drop file sending... :)
[09:53] <johnny> oh yeah.. he'll get right on it.. lol
[09:53] <johnny> howdy asterix
[09:53] <johnny> i'm still gajiming it up :)
[09:53] <parth barot> means?
[09:53] <johnny> maybe one day i'll know enough python to actually implement the logging XEP
[09:53] <parth barot> i need file sending very much...
[09:53] <parth barot> and i have to browse everytime :(
[09:53] <johnny> the drag and drop isn't exactly the most important bug i see in the bug list
[09:54] <johnny> i'm not a dev or anything.. but i do pay attention to the trac
[09:54] <parth barot> k...which one u want then?
[09:54] <johnny> ?
[09:54] <parth barot> i also tell him abt memory gajim takes...
[09:54] <johnny> the ones that are marked critical
[09:54] <johnny> or blockers
[09:54] <parth barot> k
[09:54] <johnny> everybody knows about the memory :)
[09:54] <johnny> just by using it :)
[09:54] <johnny> there's only so much optimization that can be done really
[09:55] <parth barot> u no in latest .11.4.. with new GTK... it crashes when i press Win+D when multiple windows of chats r opened
[09:55] <johnny> and some of it prolly requires more substantial restructuring
[09:55] <parth barot> ya very true... like pidgin...
[09:55] <johnny> well.. i'm not a windows user luckily
[09:55] <johnny> don't have to deal with that :)
[09:55] <parth barot> thast fine dude...
[09:55] <parth barot> which linux u uses?
[09:55] <johnny> uhmm.. ubuntu or gentoo
[09:55] <Asterix> DND for FT woirks
[09:56] <johnny> Asterix, on win?
[09:56] <parth barot> i m abt to plannning for fedora
[09:56] <johnny> i'm using gentoo right now
[09:56] <johnny> but my laptop is ubuntu
[09:56] <johnny> out of the box disk encryption
[09:56] <johnny> was very nice
[09:56] <parth barot> grt man
[09:57] <parth barot> i use win xp..vista sucks.. so i will go for linux...
[09:57] <Asterix> never tested on win ...
[09:57] <johnny> i don't even have a win box to test it on
[09:57] <Asterix> I'll give it a try
[10:33] <parth barot> whers asterik?
[10:34] <steve-e> at work I guess...
[10:38] <Asterix> hehe no I'm in vacation this week ! :)
[10:39] <bot> DatabaseExtract edited by mcepl -
small bug

(diff) -
http://trac.gajim.org/wiki/DatabaseExtract
[15:09] * Merwok modified one line and tabs now behave correctly with arrows \\o/ Asterix président \\o/
[15:13] <vArDo> hi all, is Gajim going to apply for mentoring projects @GoogleSoC2008?
[15:18] <Asterix> vArDo: YES
[15:18] <Asterix> vArDo: through XSF
[15:19] <Asterix> as last 2 past years
[15:22] <vArDo> Asterix: any particular projects? I've thought about implementing whiteboard. however XEP for this (http://www.xmpp.org/extensions/xep-0113.html) is deferred for sometime now. this is also pointed out in one of Gajim's tickets. So probably XSF wouldn't be very happy to hear about this, would they? :>
[15:23] <Asterix> there was a meeting in FOSDEM last week end, and they talked about that ...
[15:23] <Asterix> whiteboard would be a nice feature !
[15:25] <Asterix> maybe a good idea would be to send a mil to standards ML, to ask them what is the best way to implement that in a client
[15:26] <Asterix> we also had some ideas with steve-e:
[15:26] <vArDo> I have been analyzing this at a feature and proof-of-concept level. Me and my friend made some simple points sending. This even worked in MUC. But this was sometime ago so I can't even recall where I keep that code. But it worked.
[15:26] <Asterix> vArDo: in Gajim?
[15:28] <Asterix> some ideas:
tes framewaord: some sort of automated tests to test features in Gajim to avoid regressions
plugin system
BOSH thing
[15:28] <vArDo> Asterix: it was 4 years ago. the problem is that is was written in C++ using GTKmm from scratch. to be honest i didn't know Gajim back then (did it exist?)
[15:29] <Asterix> it was the begining :)
[15:29] <Asterix> first commit 10/22/2003
[15:31] <vArDo> Asterix: plugin system sounds pretty nice. I have some experience in writing 'plugins framework' (this is really to be big word for that) in my master's thesis (this is a documents classification testing 'platform').
[15:31] <vArDo> Asterix: good to know about the start date :)
[15:31] <Asterix> in fact we want to re-write the way events are handled in Gajim in order to allow some plugins
[15:32] <Asterix> and we don't have real idea on the way to implement that
[15:35] <vArDo> Asterix: I've use Gajim SVN for pretty long time but haven't really got into the architecture of Gajim. Just some quick experiments. So I can't really tell what's my idea on that now.
[15:36] <vArDo> Asterix, are there any notes/thoughts about code changes towards plugin system in Gajim?
[15:36] <Asterix> hehe sure
[15:36] <Asterix> no, no notes
[15:36] <vArDo> :]
[15:36] <Asterix> we haven't really looked into it
[15:36] <Asterix> we want to finish things for 0.12 as soon as possible
[15:44] <vArDo> you will have to put out this 'whiteboard idea' in application for mentoring organization through XSF or can this be discussed when student is applying (I think the second one)? I ask in terms of deadlines issue.
[15:45] <Asterix> I think you can send a mail now in standards ML, they are quite fast to answer
[15:46] <Asterix> and according to the answers you'll see if it's a good idea to apply with this project or not
[15:49] <Asterix> but writing a new XEP for that could be part of the project
[15:50] <vArDo> ok, so I'll ask them and get back with info
[15:50] <Merwok> Did you investigate how IRC/Jabber bots handle plugins?
[15:50] <Merwok> There are signals (``muc_new_participant`` e.g.) and registered hooks to do things.
[15:51] <Asterix> back in 30 minutes
[15:53] <Merwok> One thing I would like in Gajim is logging instead of ``except: pass``, so as to know what really happens.
[16:08] <vArDo> about whiteboard: i've found a few docs, i.e.: http://www.protocol7.com/jabber/whiteboard_proposal.txt and discussions at XSF MLs - one of them: http://www.protocol7.com/jabber/whiteboard_proposal.txt . I'll check them out briefly ASAP (maybe our question was answered) and write e-mail to standards list.
[16:09] <Merwok> Gajim \\o_ _o\| \|o_ \\o_
[16:09] <Merwok> Love seeing bugs I report solved.
[16:11] <Hawke> Wow, I like the new show/hide offline contacts code
[16:11] <Hawke> esp. the bit where it minimises the groups that have no online contacts, that's slick
[16:16] <Hawke> (that latter may have been there before, but the "show offline" action was so slow that I never used it after that was put in. :-D
[16:19] <odin> aa
[16:25] <vArDo> Asterix, I've found this;
[16:25] <vArDo> http://mail.jabber.org/pipermail/juser/2007-December/002006.html
[16:26] <vArDo> which states that whiteboard editing should use 'shared xml editing' general approach: http://www.xmpp.org/extensions/inbox/sxde.html
[16:27] <vArDo> Asterix, the question is if someone will accept writing whiteboard in GSoC based on sth that isn't really production-ready. I'm eager to do this - the question is whether Google is eager to accept it :)
[16:27] <vArDo> Asterix, be back in few hours
[16:31] <Asterix> Hawke: ha cool you tested it, no pb found? no GTK warninf in console?
[16:32] <Asterix> vArDo: Google don't decide what is accepted or not, XMPP members (me included) do
[16:32] <Hawke> Asterix: Anything in particular I should check?
[16:32] <Hawke> Asterix: no problems on startup or when showing/hiding offline contacts
[16:33] <Hawke> a couple of numbers are printed to the console, but I don't know if that's because of the patch
[16:33] <Hawke> 0.0 and 0.72 are the numbers
[16:33] <Asterix> yes numbers are normal
[16:33] <Hawke> k
[16:33] <Asterix> steve-e already saw some GTK warning in console, but I can't repro ...
[16:34] <Hawke> brb
[16:37] <Asterix> vArDo: and I think that if include the writting of the XEP in your gsoc project it could be welcome. Just my opinion.
[16:45] <Hawke> Asterix: what do those numbers mean?
[16:47] <Asterix> it's the time to load the roster of each contact in the treeview
[16:47] <Asterix> s/contact/account
[16:47] <Hawke> shouldn't it have more than two listings t...ah
[16:52] <Hawke> I see it shows the numbers regardless of whether the account is active. :-)
[16:57] <Merwok> Sorry for having left so, my operating system just wanted to freeze \*sigh*.
[16:58] <Merwok> Asterix, you’re an XSF member?
[16:58] <Asterix> no, but I vote for gsoc projects
[16:59] <Merwok> Ok. Nice.
[17:18] <Merwok> By the way Asterix what do you study/do?
[17:20] <Asterix> I'm a teacher
[17:24] <Merwok> CS teacher? I thought you were as young as we who hang out here (between 20 and 30) ^^
[17:24] <Asterix> I'm 27
[17:24] <Asterix> an electronic teacher
[17:25] <Hawke> you're a robot!? ;-)
[17:27] <Asterix> hehe no :)
[17:29] <Merwok> Oh, so you teach electronics and do software for fun ;)
[17:32] <Asterix> yep
[18:12] <Merwok> See you all.
[18:21] <Merwok> Speaking of plugins, it would be nice to have a way like the XUL overlay thingie but with less crap (I dunno if Glade already allows that sort of things, changing part of a GUI) to customize the interface, e.g. to write an extension to display icons for the Jabber client and the OS beside contact names.
[19:13] <bot> Changeset [9345]: Alignement and bold typing changes in vcard and profile window. Nothing as … -
Alignement and bold typing changes in vcard and profile window. Nothing as usual.

-
http://trac.gajim.org/changeset/9345
[19:16] <Jim++> yop
[19:17] <Jim++> hey steve-e
[19:18] <steve-e> huhu Jim++
[19:18] <steve-e> unreliable connection today? or just testing the modelfilter patch? xD
[19:18] <Jim++> modelfilter ...
[19:18] <Hawke> hey Asterix, I just got an assertion, presumably related to the offline patch...
[19:19] <Hawke> gajim.py:3019: GtkWarning: file /build/buildd/gtk+2.0-2.12.8/gtk/gtktreeview.c: line 5948 (validate_visible_area): assertion `has_next' failed.
[19:19] <Jim++> could you try if you have the bug too steve-e ? could be my old gtk, Asterix doesn't have the bug
[19:19] <Asterix> Hawke: hmmm assertion `has_next' failed ... what could it mean ...
[19:20] <Hawke> "There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect."
[19:20] <Hawke> whatever should have a next .... thinger.... doesn't. :-)
[19:21] <steve-e> Jim++, which bug?
[19:21] <steve-e> Asterix, I think that is the source of all the problems (even my assertion one) we just have to find it
[19:21] <Asterix> yes but as I don't really understand the pb, hard to fix it :/
[19:22] <steve-e> I got it a few times after I made my changes
[19:22] <Hawke> well...does gajim change the GtkTreeModel ?
[19:22] <Asterix> no, we just read it, and change the child model
[19:23] <Jim++> steve-e, a contact has just disconnected, you right click on him and don't click on the menu. When he really disappear from roster, you click on menu -> BOUM
[19:23] <steve-e> segfault?
[19:23] <Jim++> yes
[19:23] <steve-e> I have seen this too, yeah
[19:24] <Jim++> damned
[19:24] <Jim++> gtk version ?
[19:24] <steve-e> 2.12...
[19:24] <Jim++> 2.10.11 here
[19:24] <Jim++> Asterix, ?
[19:24] <steve-e> 2.12 too
[19:24] <Jim++> .something?
[19:25] <steve-e> debian guys patch everything, maybe they applied some patches?
[19:25] <Asterix> 2.12.8
[19:25] <Jim++> steve-e, exact version ?
[19:26] <Hawke> 2.12.8 here
[19:26] <Hawke> (-1)
[19:28] <steve-e> 2.12.7
[19:29] <steve-e> just got the same error
[19:29] <steve-e> 4 times in a row
[19:29] <Jim++> crash ?
[19:30] <steve-e> urg
[19:30] <steve-e> not yet
[19:30] <steve-e> but now as I move my mouse over the roster I get funny things in console xD
[19:30] <steve-e> Jim++, I am talking about " gtk.main()
gajim.py:3019: GtkWarning: file gtktreeview.c: line 4859 (gtk_tree_view_bin_expose): assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect."
[19:30] <steve-e> not the online offline thing
[19:31] <Jim++> ok
[19:31] <Asterix> why do I never get errors ...
[19:31] <steve-e> maybe you could disconnect and let me test?
[19:31] <Jim++> how to repro ?
[19:31] <Jim++> steve-e, ok
[19:31] <steve-e> good question..
[19:31] <Jim++> be ready :p
[19:31] <steve-e> goog
[19:31] <steve-e> -.-
[19:32] <steve-e> it worked
[19:32] <Hawke> I have no idea how to repro; it didn't seem to be related to actually doing a show/hide though
[19:32] <steve-e> you were shown as offline but remained in the treeview and I was able to show your history
[19:32] <Jim++> steve-e, but you're still there !
[19:32] <Jim++> ah...
[19:33] <Jim++> Hawke, you mean show offlines ?
[19:33] <Hawke> yeah
[19:33] <Lunks> tray icon is missing when using version from svn :> probably some package missing, but which?
[19:34] <Lunks> version from repo works fine
[19:34] <Hawke> Lunks: python-gnome2-extras, on debian/ubuntu
[19:34] <Hawke> or you need to run 'make' to use gajim's copy of the same code
[19:34] <Lunks> ok, tnx
[19:34] <Lunks> I'll try
[19:35] <Lunks> worked =)
[19:36] <Lunks> I have 2 questions: How to revert tray click to old behaviour, and is there a shortcut to popup unread messages?
[19:36] <Lunks> I'm using a notebook with no middle-button =\
[19:38] <Hawke> which old behavior?
[19:38] <Asterix> Lunks: no way to go to old behaviour, click with both buttons
[19:38] <Asterix> Lunks: or configure a key to call gajim-remote show_next_pending_event
[19:39] <Lunks> hmm great
[19:39] <Lunks> that would do it =)
[19:41] <Jim++> steve-e, hum it's when contact is ABOUT to be removed, the red disappear, I click nothing and freeze
[19:43] <Asterix> I can't stay, don't hesitate to send me a mail if you have comments
[19:44] <Jim++> you leave NOW you mean Asterix ?
[19:46] <Asterix> no, but I have ppl at home
[19:49] <Jim++> ok
[19:49] <Jim++> force them to try the modelfilter patch
[19:50] <_Andrey_> time to time gajim disconnects from pyicq-t and wont connect again.
if i restart gajim it connect successfully
[19:52] <Jim++> _Andrey_, any look to the xml, at least when trying to reconnect ?
[19:52] <Jim++> (to the gateway)
[19:53] <_Andrey_> Jim++, it send message <presence> without reply
[19:54] <_Andrey_> but i can view transport info
[19:55] <Jim++> what can we do if it doesn't answer ?
[19:56] <Jim++> maybe your server is not relaying custom status, but that would be strange...
[20:00] <Jim++> wasn't there a ticket about that one, someone ?
[20:00] <Jim++> hi sgala
[20:03] * sgala is commuting right now, I get much more network failures when using mobile
[20:03] <sgala> I guess it is timing specific, let's see if I can fix DNS to be truly async and it still happens
[20:12] <steve-e> sgala, sounds great
[20:12] <steve-e> I also noticed you started to push some of your patches into a git repository
[20:19] <steve-e> for those of you using modelfilter: Do you have this warning, too?
gajim/src/roster_window.py:757: GtkWarning: gtk_tree_model_filter_iter_has_child: assertion `filter->priv->stamp == iter->stamp' failed
if iter and self.modelfilter.iter_has_child(iter):
[20:20] <Jim++> no, but using the patch for one hour only
[20:22] <steve-e> was it that broken for you?
[20:22] <Hawke> I don't see that warning
[20:23] <Hawke> I did get this since though: gajim.py:3019: GtkWarning: file /build/buildd/gtk+2.0-2.12.8/gtk/gtktreeview.c: line 6154 (do_validate_rows): assertion `gtk_tree_model_iter_next (tree_view->priv->model, &iter)' failed.
[20:25] <steve-e> :-/
[20:25] <Jim++> 21:22:02 steve-e: was it that broken for you? <- uhh, what ?
[20:26] <steve-e> the modelfilter patch
[20:27] <Jim++> you phrase mean something ? :D
[20:29] <Lunks> Asterix, that gajim-remote stuff worked, but it's not gaining focus, anything I can do?