2008-09-18T08:45:37  <ThomasWaldmann> moin
2008-09-18T11:23:06  <xorAxAx> hi byeongweon_linux, new os? :)
2008-09-18T11:42:11  <dreimark> moin
2008-09-18T12:50:04  <CIA-25> Reimar Bauer <rb.proj AT googlemail DOT com> default * 281:719972ccd60e 1.7-extensions/htdocs/arnica/css/arnica_slides.css: css arnica_slides: fixed border-width
2008-09-18T12:50:07  <CIA-25> Reimar Bauer <rb.proj AT googlemail DOT com> default * 283:a78aa5f8faf7 1.7-extensions/htdocs/arnica/css/msie_arnica_slides.css: (log message trimmed)
2008-09-18T12:50:07  <CIA-25> css htdocs/arnica/css/msie_arnica_slides.css: added MS Internet explorer bug workarounds for :before
2008-09-18T12:50:07  <CIA-25> this needs an extension of the html_head definition:
2008-09-18T12:50:07  <CIA-25> html_head = '''
2008-09-18T12:50:09  <CIA-25> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="%(url_prefix_static)s/arnica/css/text_x_arnica.css">
2008-09-18T12:50:12  <CIA-25> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="%(url_prefix_static)s/arnica/css/arnica_slides.css">
2008-09-18T12:50:15  <CIA-25> <!-- css only for MSIE browsers -->
2008-09-18T16:13:02  <CIA-25> Reimar Bauer <rb.proj AT googlemail DOT com> default * 284:8644cd5736e2 1.7-extensions/htdocs/arnica/css/msie_arnica_slides.css: fixed ie6/7 css workaround
2008-09-18T16:26:32  <byeongweon_gtx> xorAxAx: I have few computers.
2008-09-18T17:17:05  <CIA-25> Reimar Bauer <rb.proj AT googlemail DOT com> default * 285:adfa029a1340 1.7-extensions/htdocs/arnica/css/text_x_arnica.css: css text_x_arnica: icons of toolbox do float now too. (this fixes the ie6 bug for showing icons on the right side outside of the image frame)
2008-09-18T18:03:15  <CIA-25> Reimar Bauer <rb.proj AT googlemail DOT com> default * 286:e97e9ceaa704 1.7-extensions/data/plugin/CHANGES_arnica: updated CHANGES
2008-09-18T19:36:45  <rootard> Is this a bad place to ask questions about the jabber bot for MoinMoin?
2008-09-18T19:52:07  <xorAxAx> rootard: no
2008-09-18T19:52:34  <xorAxAx> rootard: just ask and be taught by karol :)
2008-09-18T19:56:54  <rootard> xorAxAx: thanks
2008-09-18T19:58:22  <rootard> So I have moinmoin installed and want to setup a bot that connects to our jabber server. I've followed the available setup instructions but I get an exception when the bot attempts to connect: http://rafb.net/p/6rXHRb39.html
2008-09-18T19:59:10  <xorAxAx> you are probably missing some python ssl lib, no idea
2008-09-18T19:59:12  <xorAxAx> grzywacz: any idea?
2008-09-18T20:00:25  <rootard> I have python-pyopenssl installed
2008-09-18T20:00:35  <rootard> (Debian based package)
2008-09-18T20:00:52  <grzywacz> Hm.
2008-09-18T20:00:57  <grzywacz> rootard, what server is that?
2008-09-18T20:01:02  <grzywacz> It may be using a legacy auth method.
2008-09-18T20:01:55  <rootard> ejabberd 2.0.1
2008-09-18T20:02:39  <rootard> I'm pretty sure I have legacy and plaintext auth mechanisms disabled.
2008-09-18T20:03:42  <grzywacz> ok
2008-09-18T20:04:31  <rootard> Does the bot support tls by default?
2008-09-18T20:05:31  <grzywacz> It depends on pyxmpp, but yes, it should.
2008-09-18T20:05:34  <rootard> This might be a silly question but is this valid: xmpp_node = u"moin@bots.uahirise.org"
2008-09-18T20:05:43  <grzywacz> You need m2crypto for that.
2008-09-18T20:08:14  <grzywacz> rootard, um, I think it's not correct.
2008-09-18T20:08:15  * rootard looks at getting m2crypto
2008-09-18T20:09:06  * grzywacz looks at wherever the documentation got lost
2008-09-18T20:09:52  <rootard> ok, my server name != bots.uahirise.org
2008-09-18T20:10:03  <grzywacz> %)
2008-09-18T20:10:23  <grzywacz> I think the properties in config.py have reasonable comments. xmpp_node should be just your username
2008-09-18T20:10:35  <grzywacz> xmpp_server should be the hostname
2008-09-18T20:11:03  <rootard> right, but I have virtual domains on the server
2008-09-18T20:11:30  <grzywacz> ?
2008-09-18T20:11:33  <rootard> our users are all @uahirise.org while bots get authenticated differently under bots.uahirise.org
2008-09-18T20:12:26  <rootard> so, if that syntax isn't correct then I'm not sure how to specify the full auth name?
2008-09-18T20:12:33  <xorAxAx> the server name is different from the host part of the jid?
2008-09-18T20:12:35  <xorAxAx> not bad :)
2008-09-18T20:12:45  <grzywacz> Yeah, I'm confused
2008-09-18T20:12:51  <rootard> exactly
2008-09-18T20:13:37  <grzywacz> How does that work with s2s DNS verification?
2008-09-18T20:14:01  <rootard> s2s implementations require the use of SRV records if they are implemented in DNS
2008-09-18T20:14:31  <grzywacz> Sounds correct. Ugh.
2008-09-18T20:14:46  <rootard> sorry :-/
2008-09-18T20:14:59  <grzywacz> Ok, get m2crypto and keep the config as it is.
2008-09-18T20:15:08  <grzywacz> I'm not sure how pyxmpp is going to handle that, tho :)
2008-09-18T20:15:16  * rootard continues on quest to get m2crypto
2008-09-18T20:16:29  <ThomasWaldmann> re
2008-09-18T20:17:12  <grzywacz> Just from skimming of the code it seems that it may work just fine.
2008-09-18T20:17:19  <grzywacz> re ThomasWaldmann
2008-09-18T20:18:29  <rootard> As long as the code doesn't set the auth name as "%s@%s" % (xmpp_node, xmpp_server) unconditionally...
2008-09-18T20:19:04  <grzywacz> it doesn't
2008-09-18T20:19:32  <grzywacz> (seem to) :P
2008-09-18T20:22:49  <harpette> Any idea why i had to put <style="border: none"> at every single cell of all the tables at http://fontconfig.org/wiki/Manual/5/fonts-conf#head-993d3dfabc8c024aad1712aa05980447fe049c38 ? <tablestyle="border: none"> wouldn't work (makes no diff), nor <rowstyle>
2008-09-18T20:23:40  <ThomasWaldmann> btw, this is the development channel :)
2008-09-18T20:24:07  <harpette> indeed. Since i got no answer in the user channel, i thought i'd ask the experts
2008-09-18T20:26:03  <rootard> I installed m2crypto and still no change.
2008-09-18T20:27:06  <grzywacz> ok
2008-09-18T20:33:20  <grzywacz> Well, that looks like an xmpp/ejabberd issue. I'll have to investigate it further. It looks like pyxmpp ignores sasl: auth methods if stream version is not set or something.
2008-09-18T20:33:58  <rootard> grzywacz: do you have access to an ejabberd server?
2008-09-18T20:34:32  <grzywacz> rootard, administrative access? No.
2008-09-18T20:34:40  <grzywacz> rootard, doesn't jabber.org run ejabberd?
2008-09-18T20:35:02  <rootard> Not sure, I don't track them :)
2008-09-18T20:36:28  <grzywacz> rootard, out of curiosity, can you use psi or something to negotiate a connection with your server and see what the <stream> tag looks like?
2008-09-18T20:38:11  <ThomasWaldmann> grzywacz: apropos pyxmpp - is there something released now?
2008-09-18T20:38:15  <grzywacz> Anyway, for a workaround you might actually want to try a different auth over ssl.
2008-09-18T20:38:34  * rootard is trying to figure out how to do this...
2008-09-18T20:38:53  <grzywacz> ThomasWaldmann?
2008-09-18T20:39:14  <grzywacz> ThomasWaldmann, there's been no new versions since 2006
2008-09-18T20:39:28  <grzywacz> At least according to the changelog.
2008-09-18T20:41:09  <ThomasWaldmann> so nobody manage to make a new minor release so we don't need repo checkout?
2008-09-18T20:41:29  <rootard> ahh, the problem might be in the tls certificate. the certificate is "uahirise.org" while the xmpp realm is bots.uahirise.org...
2008-09-18T20:41:48  <dennda> that doesn't raise a problem with xmpppy at least
2008-09-18T20:41:55  <dennda> beware though, completely different library
2008-09-18T20:43:20  <grzywacz> dennda, dunno, the last time I looked at "Advanced documentation" section of xmpppy (http://xmpppy.sourceforge.net/advanced.html) it made me cry ;)
2008-09-18T20:43:28  <dennda> grzywacz: indeed
2008-09-18T20:44:17  <dennda> grzywacz: I felt the need to shoot the person who dared put that crap online :-)
2008-09-18T20:44:41  <dennda> but the library itself isn't that hard to use once you get over the worst documentation on earth (TM)
2008-09-18T20:45:36  <rootard> grzywacz: http://rafb.net/p/jRiiBA67.html
2008-09-18T20:45:54  <rootard> there is the full login process via PSI for that account.
2008-09-18T20:46:12  <rootard> minus some the specific challenge response strings.
2008-09-18T20:46:45  <grzywacz> rootard, looks fine to me... :(
2008-09-18T21:01:51  <grzywacz> rootard, maybe pyxmpp doesn't support your configuration scenario after all
2008-09-18T21:02:27  <rootard> I'm looking through the source to see if I can set tls settings somewhere
2008-09-18T21:02:45  <grzywacz> tls is not a problem
2008-09-18T21:03:34  <rootard> psi would't connect until I specified ignore ssl errors since my cert name doesn't match my realm name
2008-09-18T21:03:42  <grzywacz> I've just dug deeper and it looks like it simply decomposes the jid if it's in the full form, ignoring the separately specified hostname
2008-09-18T21:04:09  <grzywacz> rootard, nah, jabber.org has/used to have an invalid certificate and pyxmpp would connect just fine
2008-09-18T21:05:56  <grzywacz> rootard, you may want to look at jid.py, line 88 and onward
2008-09-18T21:08:42  * rootard is looking
2008-09-18T21:11:09  <rootard> moin@bots.uahirise.org@jabs.uahirise.org/pirlwiki
2008-09-18T21:11:13  <rootard> :D
2008-09-18T21:11:30  <grzywacz> lol
2008-09-18T21:13:19  <grzywacz> I'm afraid it won't work.
2008-09-18T21:17:00  <rootard> hee! it works!
2008-09-18T21:18:34  <grzywacz> O_o;
2008-09-18T21:20:24  <rootard> http://rafb.net/p/tZ88wZ91.html
2008-09-18T21:21:33  <grzywacz> I see.
2008-09-18T21:21:52  <rootard> Will you accept the patch?
2008-09-18T21:23:41  <grzywacz> Makes sense.
2008-09-18T21:23:43  <grzywacz> xorAxAx? ;)
2008-09-18T21:24:22  <xorAxAx> sorry, busy
2008-09-18T21:32:23  <grzywacz> rootard, I think it would be better to always specify the full jid in xmpp_node
2008-09-18T21:32:34  <grzywacz> ThomasWaldmann, what state is 1.7 in?
2008-09-18T21:32:42  <grzywacz> ThomasWaldmann, still accepting bigger changes?
2008-09-18T21:34:18  <ThomasWaldmann> grzywacz: no
2008-09-18T21:34:40  <ThomasWaldmann> depending on the definition of bigger, either 1.8 or 1.9
2008-09-18T21:36:25  <grzywacz> ThomasWaldmann, introducing config file incompatibility
2008-09-18T21:36:48  <rootard> (for the xmpp bot)
2008-09-18T21:37:04  <grzywacz> Yes.
2008-09-18T21:37:33  <grzywacz> Well, rootard's patch doesn't do that. My "cleanup" idea would, so I guess the solution is to use his idea for 1.7 and a proper one for 1.8
2008-09-18T21:39:50  <ThomasWaldmann> that patch looks rather harmless. can someone summarize in a few words why it is needed?
2008-09-18T21:40:20  <rootard> Some XMPP configurations do not have a matching server and realm name
2008-09-18T21:40:29  <grzywacz> ThomasWaldmann, to decouple domain name used in jid from the server address
2008-09-18T21:41:51  <ThomasWaldmann> i think the patch is ok for 1.7. i'd like to have the patch include a hunk for docs/CHANGES, though.
2008-09-18T21:43:07  <grzywacz> I'll take care of mentioning it in changes.
2008-09-18T21:43:18  <rootard> grzywacz: thanks
2008-09-18T21:43:36  <grzywacz> As soon as I bring my python env to a working state ;)
2008-09-18T21:43:40  <grzywacz> rootard, no, thank *you*
2008-09-18T21:44:03  <ThomasWaldmann> and for 1.8, anything that can be finished ASAP is ok. release is soon...
2008-09-18T21:44:17  <rootard> your welcome for the patch. Thanks for bearing with me.
2008-09-18T21:44:51  <rootard> Also, MoinMoin rocks!
2008-09-18T21:44:56  <rootard> ttfn
2008-09-18T21:49:58  <dennda> ttfn?
2008-09-18T21:52:14  <ThomasWaldmann> google knows
2008-09-18T21:56:07  <grzywacz> My memory fails...
2008-09-18T21:56:22  <grzywacz> Was there anything that has to be changed in wikiconfig to enable xmlrpc?
2008-09-18T21:58:11  <grzywacz> Ah, actions_disabled = []?
2008-09-18T21:58:20  <grzywacz> ah
2008-09-18T21:58:22  <grzywacz> not
2008-09-18T21:58:59  <grzywacz> actions_excluded...
2008-09-18T22:06:13  <ThomasWaldmann> yeah
2008-09-18T22:07:24  * ThomasWaldmann fixes backup action configuration
2008-09-18T22:19:54  <CIA-25> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4108:1cd493d5e113 1.8/ (3 files in 3 dirs): fix backup action configuration (broke on windows due to backslashes in e.g. cache_dir)
2008-09-18T22:21:24  <grzywacz> omg, someone broke jabberbot xmlrpc ;)
2008-09-18T22:22:49  <grzywacz> exceptions.AttributeError: XmlRpc2 instance has no attribute '_generate_auth_token'
2008-09-18T22:27:05  <grzywacz> ThomasWaldmann
2008-09-18T22:28:31  <ThomasWaldmann> hm?
2008-09-18T22:29:10  <grzywacz> ThomasWaldmann, you changed xmlrpc authorization but forgot to update the jabber bot part
2008-09-18T22:29:16  <grzywacz> hg diff -r 2799 __init__.py
2008-09-18T22:29:20  <grzywacz> in MoinMoin/xmlrpc
2008-09-18T22:29:37  <grzywacz> The code still references the removed _generate_auth_token method
2008-09-18T22:31:30  <ThomasWaldmann> give hashes please or a repo http url
2008-09-18T22:32:03  <grzywacz> eab2cd188ca6
2008-09-18T22:34:15  <ThomasWaldmann> i don't see a problem in that changeset
2008-09-18T22:39:00  <grzywacz> ThomasWaldmann, it removes the _generate_auth_token method
2008-09-18T22:40:18  <grzywacz> ThomasWaldmann, and leaves a reference to it in xmlrpc_getJabberAuthToken()
2008-09-18T22:40:49  <ThomasWaldmann> http://hg.moinmo.in/moin/1.7/rev/eab2cd188ca6 see there
2008-09-18T22:45:47  <grzywacz> hg diff output is at least weird ....
2008-09-18T22:46:48  <grzywacz> ThomasWaldmann, http://hg.moinmo.in/moin/1.7/diff/25ee42ee758a/MoinMoin/xmlrpc/__init__.py
2008-09-18T22:57:56  <ThomasWaldmann> slap johill :)
2008-09-18T22:58:56  <grzywacz> pft ;)
2008-09-18T23:02:53  <ThomasWaldmann> but strange is that nobody complained yet
2008-09-18T23:03:11  <grzywacz> Apparently nobody uses it for interactive work.
2008-09-18T23:03:29  <grzywacz> Notifications will work fine.
2008-09-18T23:03:57  <dreimark> moin
2008-09-18T23:04:19  <grzywacz> night :)
2008-09-18T23:26:01  <dreimark> gn

MoinMoin: MoinMoinChat/Logs/moin-dev/2008-09-18 (last edited 2008-09-18 07:00:01 by IrcLogImporter)