2007-09-01T00:06:56  <grzywa> night
2007-09-01T01:09:04  <ThomasWaldmann> -            except (UnsupportedWikiException, NotAllowedException), (msg, ):
2007-09-01T01:09:04  <ThomasWaldmann> +            except (UnsupportedWikiException, NotAllowedException) as xxx_todo_changeme:
2007-09-01T01:09:28  <xorAxAx> where is that?
2007-09-01T01:09:33  <ThomasWaldmann> please avoid this style or the 2to3 converter will get you, sooner or later :)
2007-09-01T01:09:53  <xorAxAx> the latter is broken
2007-09-01T01:09:53  <ThomasWaldmann> SyncPages
2007-09-01T01:10:08  <xorAxAx> it wont work on py 2.3
2007-09-01T01:10:22  <ThomasWaldmann> it is the 2to3 output :)
2007-09-01T01:10:27  <xorAxAx> ah
2007-09-01T01:10:30  <xorAxAx> well
2007-09-01T01:10:34  <xorAxAx> smallest issue :)
2007-09-01T01:11:12  <xorAxAx> must issues wont be catched by 2to3
2007-09-01T01:15:20  <CIA-13> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2791:927ee24989f3 1.7/MoinMoin/filter/EXIF.py: cosmetic fix: this is NOT octal
2007-09-01T01:15:41  <ThomasWaldmann> yeah, much unicode fun
2007-09-01T01:16:25  <ThomasWaldmann> -def get_files((files, prefix, blacklist), d, names):
2007-09-01T01:16:25  <ThomasWaldmann> +def get_files(xxx_todo_changeme, d, names):
2007-09-01T01:16:35  <ThomasWaldmann> same thing
2007-09-01T01:17:57  <xorAxAx> yes, i know :)
2007-09-01T01:18:03  <xorAxAx> i started liking that syntax
2007-09-01T01:18:15  <xorAxAx> i think i will write it even more often :)
2007-09-01T01:19:51  <ThomasWaldmann> -        return map(lambda m: m.name, self.infolist())
2007-09-01T01:19:51  <ThomasWaldmann> +        return [m.name for m in self.infolist()]
2007-09-01T01:19:58  <ThomasWaldmann> nice converter :)
2007-09-01T01:20:29  <xorAxAx> it shortened the expr
2007-09-01T01:20:41  <ThomasWaldmann> -        return filter(lambda m: m.type in REGULAR_TYPES,
2007-09-01T01:20:41  <ThomasWaldmann> -                      self.tarfile.getmembers())
2007-09-01T01:20:41  <ThomasWaldmann> +        return [m for m in self.tarfile.getmembers() if m.type in REGULAR_TYPES]
2007-09-01T01:20:46  <ThomasWaldmann> even better
2007-09-01T01:21:18  <ThomasWaldmann> -        if isinstance(node, (Element, Markup, basestring, int, float, long)):
2007-09-01T01:21:18  <ThomasWaldmann> +        if isinstance(node, (Element, Markup, basestring, int, float, int)): # XXX needs more A.I.
2007-09-01T01:21:32  <ThomasWaldmann> there it is a bit dumb
2007-09-01T01:25:24  <ThomasWaldmann> same for the usual str, unicode check
2007-09-01T01:37:15  <CIA-13> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2792:e4ebc0bcf5ed 1.7/MoinMoin/ (parser/text_rst.py server/daemon.py): more octal cosmetics
2007-09-01T01:37:16  <CIA-13> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2793:b077f4b271c9 1.7/MoinMoin/support/logging_fix.py: remove a pre python-2.0 anachronism
2007-09-01T10:27:42  <dreimark> moin
2007-09-01T11:04:23  <dreimark> moin
2007-09-01T11:04:26  <dreimark> xorAxAx: ping
2007-09-01T11:47:32  <ThomasWaldmann> moin
2007-09-01T11:56:42  <xorAxAx> drpong
2007-09-01T11:56:47  <xorAxAx> hmm
2007-09-01T12:43:51  <dreimark> related to 1.7: trouble with interwiki syntax using InterWikiMap and as Example TestWiki http://test.wikiwikiweb.de
2007-09-01T12:44:41  <dreimark> on standalone wiki TestWiki:FrontPage result is http://localhost:8080/test.wikiwikiweb.deFrontPage
2007-09-01T12:44:58  <dreimark> bbl
2007-09-01T12:45:36  <dreimark> InterWikiMap page not txt file
2007-09-01T12:58:29  <ThomasWaldmann> hmm works for me.
2007-09-01T13:43:18  <ThomasWaldmann> bbl
2007-09-01T18:13:32  <tic> *yawn*
2007-09-01T18:34:01  <dreimark> moin
2007-09-01T19:02:21  <dreimark> i do have a question on auth for xmlrpc
2007-09-01T19:02:56  <grzywacz> yes?
2007-09-01T19:04:05  <dreimark> grzywacz: I know wikisync does it different to httpauth but how is it done?
2007-09-01T19:05:23  <grzywacz> dreimark, you ask for an auth token using user's credentials, and then you provide it with each multicall (using applyAuthToken()) to make next calls authenticated.
2007-09-01T19:06:12  <dreimark> line of code if possible please or where to get an example
2007-09-01T19:06:37  <dreimark> eclipse is bad currently search is broken
2007-09-01T19:08:00  <grzywacz> argh
2007-09-01T19:08:29  <johill> dreimark: xmlrpc/__init__.py
2007-09-01T19:08:34  <grzywacz> yes, I can
2007-09-01T19:08:38  <johill> that's where the server code lives
2007-09-01T19:08:41  <grzywacz> 't check lines right now
2007-09-01T19:09:00  <grzywacz> getAuthToken or something like that and applyAuthToken
2007-09-01T19:09:16  <grzywacz> dreimark, you can look at the xmlrpc part of my bot
2007-09-01T19:09:27  <dreimark> will do :)
2007-09-01T19:09:32  <grzywacz> dreimark, but I supply jabber id there, instead of username+pass
2007-09-01T19:09:39  <grzywacz> So that would be different.
2007-09-01T20:08:16  <dreimark> hmm, by what is putPage replaced
2007-09-01T20:16:26  <dreimark> grzywacz: http://paste.pocoo.org/show/3322/ whats wrong?
2007-09-01T20:21:52  <dreimark> get direction is going well. Because wikisynx does not need any additional configuration
2007-09-01T20:22:00  <dreimark> for direction both
2007-09-01T20:22:22  <vpv> I don't see anything directly wrong, but you're not running the multicall there?
2007-09-01T20:36:20  <dreimark> mc = xmlrpclib.MultiCall(homewiki) I ve done it some lines above
2007-09-01T20:36:49  <vpv> if I remember correctly, you should do mc() or something similar
2007-09-01T20:37:07  <dreimark> ah ok, looking
2007-09-01T20:37:23  <vpv> after the last call
2007-09-01T20:37:44  <vpv> and then it will run everything you've "added" to it
2007-09-01T21:17:41  <dreimark> ThomasWaldmann: http://test.wikiwikiweb.de/?action=xmlrpc2 gives xml.parsers.expat.ExpatError
2007-09-01T22:02:59  <dreimark> on two local wiki it gives no problem with wikisync
2007-09-01T22:12:53  <dreimark> gn
2007-09-01T23:02:29  <ThomasWaldmann> moin
2007-09-01T23:13:32  <CIA-13> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2794:e56f68a6f0fa 1.7/MoinMoin/parser/text_rst.py: rst parser: fix link generation to generate absolute links
2007-09-01T23:16:48  <CIA-13> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2144:3dd9c15c6128 1.6/MoinMoin/parser/text_rst.py: rst parser: fix link generation to generate absolute links

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-09-01 (last edited 2007-10-29 19:13:47 by localhost)