2008-01-19T01:12:49 <cb22> :)
2008-01-19T01:12:54 * cb22 claims #48
2008-01-19T01:13:02 <cb22> and goes to bed, gn all
2008-01-19T01:13:15 <ThomasWaldmann> gn cb22
2008-01-19T01:13:24 <bolekk> gn florenzi
2008-01-19T01:30:06 <bolekk> good night
2008-01-19T01:36:50 <ThomasWaldmann> slasdot: AOL Adopting Jabber (XMPP) <--- tagged: hellfreezesover
2008-01-19T01:37:24 <johill> heh
2008-01-19T01:51:04 <CIA-35> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2506:97473949fe4e 1.6/ (4 files in 4 dirs): Fix URL schemes (some got lost since 1.5.8)
2008-01-19T01:56:25 <ThomasWaldmann> TheSheep: maybe you want to use what i refactored in this changeset for creole also
2008-01-19T06:01:02 * forrestv_ updates #103 (ThomasWaldmann)
2008-01-19T10:52:39 <dreimark> moin
2008-01-19T11:16:47 <dreimark> may be we should rename "get" in AttachFile to "save as"
2008-01-19T11:17:44 <TheSheep> 'download'
2008-01-19T11:18:08 <dreimark> yeah
2008-01-19T11:22:25 <dreimark> was voights here ?
2008-01-19T11:37:24 * cb22 updates #48
2008-01-19T11:41:42 <rafael> moin
2008-01-19T11:42:19 <rafael> dreimark: updated #104. test passes
2008-01-19T11:50:51 <dreimark> rafael: looks like you uploaded the wrong file
2008-01-19T11:52:01 <dreimark> button=bool(False) is wanted
2008-01-19T11:52:24 <dreimark> and a unit test testing this new add on
2008-01-19T11:52:47 <dreimark> for input of True
2008-01-19T11:53:11 <rafael> dreimark: why not button=False?
2008-01-19T11:57:40 <dreimark> with False it is clear but as input for boolean 0/1 xould be used to0
2008-01-19T11:59:34 <rafael> but then button=asdf works, too. should this work?
2008-01-19T12:00:26 <dreimark> no. but if you define the type by bool and tell the default value is False
2008-01-19T12:00:53 <dreimark> then everyone reading it knows he can enter 1/0 too
2008-01-19T12:01:25 <rafael> hu? don't know why.. False is already boolean. why make it boolean again?
2008-01-19T12:01:27 <dreimark> and the reason why I like showing the type here is to make it consistant
2008-01-19T12:02:31 <dreimark> you are right but there my be macros where people have to enter 0,1,2,3,4 and so on
2008-01-19T12:02:55 <dreimark> there it would be defined int(0,1,2,3,4)
2008-01-19T12:03:53 <dreimark> and the first value is the default
2008-01-19T12:05:09 <rafael> i don't understand you really but i'll change it
2008-01-19T12:06:56 <dreimark> rafael: a macro is sometimes from someone who never program
2008-01-19T12:07:04 <dreimark> used
2008-01-19T12:07:33 <dreimark> if you show them a description it should be consistent
2008-01-19T12:11:19 <dreimark> rafael: query
2008-01-19T12:30:58 <ThomasWaldmann> moin
2008-01-19T12:31:13 <ernestas> moin ThomasWaldmann
2008-01-19T12:32:13 <ernestas> ThomasWaldmann: could I do one more GHOP translation, if you have any more spare tasks and if this is allowed
2008-01-19T12:32:26 <ernestas> if not, that's fine too
2008-01-19T12:32:44 <ernestas> I can claim non-translation one
2008-01-19T12:32:57 <ThomasWaldmann> ernestas: there is no limit on translation tasks
2008-01-19T12:33:29 <ernestas> ThomasWaldmann:then could you create one more LT translation task (3rd)?
2008-01-19T12:34:21 <ernestas> I have a free week-end, so I can do some last GHOP work
2008-01-19T12:36:11 <ThomasWaldmann> watch the task list, maybe there will be a new task
2008-01-19T12:36:21 <ernestas> ok, thanks
2008-01-19T12:39:29 <cb22> ThomasWaldmann: for my task #48, should i test open office aswell? i've done office @ http://moinmo.in/FedericoLorenzi/GUIEditor
2008-01-19T12:46:00 <ThomasWaldmann> cb22: well, if you have time left, you can optionally try to fix it :)
2008-01-19T12:46:37 <ThomasWaldmann> or try some more complex, real world documents
2008-01-19T12:49:13 <ThomasWaldmann> (you likely would have to remove "known problems" from them to find new problems)
2008-01-19T12:50:04 <cb22> right, i'll give fixing it a shot :)
2008-01-19T12:50:12 <cb22> and try out some larger documents
2008-01-19T12:53:09 <ThomasWaldmann> rafael: +def macro_Action(macro, action=u'show', text=None, button=bool(False),
2008-01-19T12:53:12 <ThomasWaldmann> + _kwargs=None):
2008-01-19T12:53:31 <ThomasWaldmann> don't do such line splittings for just some few chars over 80
2008-01-19T12:53:39 <dreimark> ThomasWaldmann: I have closed it
2008-01-19T12:54:10 <ThomasWaldmann> oops :)
2008-01-19T12:54:17 <rafael> :)
2008-01-19T12:54:35 <rafael> i can modify the patch with that you submit it in the repo
2008-01-19T12:54:43 <ThomasWaldmann> btw, i don't understand the point of button=bool(False) either
2008-01-19T12:55:09 <dreimark> oh well, my idea was that we can show this line to non programmers too
2008-01-19T12:55:27 <dreimark> and we have only to explain typedefinition and default value
2008-01-19T13:02:09 <ThomasWaldmann> not sure if that really helps in that case
2008-01-19T13:05:09 <rafael> is CrptOne here in the irc?
2008-01-19T13:05:35 <ThomasWaldmann> form action="./AutoC... < ./ ?
2008-01-19T13:10:41 <dreimark> ThomasWaldmann: ?
2008-01-19T13:11:30 <cb22> ThomasWaldmann: :)) looks like i can fix it
2008-01-19T13:13:48 <ThomasWaldmann> dreimark: i am wondering about the .
2008-01-19T13:18:04 <rafael> ThomasWaldmann: this is strange, indeed. but this is only in the unittest so
2008-01-19T13:19:13 <rafael> depends probably on self._createTestPage(text)
2008-01-19T13:29:31 <dreimark> ThomasWaldmann: we have that on many places
2008-01-19T13:32:06 <dreimark> e.g. test_text_moin_wiki
2008-01-19T13:34:12 <dreimark> bbl
2008-01-19T14:08:59 <cb22> btw, ernestas's task hasn't been marked claimed
2008-01-19T14:09:13 <cb22> and, i've updated my task #48 with a patch, that should fix the issue
2008-01-19T14:11:12 <cb22> s/should/does for me/
2008-01-19T16:39:24 <ThomasWaldmann> cb22: how does it work?
2008-01-19T16:43:16 <cb22> ThomasWaldmann: all it does is add the o: and x: namespaces to the xml <page> tag, as per the microsoft docs
2008-01-19T16:50:10 <rafael> ThomasWaldmann: should i update the patch and delete bool(False) there?
2008-01-19T16:55:20 <ThomasWaldmann> rafael: it is already closed. we do it when merging it.
2008-01-19T16:55:52 <ThomasWaldmann> cb22: i have no idea about that MS stuff, but is http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats helpful?
2008-01-19T16:58:20 <cb22> ThomasWaldmann: yes, i saw that and http://msdn2.microsoft.com/en-us/library/aa140062(office.10).aspx the patch is on the tracker btw
2008-01-19T17:00:21 <ThomasWaldmann> yeah, i have seen it, if fixes o: and x:, what about the other namespaces?
2008-01-19T17:01:06 <cb22> i haven't come across the other ones, but it wouldnt harm to add them in
2008-01-19T17:01:11 <ThomasWaldmann> and can there be another fix, like ignoring unknown namespaces?
2008-01-19T17:01:20 <cb22> ThomasWaldmann: i wish :)
2008-01-19T17:01:35 <cb22> that was my first thought - it seems expat wont do it
2008-01-19T17:02:59 <cb22> i even tried various other XML parsing methods to see if i could get a list of all namespaces and then create a dummy list, but that doesnt work too
2008-01-19T17:03:02 <xorAxAx> ignoring unknown ones makes perfect sense
2008-01-19T17:03:10 <xorAxAx> cb22: does expat need a list of namespaces?
2008-01-19T17:03:10 <ThomasWaldmann> there is also a comment missing about what it does
2008-01-19T17:03:22 <xorAxAx> cb22: or whats the problem?
2008-01-19T17:03:31 <cb22> xorAxAx: it needs the namespaces explicitly specified
2008-01-19T17:03:39 <xorAxAx> hmm
2008-01-19T17:03:56 <xorAxAx> does the exception message tell which namespace it dislikes?
2008-01-19T17:03:57 <cb22> (i tried using 4suite and sax, same thing)
2008-01-19T17:04:32 <cb22> not directly afaik
2008-01-19T17:05:31 <xorAxAx> i dont see why it would need a list of namespaces
2008-01-19T17:06:15 <cb22> xorAxAx: by list i mean specified withing the xml document
2008-01-19T17:06:21 <cb22> like <page xmlns=...>
2008-01-19T17:06:30 <xorAxAx> ah
2008-01-19T17:06:40 <ThomasWaldmann> maybe just ignore all "unbound prefix" exceptions?
2008-01-19T17:06:42 <xorAxAx> yes, otherwise its not well-formed
2008-01-19T17:07:04 <xorAxAx> cb22: can you check whether it might be fckeditor who truncates these?
2008-01-19T17:07:22 <cb22> ThomasWaldmann: hmm, i'll test that, but it could then give truncated/no output
2008-01-19T17:07:37 <xorAxAx> because its clearly non-sense to insert only the tags without a ns decl
2008-01-19T17:08:29 <cb22> i'll try, do you know how i could get what html/xhtml/xml that excel would be putting into fck?
2008-01-19T17:09:10 <xorAxAx> without using excel, that might be hard :)
2008-01-19T17:10:09 <cb22> hehe
2008-01-19T17:13:54 * cb22 ahs an idea
2008-01-19T17:13:57 <cb22> has*
2008-01-19T17:21:09 <cb22> xorAxAx: nope, its not fckeditor
2008-01-19T17:21:30 <cb22> i've tried with a clipboard viewer and 2 other editors, no xmlns
2008-01-19T17:21:44 <cb22> /sxmlns/xmlns definitions/
2008-01-19T17:23:03 <xorAxAx> hmm, evil MS
2008-01-19T17:23:23 <xorAxAx> how does the patch approach the problem?
2008-01-19T17:23:30 <xorAxAx> i.e. how does it filter the string?
2008-01-19T17:23:40 <xorAxAx> hmm, does it prepend a NS decl?
2008-01-19T17:24:18 <cb22> yes, it adds them to the <page> tag (internal stuff)
2008-01-19T17:24:26 <cb22> i got them off the ms website
2008-01-19T17:25:09 <xorAxAx> i could imagine filtering it in JS
2008-01-19T17:25:23 <xorAxAx> i.e. extending the fckeditor with some sanity filter
2008-01-19T17:25:46 <cb22> xorAxAx: there is one for word
2008-01-19T17:26:01 <cb22> (and it works quite well too)
2008-01-19T17:26:03 <xorAxAx> yes, do you what it does?
2008-01-19T17:26:17 <cb22> huh?
2008-01-19T17:26:24 <xorAxAx> such things like namespace filtering can be done for any save without any harm
2008-01-19T17:26:27 <xorAxAx> cb22: i mean how it works
2008-01-19T17:26:49 <cb22> hmm, i'll have a look at the code
2008-01-19T17:30:15 <dreimark> bb
2008-01-19T17:32:46 <cb22> xorAxAx: hmm, FCK.CleanAndPaste looks promising
2008-01-19T17:35:32 <cb22> hmm, however it is not enabled in fckeditor
2008-01-19T17:35:41 <cb22> BUT... it does give some regexs...
2008-01-19T17:36:02 <xorAxAx> regexes? ugh
2008-01-19T17:36:18 <xorAxAx> i thought about dom traversal but if they solved it with regexes ... :)
2008-01-19T17:37:39 <cb22> i'll creat another patch quickly. also, this fixes other things, like <span> and stuff
2008-01-19T17:38:01 * dreimark has invited voights too
2008-01-19T17:38:53 <dreimark> cb22: xorAxAx the result should be not that only MS works like a charm
2008-01-19T17:39:18 <cb22> xorAxAx: hmm?
2008-01-19T17:39:23 <cb22> dreimark*
2008-01-19T17:39:43 <dreimark> changes should be checked with usual odt documents too
2008-01-19T17:40:15 <cb22> ah, i tried that and they didnt generate any illegal xml crud for me atleast :)
2008-01-19T17:41:59 <dreimark> ok
2008-01-19T17:43:21 <dreimark> ThomasWaldmann: we may need some nice markup for centering text
2008-01-19T17:52:54 <ThomasWaldmann> maybe a span macro?
2008-01-19T17:58:46 <dreimark> :)
2008-01-19T17:59:21 * dreimark goes to migrate an other wiki server (cgi)
2008-01-19T17:59:22 <rafael> or just center that calls <center>..</center> ?
2008-01-19T18:00:48 <cb22> rafael: <center> is highly depricated
2008-01-19T18:01:02 <cb22> (although useful)
2008-01-19T18:05:38 <ThomasWaldmann> with a span macro calling the already existant span formatter method, plus some css, you can do all sorts of things.
2008-01-19T18:06:06 <johill> that also sucks for all sorts of other formatters ;)
2008-01-19T18:06:41 <forrestv_> ThomasWaldmann: i send a patch for issue 103
2008-01-19T18:09:02 <ThomasWaldmann> forrestv_: did you copy server/__init__.py from index/ ? :)
2008-01-19T18:10:02 <ThomasWaldmann> forrestv_: first do stdlib imports, then moin imports
2008-01-19T18:15:32 <ThomasWaldmann> forrestv_: that moinpath stuff looks wrong for the way it should work now
2008-01-19T18:16:43 <ThomasWaldmann> forrestv_: all the script stuff uses --config-dir to locate the wiki configs
2008-01-19T18:17:55 <ThomasWaldmann> forrestv_: i think you'll need some --htdocs
2008-01-19T18:19:35 <ThomasWaldmann> also, a new top level moin.py would be nice (or moin.sh / .cmd) that calls the new stuff so it "just works" for a freshly unpacked moin tar
2008-01-19T18:21:53 <ThomasWaldmann> (other than that, it already looks quite good! currently it of course only does --start, so the next step after the above points would be to think about backgrounding and --stop)
2008-01-19T18:25:34 <ThomasWaldmann> (the toplevel thing could be also called mmde.* to avoid confusion with the moin script command)
2008-01-19T18:25:57 <ThomasWaldmann> brb
2008-01-19T18:28:28 <cb22> so, uh, anyone speak regex here? :)
2008-01-19T18:31:08 <rafael> cb22: meta question ;)
2008-01-19T18:44:28 <ThomasWaldmann> forrestv_: still here?
2008-01-19T19:05:23 <ThomasWaldmann> >>> wikiutil.parse_quoted_separated(u"rootz-download.png,http://alioth.debian.org/frs/?group_id=31041")
2008-01-19T19:05:26 <ThomasWaldmann> ([u'rootz-download.png'], {u'http://alioth.debian.org/frs/?group_id': u'31041'}, [])
2008-01-19T19:06:22 <ThomasWaldmann> johill: slightly unexpected :D
2008-01-19T19:07:54 <johill> heh
2008-01-19T19:08:19 <johill> not much I can do
2008-01-19T19:09:02 <johill> you can quote it
2008-01-19T19:09:14 <johill> u'rootz-...,"http://...=..."'
2008-01-19T19:10:07 <ThomasWaldmann> i use this call in the converted, so i can not do much about the input data it gets
2008-01-19T19:10:20 <ThomasWaldmann> converteR
2008-01-19T19:10:47 <johill> huh what do you use it for?
2008-01-19T19:10:48 <cb22> xorAxAx: hmm, i cant seem to get the regexs working nicely in python
2008-01-19T19:11:19 <ThomasWaldmann> for converting [[ImageLink(i,t)]] to [[t|{{i}}]]
2008-01-19T19:12:37 <ThomasWaldmann> maybe i just have to use the parser the 1.5 ImageLink uses for its args
2008-01-19T19:12:50 <johill> you probably should then
2008-01-19T19:14:12 <ThomasWaldmann> but otoh, we maybe don't want to parse it like shown if someone forgets the quoting?
2008-01-19T19:14:47 <johill> how can we distinguish that from legal <<somemacro(kwd=a, kwd7=b, kwd2=c)>> then?
2008-01-19T19:14:48 <ThomasWaldmann> he will just wonder where his argument has gone... maybe even trigger some exception about not allowed attribute name
2008-01-19T19:15:10 <ThomasWaldmann> we could restrict to chars usually used in names
2008-01-19T19:15:27 <johill> not really
2008-01-19T19:15:27 <ThomasWaldmann> i.e. not : / ?
2008-01-19T19:15:33 <johill> there are a bunch of macros that want arbitrary things
2008-01-19T19:15:37 <johill> I actually worked on that for quite a bit
2008-01-19T19:15:47 <johill> forgot what though
2008-01-19T19:15:50 <ThomasWaldmann> in kwargs names?
2008-01-19T19:15:54 <johill> yeah
2008-01-19T19:16:07 <johill> that's why I have _kwargs rather than **
2008-01-19T19:16:12 <johill> or sometjhing like that
2008-01-19T19:16:12 <ThomasWaldmann> sounds strange
2008-01-19T19:16:26 <johill> not really
2008-01-19T19:16:32 <johill> think column names in a table
2008-01-19T19:16:51 <johill> dunno, I don't remember, but I'm pretty sure there was something
2008-01-19T19:17:12 <ThomasWaldmann> and the column name is on the left side?
2008-01-19T19:17:38 <johill> maybe like colname=centered or so
2008-01-19T19:17:46 <johill> I don't know, it was probably something else
2008-01-19T19:17:55 <johill> I think there was something with usernames on the left hand side
2008-01-19T19:35:36 <ThomasWaldmann> ok
2008-01-19T19:39:37 <johill> maybe this case is more common though
2008-01-19T19:40:00 <johill> and I accept "any key"="any value" too iirc
2008-01-19T19:40:06 <johill> so we could make that mandatory instead
2008-01-19T20:14:50 <dreimark> hmm, what_sorted.sort(cmp=lambda x, y: cmp(x[1:], y[1:]))
2008-01-19T20:14:56 <dreimark> TypeError: sort() takes no keyword arguments
2008-01-19T20:15:22 <johill> new in 2.5 iirc
2008-01-19T20:17:04 <dreimark> then we have killed older versions
2008-01-19T20:17:29 <dreimark> ThomasWaldmann: script/migration/_conv160.py seems to need 2.5 ?
2008-01-19T20:26:56 <dreimark> seems to be added in 2.4
2008-01-19T20:32:09 <ThomasWaldmann> oops
2008-01-19T20:33:00 <dreimark> I can test further steps ;) can't go easily to a newer version
2008-01-19T20:35:38 <ThomasWaldmann> just comment out the sort call
2008-01-19T20:35:49 <ThomasWaldmann> you will have an unsorted rename1.txt then
2008-01-19T20:35:55 <dreimark> )
2008-01-19T20:59:49 <ThomasWaldmann> dreimark: i have written some py2.3 compatible code, can you try it?
2008-01-19T21:01:31 <CIA-35> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2507:9ed9176ac6dc 1.6/MoinMoin/script/migration/_conv160.py: 1.6 converter: make sorting python2.3 compatible
2008-01-19T21:03:54 <dreimark> yes
2008-01-19T21:06:17 <dreimark> need to wait till the current mig is done
2008-01-19T21:07:20 <ThomasWaldmann> big wiki or slow machine?
2008-01-19T21:08:47 <dreimark> big wiki, lots of podcasts movies, broadcasts, talks
2008-01-19T21:10:31 <dreimark> ThomasWaldmann: ok :)
2008-01-19T21:11:25 <cb22> ThomasWaldmann: do you think adding the namespaces is fine, or should i try and get the regexs that remove them working?
2008-01-19T21:13:06 <ThomasWaldmann> cb22: dealing with the exception does not work?
2008-01-19T21:16:07 <cb22> ThomasWaldmann: nope
2008-01-19T21:17:51 <cb22> although by dealing with the exception, do you just mean pass'ing or so if the unbound error occurs? thats what i tried and it just returns a NoneType
2008-01-19T21:22:52 <ThomasWaldmann> dreimark: do you think i can use the 1.6 ImageLink explore_args to parse 1.5 ImageLink data?
2008-01-19T21:25:40 <dreimark> I think yes, I don't know a problem with that
2008-01-19T21:26:59 <dreimark> kwAllowed tells which kw possible
2008-01-19T21:27:15 <dreimark> ThomasWaldmann:
2008-01-19T21:27:46 <dreimark> and I do have an attachment which gives me an utf-8 error
2008-01-19T21:29:13 <dreimark> it has a ? in the name.
2008-01-19T21:29:34 <ThomasWaldmann> filenames should be utf-8
2008-01-19T21:30:10 <dreimark> it was uploaded in 2005 and the ? should be a ΓΌ
2008-01-19T21:30:24 <dreimark> I do rename it no problem
2008-01-19T21:30:49 <ThomasWaldmann> can you post the traceback somewhere?
2008-01-19T21:31:18 <dreimark> doing
2008-01-19T21:31:21 <ThomasWaldmann> (or even better: fix the converter to catch this)
2008-01-19T21:38:00 <dreimark> ThomasWaldmann: explore_args was some time ago in text_gedit used too http://hg.moinmo.in/moin/1.6/rev/78244c9aa01a
2008-01-19T21:45:55 <dreimark> I did at first a Bug report. http://moinmo.in/MoinMoinBugs/MigConverterFailsOnUnsupportedUnicode
2008-01-19T21:46:37 <dreimark> currently I like to continue migration of the other wikis. I do want to see them working
2008-01-19T21:46:52 <dreimark> may be there are some other 2.3.5 issues
2008-01-19T21:50:18 <ThomasWaldmann> cb22: what regexes?
2008-01-19T21:52:51 <ThomasWaldmann> dreimark: you could just use 'replace' or 'ignore' for .decode()
2008-01-19T21:53:39 <dreimark> thought not that it is so simple
2008-01-19T21:54:25 <ThomasWaldmann> well, it won't be perfect, but at least not crash.
2008-01-19T22:04:08 <ThomasWaldmann> (and that attachment didn't work in 1.5 installation either)
2008-01-19T22:10:43 <rafael> how do you generate wiki source when using fckeditor? i'm going to use it in a personal project, too i think
2008-01-19T22:14:19 <cb22> ThomasWaldmann: FCKeditor has some regexs that can clean up the wordcrud
2008-01-19T22:14:32 <CIA-35> Reimar Bauer <rb.proj AT googlemail DOT com> default * 2508:741a985cd628 1.6/MoinMoin/script/migration/_conv160.py: migration._conv160: fixed converter crash on UnicodeDecodeError changed decoding 'errors' from strict to replace
2008-01-19T22:54:50 <ThomasWaldmann> hmm, I think we should remove ImageLink macro
2008-01-19T22:55:23 <ThomasWaldmann> (the converter removes all its usage, but that doesn't stop users from using it for new content as long as it works)
2008-01-19T22:55:23 <TheSheep> how about backward compatibility?
2008-01-19T22:55:32 <TheSheep> ah
2008-01-19T22:57:19 <ThomasWaldmann> dreimark:
2008-01-19T22:59:59 <kikka> helo!
2008-01-19T23:00:02 <kikka> hello!
2008-01-19T23:00:41 <ThomasWaldmann> cb22: one namespace per line would improve readability
2008-01-19T23:02:04 <cb22> ThomasWaldmann: gotcha, changing it now
2008-01-19T23:02:38 <dreimark> ThomasWaldmann: sure, I do totally agree
2008-01-19T23:03:48 <dreimark> btw. seems we take much more time as in 1.5.8 to read a large event-log
2008-01-19T23:06:06 <ThomasWaldmann> dreimark: how did you notice?
2008-01-19T23:06:21 <dreimark> loading of a page where I have added Hits
2008-01-19T23:06:52 <dreimark> or using eventstats
2008-01-19T23:09:46 <ThomasWaldmann> be aware that the stats cache might need a rebuild the first time you use it
2008-01-19T23:19:59 * ThomasWaldmann tries improved ImageLink conversion code
2008-01-19T23:23:40 <cb22> ThomasWaldmann: ok, i've updated it with a list of office namespaces from a website
2008-01-19T23:26:36 <forrestv_> ThomasWaldmann: i don't see a way to implement stopping a daemon for the server script
2008-01-19T23:27:01 <cb22> forrestv_: log the pid somewhere and kill it?
2008-01-19T23:27:26 <forrestv_> cb22: that would be easy for linux; i don't know if it has to be cross platform
2008-01-19T23:28:05 <ThomasWaldmann> cb22: + u'xmlns:v="urn:schemas-microsoft-com:office:vml"']
2008-01-19T23:28:18 <ThomasWaldmann> better use:
2008-01-19T23:28:29 <ThomasWaldmann> u'...',
2008-01-19T23:28:31 <ThomasWaldmann> ]
2008-01-19T23:28:40 <ThomasWaldmann> (easier to extend)
2008-01-19T23:29:03 <cb22> forrestv_: have a look at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/347462 maybe?
2008-01-19T23:29:06 <ThomasWaldmann> cb22: you did use office 2003 for testing?
2008-01-19T23:29:13 <cb22> ThomasWaldmann: yes
2008-01-19T23:29:40 <ThomasWaldmann> do you have older office, too? xp or 2000?
2008-01-19T23:30:14 <cb22> hmm, i can dig around, but i dont think so. AFAIK this xml pastng was only introduced in xp~2003
2008-01-19T23:31:11 <ThomasWaldmann> maybe check the bug report(s) again, what office the reporter was using
2008-01-19T23:31:52 <ThomasWaldmann> also, does that depend on the format of the office file loaded (or does it convert everything to the same internal format on load?)
2008-01-19T23:33:30 <cb22> ThomasWaldmann: no versions of office are mentioned on the reports
2008-01-19T23:33:39 <dreimark> ThomasWaldmann: http://moinmo.in/MacroMarket/Hits-1.6.py <<Hits(all=1)>>
2008-01-19T23:33:46 <cb22> and what do you mean by the format of the office file?
2008-01-19T23:34:01 <dreimark> ThomasWaldmann: try with an event-log of a filesize of 20MB
2008-01-19T23:34:25 <ThomasWaldmann> cb22: office 2003 can also load documents saved in office {2000,XP} format
2008-01-19T23:34:53 <ThomasWaldmann> (you could also try office 2007, if you can play with a copy of it somewhere)
2008-01-19T23:38:15 <cb22> ah, nope that makes no difference
2008-01-19T23:38:41 <cb22> i just ran down to my windows pc, and pasted a really complicated word document in directly, and it worked :)
2008-01-19T23:39:25 <cb22> ThomasWaldmann: nope, also don't have 2007 :( however, if someone does, i have the patch running on a public wiki
2008-01-19T23:40:09 <ThomasWaldmann> ah, good :) so you could ask on #moin for some public test :)
2008-01-19T23:40:16 * cb22 joins
2008-01-19T23:40:50 <ThomasWaldmann> (maybe try multiple times, sat eve is maybe not the best time for that :)
2008-01-19T23:41:25 <cb22> what?? you mean people have lives???
2008-01-19T23:42:39 <ThomasWaldmann> at least they don't use office 2007 when they are not forced to somehow :D
2008-01-19T23:44:29 <ThomasWaldmann> you could also update that bug page on the wiki with your test wiki URL
2008-01-19T23:45:27 <cb22> yes, good idea
2008-01-19T23:48:21 <forrestv_> where should a pid file be stored?
2008-01-19T23:49:10 <cb22> hmm, /var/run, /tmp, . are a few places
2008-01-19T23:49:39 <dreimark> strange sometimes I get the html shown in the browser
2008-01-19T23:50:11 <forrestv_> cb22: does it have to be cross platform compatible?
2008-01-19T23:51:13 <cb22> forrestv_: i'm not too sure, ask ThomasWaldmann or xorAxAx, but if so, then ./moin.pid would probably be the best place
2008-01-19T23:51:27 <forrestv_> cb22: i was thinking it could be stored in the moin source directory, yeah
2008-01-19T23:53:29 <ThomasWaldmann> forrestv_: that's the worst place for sure :)
2008-01-19T23:54:35 <ThomasWaldmann> (because it could be installed to /usr/... and /usr is not required to be rw)
2008-01-19T23:56:30 <dreimark> ThomasWaldmann: more colors for #!wiki wnated ;)
MoinMoin: MoinMoinChat/Logs/moin-dev/2008-01-19 (last edited 2008-01-19 00:15:17 by IrcLogImporter)