2006-08-22T00:14:04 <ThomasWaldmann> mvirkkil: the problem is the comment parsing regex, it eats the complete line
2006-08-22T00:15:17 <ThomasWaldmann> and btw, moin parses everything in a pre section, it just doesnt replace the stuff
2006-08-22T00:36:06 <ThomasWaldmann> mvirkkil: http://test.wikiwikiweb.de/WikiSandBox
2006-08-22T08:24:54 <mvirkkil> ok. Looks good.
2006-08-22T09:10:10 <Kepplar> moin
2006-08-22T09:13:21 <xorAxAx> moin Kepplar :)
2006-08-22T09:14:53 <ThomasWaldmann> moin
2006-08-22T09:15:45 <xorAxAx> btw, my multicall reactor is nearly finished :)
2006-08-22T09:16:13 <ThomasWaldmann> i hope it doesnt meltdown our server :)
2006-08-22T09:17:58 <xorAxAx> heh
2006-08-22T09:18:03 <xorAxAx> it reduces the server load :)
2006-08-22T09:18:23 <xorAxAx> theoretically
2006-08-22T10:15:34 <ThomasWaldmann> fpletz: see bug list on xapian test wiki
2006-08-22T10:34:20 <ThomasWaldmann> moin richardb
2006-08-22T10:34:30 <richardb> moin
2006-08-22T10:34:47 <ThomasWaldmann> http://xapian.wikiwikiweb.de/TestWiki if you find more, just add it there
2006-08-22T10:35:51 <richardb> Will do
2006-08-22T10:37:33 <ThomasWaldmann> fpletz: richardb: i guess we should have some mentor meetings on irc, one soon, and another one before the final survey deadline.
2006-08-22T10:37:45 <richardb> Hmm, might be useful to add urls to each of those reports. Will do so as I go through them.
2006-08-22T10:37:49 <richardb> Agreed.
2006-08-22T10:38:29 <richardb> fpletz: around yet?
2006-08-22T10:39:00 <ThomasWaldmann> richardb: i guess he has sleep to do :))
2006-08-22T10:39:23 <richardb> Fair enough, I suppose... ;-)
2006-08-22T10:40:04 <ThomasWaldmann> well, if people would've worked more regularly, it would be less stressing at the end I guess.
2006-08-22T10:40:09 <ffesti> moin
2006-08-22T10:40:32 <ThomasWaldmann> moin ffesti.
2006-08-22T10:40:44 <ThomasWaldmann> ffesti: richardb: i guess we should have some mentor meetings on irc, one soon, and another one before the final survey deadline.
2006-08-22T10:40:58 <ThomasWaldmann> (tab completion :)
2006-08-22T10:41:09 <ffesti> fine with me
2006-08-22T10:41:13 <xorAxAx> moin ffesti
2006-08-22T10:41:42 <ThomasWaldmann> mentors should start overviewing and testing their student stuff asap
2006-08-22T10:41:54 <xorAxAx> ThomasWaldmann: yeah, tab completion is nice: Please specify your MoinMoin version, Python version, server type you use (CGI,standalone,twisted,fastcgi,mod_python), web server and operating system.
2006-08-22T10:42:22 <ThomasWaldmann> i guess they will find some bugs and other things lacking
2006-08-22T10:42:54 <ThomasWaldmann> although it formally doesnt count any more for the survey, students then can still fix that stuff.
2006-08-22T10:44:28 <ThomasWaldmann> in the survey, we could at least mention that student fixed it after the end then
2006-08-22T10:45:05 <richardb> As I understand it, a student should be passed more on how hard they worked, and how well they communicated, than whether they produced usable code.
2006-08-22T10:45:24 <richardb> However, having usable code is likely to make for a better evaluation...
2006-08-22T10:45:43 <richardb> particularly if the other criteria I just mentioned aren't met.
2006-08-22T10:45:54 <ThomasWaldmann> i didnt read the final survey yet, but the midterm had separate questions for that
2006-08-22T10:48:16 <ThomasWaldmann> ffesti: richardb: shall we make a definite date/time for first mentor meeting now?
2006-08-22T10:48:44 <richardb> I could do it in an hour or so...
2006-08-22T10:49:20 <richardb> Or it will have to be tomorrow for me to guarantee being free.
2006-08-22T10:49:37 <ThomasWaldmann> 10:00 UTC today would be fine for me, too
2006-08-22T10:49:55 <ThomasWaldmann> ffesti: ?
2006-08-22T10:50:12 <xorAxAx> my mentor doesnt talk to me :-(
2006-08-22T10:50:17 <Kepplar> Hmmm
2006-08-22T10:50:31 <Kepplar> data = self._revision.raw user_data = {'enc_password': ''}
2006-08-22T10:50:32 <Kepplar> for line in data:
2006-08-22T10:50:32 <Kepplar> if line[0] == '#':
2006-08-22T10:50:32 <Kepplar> continue
2006-08-22T10:50:32 <Kepplar> try:
2006-08-22T10:50:34 <Kepplar> raise Exception, (data, line)
2006-08-22T10:50:37 <Kepplar> key, val = line.strip().split('=', 1)
2006-08-22T10:50:38 <ffesti> 10:00 UTC is ok for me
2006-08-22T10:50:39 <Kepplar> if key not in self._cfg.user_transient_fields and key[0] != '_':
2006-08-22T10:50:42 <Kepplar> (the exception is mine, ignore)
2006-08-22T10:50:45 <Kepplar> data is coming in ok
2006-08-22T10:50:50 <Kepplar> line however is.. ."m"
2006-08-22T10:50:55 <ffesti> hello xorAxAx
2006-08-22T10:51:00 <Kepplar> which appears to be the second character of line 1
2006-08-22T10:51:05 <Kepplar> (first char is a hash)
2006-08-22T10:51:09 <Kepplar> this isnt my code either...
2006-08-22T10:52:23 <ThomasWaldmann> ok, then lets meet at 10:00 UTC today (in roughly an hour from now that is) here in #moin-dev
2006-08-22T10:53:44 <ThomasWaldmann> Kepplar: maybe data is a string, not a list of lines
2006-08-22T10:53:57 <Kepplar> ooo yea
2006-08-22T10:54:00 <ThomasWaldmann> if you iterate over a string, you will get single chars
2006-08-22T10:54:05 <Kepplar> of course yep
2006-08-22T10:55:34 <ffesti> always a nice way of having fun
2006-08-22T10:57:05 <ThomasWaldmann> ffesti: yeah, esp. if that item comes from user editable config (like our superusers list :)
2006-08-22T10:58:02 <xorAxAx> ThomasWaldmann: "superuser list"
2006-08-22T10:58:21 <xorAxAx> a "superusers list" wouldnt have been a problem i think
2006-08-22T11:00:14 <ffesti> this superusers thing is a bad idea anyway, IMHO
2006-08-22T11:01:13 <xorAxAx> yes, its orthogonal to the acl system
2006-08-22T11:01:21 <xorAxAx> but on the other hand, we dont have a permissions object
2006-08-22T11:01:50 <Kepplar> We can arrange that :)
2006-08-22T11:03:39 <xorAxAx> Kepplar: but its not your issue :)
2006-08-22T11:04:41 <ThomasWaldmann> xorAxAx: i guess the same people who use unicode for data_dir would fsck it up even then :)
2006-08-22T11:05:20 <ThomasWaldmann> ffesti: it's a quick hack waiting for a good solution (==code) since ...
2006-08-22T11:05:41 <xorAxAx> no, design is more important here
2006-08-22T11:05:57 <xorAxAx> and then a safe implementation. because its about security :)
2006-08-22T11:06:34 <ThomasWaldmann> maybe we can do it soon if design is clear, I modified acl processing in 1.6 anyway
2006-08-22T11:06:58 <ThomasWaldmann> (or rather implementation, nothing user visible)
2006-08-22T11:08:13 <xorAxAx> it doesnt make sense to unify impleemntation in this case because the both strategies are orthogonal
2006-08-22T11:08:28 <Kepplar> xorAxAx: so what am i suppose to be doing.. decoding to utf-8 when reading and encoding to utf-16/32 for saving?
2006-08-22T11:08:32 <xorAxAx> (i.e. you have to think about the superuser permission first)
2006-08-22T11:08:59 <xorAxAx> Kepplar: not at all, sorry, but this was the primary reason for my smile that i had on my face before i went to bed yesterday
2006-08-22T11:09:13 <ffesti> I'd prefere acls for everything
2006-08-22T11:09:20 <Kepplar> eh?
2006-08-22T11:09:26 <xorAxAx> Kepplar: you need to gather the raw data through a method
2006-08-22T11:09:38 <xorAxAx> Kepplar: i wont repeat the other steps a third time
2006-08-22T11:09:47 <ffesti> but we need an alc class that doesn't automatically add rights_before etc
2006-08-22T11:09:51 <xorAxAx> ffesti: yeah, but the object is missing where the ACL could be attached
2006-08-22T11:09:52 <Kepplar> birkenfeld said that utf32 should do or something
2006-08-22T11:10:09 <ffesti> I currently think about the config
2006-08-22T11:10:12 <xorAxAx> Kepplar: no, he didnt talk about utf32
2006-08-22T11:10:23 <Kepplar> (hence or something)
2006-08-22T11:10:30 <xorAxAx> ffesti: it would be a kind of wiki_acl = ""
2006-08-22T11:10:48 <xorAxAx> ffesti: but even then, you would only have it for one permission
2006-08-22T11:11:23 <ffesti> xorAxAx, we have to think about what single items we have to secure
2006-08-22T11:11:38 <ThomasWaldmann> xorAxAx: backup would maybe have other people than sw installation permission
2006-08-22T11:12:08 <xorAxAx> yes, then you have wiki_acl = "Rudi:backup,install,rootshell"
2006-08-22T11:12:29 <ThomasWaldmann> it's for moin, not twiki
2006-08-22T11:12:45 <ffesti> xorAxAx, other way round
2006-08-22T11:12:51 <xorAxAx> and now the weird short cut policy of acl_before conflicts with wiki_acl
2006-08-22T11:12:53 <xorAxAx> ffesti: ???
2006-08-22T11:13:00 <ffesti> xorAxAx, mutliple acls for the different issues
2006-08-22T11:13:01 <xorAxAx> ffesti: an ACL is attached to an object
2006-08-22T11:13:05 <xorAxAx> in this case, a wiki
2006-08-22T11:13:09 <xorAxAx> ffesti: that is not an ACL
2006-08-22T11:13:16 <ThomasWaldmann> wiki_acl = "TW:all Customer:backup"
2006-08-22T11:13:48 <ffesti> I would suggest an acl for the wiki content and one for the wiki software
2006-08-22T11:13:50 <xorAxAx> ThomasWaldmann: hmm, then we have all there but not for the normal acls, thats unsymmetric as well (mainly a usability issue)
2006-08-22T11:14:02 <xorAxAx> s/all/"&"/
2006-08-22T11:14:11 <ffesti> so you could work with the default rights
2006-08-22T11:14:12 <ThomasWaldmann> "all" was just me being lazy :)
2006-08-22T11:14:42 * ffesti thinks introducing "all" would be a good idea
2006-08-22T11:14:53 <xorAxAx> ffesti: what do you mean by "an acl" here?
2006-08-22T11:15:02 <xorAxAx> ffesti: currently, every page has its own, so its more than 2
2006-08-22T11:15:37 <ffesti> one acl for accessing the whole wiki content for backup
2006-08-22T11:15:43 <ThomasWaldmann> ffesti: yeah, esp. for THAT list, as we might use a seperate term for any feature (backup, packageinst, ...)
2006-08-22T11:16:14 <ThomasWaldmann> ok, gtg. cu at 1000UTC.
2006-08-22T11:16:27 <ffesti> I currently use acls for database object
2006-08-22T11:16:39 <xorAxAx> ffesti: you mean a different ACL class?
2006-08-22T11:16:45 <xorAxAx> note that a wiki has hundreds of ACLs
2006-08-22T11:16:53 <ffesti> I am aware of that
2006-08-22T11:16:54 <xorAxAx> so i dont see where the "2" is coming from
2006-08-22T11:17:12 <ffesti> which "2"
2006-08-22T11:17:32 <xorAxAx> 11:13:48 < ffesti> I would suggest an acl for the wiki content and one for the wiki software
2006-08-22T11:18:02 <ffesti> these are set in the config (similar to the superusers list)
2006-08-22T11:18:20 <ffesti> and checked in the backup/install package actions
2006-08-22T11:19:11 <ffesti> these are not acls is a sense of a first line of a wiki page (guess this has already changed)
2006-08-22T11:19:27 <ffesti> but a config string translated into an acl object
2006-08-22T11:19:50 <xorAxAx> what do you mean by "acl for wiki content" then?
2006-08-22T11:20:25 <ffesti> a config string restricting access to the backup feature
2006-08-22T11:21:19 <ffesti> you would need read for backup and write for restore
2006-08-22T11:21:47 <ffesti> but as we all know noone want to backup, so we only need restore
2006-08-22T11:26:33 <xorAxAx> hmm
2006-08-22T11:26:43 <xorAxAx> i dont see the difference between both
2006-08-22T11:26:51 <xorAxAx> between software and content
2006-08-22T11:32:24 <ffesti> the amount of potential damage
2006-08-22T11:37:29 <xorAxAx> doesnt make any sense IMHO
2006-08-22T12:07:41 <ThomasWaldmann> ffesti: query
2006-08-22T12:08:23 <ffesti> yup?
2006-08-22T12:10:49 <Kepplar> So So clow
2006-08-22T12:10:51 <Kepplar> er
2006-08-22T12:10:52 <Kepplar> close*
2006-08-22T12:11:18 <Kepplar> I think the only thing stopping the front page from being loaded is its accessing underlay instead for an unknown reason
2006-08-22T12:29:56 <Kepplar> ...
2006-08-22T12:29:58 <Kepplar> odd
2006-08-22T12:30:07 <Kepplar> I know the revision being generated is a "new" one
2006-08-22T12:30:11 <Kepplar> which is incorrect
2006-08-22T12:30:27 <Kepplar> but even explicatly saying that new revisions should come from data
2006-08-22T12:30:36 <Kepplar> this is still appearing to be underlay
2006-08-22T12:33:32 <birkenfeld> Kepplar: I talked about "utf-21" which can be clearly identified as a joke
2006-08-22T12:33:49 <Kepplar> i thought you typoed
2006-08-22T13:47:49 <mvirkkil> ThomasWaldmann: What's wrong with docbook.wikiwikiweb.de?
2006-08-22T13:48:29 <mvirkkil> ThomasWaldmann: it's horribly, horribly horribly slow.
2006-08-22T13:48:39 <mvirkkil> # oad_multi_cfg = 108.720s
2006-08-22T13:48:39 <mvirkkil> # run = 164.724s
2006-08-22T13:48:39 <mvirkkil> # send_page = 65.546s
2006-08-22T13:48:39 <mvirkkil> # send_page_content = 6.960s
2006-08-22T13:48:40 <mvirkkil> # total = 273.452s
2006-08-22T13:48:50 <mvirkkil> getPageList = 83.819s
2006-08-22T13:48:55 <mvirkkil> base__init__ = 108.727s
2006-08-22T13:57:14 <ThomasWaldmann> server load 57
2006-08-22T13:59:23 <Kepplar> heh
2006-08-22T13:59:24 <Kepplar> Hmm
2006-08-22T14:00:25 <Kepplar> http://storage.wikiwikiweb.de/ < i forced that bug... last value in the tuple clearly shows that the storage engine flatfile-data is pointing at data.. dispite the fact that the items engine is underlay.. and im creating the item immediatly before from flatfile-data!
2006-08-22T14:00:29 <Kepplar> any idea?
2006-08-22T14:01:19 <Kepplar> im out of ideas
2006-08-22T14:17:09 <ThomasWaldmann> sorry, I must do some business work now
2006-08-22T14:32:58 <Kepplar> ThomasWaldmann: if you get the time any chance of checking logs at whats causing the 500 error?
2006-08-22T14:33:01 <Kepplar> thanks
2006-08-22T14:38:16 <birkenfeld> Kepplar: look at your changeset, for God's sake!
2006-08-22T14:39:14 <xorAxAx> heh, i feel pain in my colon
2006-08-22T14:39:32 <Kepplar> birkenfeld: hmm?
2006-08-22T14:58:23 <ThomasWaldmann> mvirkkil: you action sends a broken header (or even no http header)
2006-08-22T14:59:09 <ThomasWaldmann> malformed header from script. Bad header=PK<binary stuff>: moin.cgi
2006-08-22T15:15:38 <mvirkkil> ThomasWaldmann: Yeah..
2006-08-22T15:16:35 <mvirkkil> ThomasWaldmann: That's the buildbook right?
2006-08-22T15:16:50 <mvirkkil> ThomasWaldmann: It's the zip file it's sending.
2006-08-22T15:17:10 <xorAxAx> mvirkkil: do you call emit_http_headers?
2006-08-22T15:17:15 <mvirkkil> ThomasWaldmann: It's because of how the moin headers are broken.
2006-08-22T15:17:33 <mvirkkil> xorAxAx: that would lead to another exception, since the redirected-output does it too.
2006-08-22T15:17:56 <xorAxAx> yeah, that needs to be fixed
2006-08-22T15:18:10 <mvirkkil> xorAxAx: I've been meaning to change it to something less obviously broken.
2006-08-22T15:20:08 <mvirkkil> and there was some suggestion about messing with internal bariables directly..
2006-08-22T15:20:25 <mvirkkil> but none of the options seem really appealing.
2006-08-22T15:20:56 <mvirkkil> and I don't really feel like dwelving in to moin to fix it, since I've got so much else I need to do.
2006-08-22T15:21:01 <xorAxAx> can you explain the issue on the wiki?
2006-08-22T15:21:14 <xorAxAx> thomas should fix it normally, he broke it ..
2006-08-22T15:23:39 <mvirkkil> basically the issue is, that redirected output probably shouldn't even call emit headers. But another problem is that set_headers should be able to be called multiple times. headers should be a dict, but currently it's just a string.
2006-08-22T15:24:17 <xorAxAx> headers is a string!?!?
2006-08-22T15:25:16 <xorAxAx> no, its a list
2006-08-22T15:29:17 <mvirkkil> but the stuff in the list are just strings
2006-08-22T15:29:26 <mvirkkil> not tuples
2006-08-22T15:29:27 <mvirkkil> iirc
2006-08-22T15:29:54 <mvirkkil> so it's just as broken as if the whole thing was a string, imho.
2006-08-22T15:30:55 <xorAxAx> emit_http_headers needs to consolidate them, yes
2006-08-22T15:31:56 <mvirkkil> and in the case of redirected output, it shouldn't be messing with headers?
2006-08-22T15:32:44 <xorAxAx> hmm
2006-08-22T15:32:49 <xorAxAx> yeah
2006-08-22T15:39:33 <ThomasWaldmann> mvirkkil: remind me today evening, maybe i can restructure some stuff there
2006-08-22T16:06:48 *** irc.freenode.net sets mode: +o ChanServ
2006-08-22T16:25:17 <mvirkkil> ThomasWaldmann: ok. I will.
2006-08-22T16:48:34 <birkenfeld> xorAxAx: does hg have pre-commit hooks?
2006-08-22T16:48:52 <birkenfeld> if yes, what about a "check for syntax errors" hook?
2006-08-22T17:18:23 <xorAxAx> birkenfeld: thats possible, yes
2006-08-22T17:18:34 <xorAxAx> ThomasWaldmann already setup such a hook for commit
2006-08-22T17:19:01 <xorAxAx> birkenfeld: a global pre-addchangegroup hook is missing, though
2006-08-22T17:19:09 <xorAxAx> birkenfeld: because commits are always local in a DVCS
2006-08-22T17:30:20 * ThomasWaldmann votes for a pep8 and tabs check
2006-08-22T17:33:33 <xorAxAx> ThomasWaldmann: at least tabs and syntax check would be nice
2006-08-22T17:36:58 * birkenfeld acks
2006-08-22T17:37:17 <birkenfeld> it would help to prevent certain 500s on test installations
2006-08-22T17:37:19 <birkenfeld> ;)
2006-08-22T18:44:04 <mvirkkil> ThomasWaldmann: Remember to check out if you can restructure some of the header handling (you asked me to remind you this evening)
2006-08-22T18:44:23 * ThomasWaldmann still at work
2006-08-22T18:50:21 <mvirkkil> ThomasWaldmann: is there any way to see the server logs? (Something caused a 500 error and I'd like to see what)
2006-08-22T18:55:52 <mvirkkil> ThomasWaldmann: It got halfway through a conversion so you should see it start with something like ImportDocBook post, or something
2006-08-22T19:21:36 <xorAxAx> mvirkkil: no, only thomas can check them
2006-08-22T19:23:12 <xorAxAx> mvirkkil: oh, and me
2006-08-22T19:23:20 <xorAxAx> mvirkkil: when did you start the request?
2006-08-22T19:23:58 <xorAxAx> oops, no, i cannot see the log
2006-08-22T19:24:53 <xorAxAx> [Tue Aug 22 16:49:06 2006] [error] [client 88.112.28.167] Premature end of script headers: moin.cgi, referer: http://docbook.wikiwikiweb.de/docs?action=ImportDocBook
2006-08-22T19:24:57 <xorAxAx> hah, found it :)
2006-08-22T20:05:57 <fpletz> hi there
2006-08-22T20:06:21 <fpletz> ThomasWaldmann: I'm here now and read the mails from you and richard
2006-08-22T20:06:42 <fpletz> I will to my best to fulfill your requirements
2006-08-22T20:07:03 <fpletz> however, I will not be home until tuesday evening
2006-08-22T20:07:21 <fpletz> I will work as time permits in the night and on trains
2006-08-22T20:07:39 <fpletz> I meant thursday above ^^
2006-08-22T20:10:57 <ThomasWaldmann> fpletz: your priorities are wrong
2006-08-22T20:11:55 <fpletz> *sigh* yes..
2006-08-22T20:47:47 <Kepplar> hey
2006-08-22T20:47:51 <Kepplar> can i please have help on this
2006-08-22T20:47:55 <Kepplar> storage.www.de
2006-08-22T20:48:03 <Kepplar> thats nothing to do with my code
2006-08-22T20:53:32 <Kepplar> im all stop atm
2006-08-22T20:53:33 <Kepplar> btw
2006-08-22T21:00:03 <xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T21:00:14 <xorAxAx> and caching is storage
2006-08-22T21:00:33 <xorAxAx> wow, you got underlay working - it is showing the german tabs
2006-08-22T21:00:44 <Kepplar> german?
2006-08-22T21:00:53 <Kepplar> where?
2006-08-22T21:01:00 <xorAxAx> yes, it translates them automatically, but only if it can find the pages
2006-08-22T21:01:05 <Kepplar> :o
2006-08-22T21:01:10 <xorAxAx> Kepplar: set your browser to german :-)
2006-08-22T21:01:28 <Kepplar> arena_dir is the cache location though?
2006-08-22T21:02:30 <Kepplar> or whats the right path suppose to be?
2006-08-22T21:02:32 <Kepplar> brb
2006-08-22T21:06:26 <xorAxAx> Kepplar: it just needs to exist
2006-08-22T21:06:29 <xorAxAx> thats enough :)
2006-08-22T21:06:48 <xorAxAx> so you may want to create it
2006-08-22T21:09:50 <ThomasWaldmann> mvirkkil: i am looking at your stuff now
2006-08-22T21:38:32 <ThomasWaldmann> mvirkkil: try BuildBook on docbook.www.de
2006-08-22T21:41:00 <ThomasWaldmann> i only did a small workaround, i dont want to completely refactor send_page right now
2006-08-22T21:41:50 <xorAxAx> the point is that it had been working for him
2006-08-22T21:42:17 <ThomasWaldmann> ?
2006-08-22T21:45:02 <ThomasWaldmann> define "working" :)
2006-08-22T21:45:35 <ThomasWaldmann> http header stuff might have failed silently, that is maybe the only difference
2006-08-22T21:45:52 <ThomasWaldmann> because of that, quite some errors were covered
2006-08-22T21:46:20 <ThomasWaldmann> we had lots of headers, but only few of them reached the client because of those errors
2006-08-22T21:47:36 <xorAxAx> working == he got the result that he wants to :)
2006-08-22T21:48:09 <ThomasWaldmann> yes, because of silent failure to send the second headers
2006-08-22T21:48:25 <xorAxAx> no, because the second headers overwrote the first ones
2006-08-22T21:48:33 <xorAxAx> right?
2006-08-22T21:48:39 <ThomasWaldmann> it only sent content_type once
2006-08-22T21:48:57 <ThomasWaldmann> maybe it sent other headers, though
2006-08-22T21:49:32 <ThomasWaldmann> and some stuff depended on request class
2006-08-22T21:49:40 <ThomasWaldmann> some used lists, some used dicts
2006-08-22T21:50:01 <ThomasWaldmann> lists append, dicts overwrote same header type with the next
2006-08-22T21:50:20 <ThomasWaldmann> e.g. only first vary header got through in the dict impls.
2006-08-22T21:51:15 <ThomasWaldmann> now it jumps in your face if you do sth wrong
2006-08-22T21:52:51 <xorAxAx> thats generally better, but somehow the semantics were different and are not achievable using current api
2006-08-22T21:53:50 <ThomasWaldmann> see last commit in docbook repo
2006-08-22T22:06:40 <xorAxAx> hmm, ok
2006-08-22T22:14:03 <Kepplar> out of interest why doesnt my wiki generate page cache?
2006-08-22T22:14:13 <Kepplar> (mine as in URL)
2006-08-22T22:19:47 <ThomasWaldmann> maybe you have caching_formats = []?
2006-08-22T22:21:15 <Kepplar> this is 1.5 btw
2006-08-22T22:21:35 <Kepplar> its cachign wikidicts and users and languages
2006-08-22T22:22:42 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:22:44 <ThomasWaldmann> text_html is influenced by that setting
2006-08-22T22:22:52 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:22:54 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:22:57 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:22:58 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:23:00 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:23:03 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:23:06 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:23:08 <Kepplar> 20:00 < xorAxAx> Kepplar: line 50 in caching.py, arena_dir is wrong
2006-08-22T22:23:16 <ThomasWaldmann> i guess we have that now
2006-08-22T22:23:19 <Kepplar> oops
2006-08-22T22:23:35 <Kepplar> 20:02 < Kepplar> or whats the right path suppose to be?
2006-08-22T22:23:35 <Kepplar> 20:02 < Kepplar> brb
2006-08-22T22:23:35 <Kepplar> 20:06 < xorAxAx> Kepplar: it just needs to exist
2006-08-22T22:24:00 <Kepplar> thats a contradiction
2006-08-22T22:24:15 <ThomasWaldmann> maybe try to speak in full sentences
2006-08-22T22:24:15 <Kepplar> xorAxAx says its wrong.. and it should just exist.. im skeptical
2006-08-22T22:24:26 <xorAxAx> Kepplar: its wrong because it doesnt exist
2006-08-22T22:24:34 <xorAxAx> Kepplar: you can make it right by creating it before hand
2006-08-22T22:24:37 <xorAxAx> which is sensible here
2006-08-22T22:24:45 <Kepplar> so why did it work prior?
2006-08-22T22:24:47 <xorAxAx> because the old code was lazy
2006-08-22T22:24:57 <xorAxAx> Kepplar: in 1.6? the Page code creates the page directory there
2006-08-22T22:25:06 <Kepplar> ah
2006-08-22T22:25:07 <xorAxAx> Kepplar: you dont have page directories :)
2006-08-22T22:25:12 <xorAxAx> just imaginary items
2006-08-22T22:29:08 <ThomasWaldmann> filesys.makeDirs is maybe useful
2006-08-22T22:31:38 <Kepplar> ThomasWaldmann: already ahead of you ;)
2006-08-22T22:31:40 <Kepplar> thx tho
2006-08-22T22:41:00 <Kepplar> ThomasWaldmann: whats the function of the old Page._text_filename
2006-08-22T22:41:15 <Kepplar> (im looking at the code right now of it)
2006-08-22T22:41:32 <Kepplar> "name of the pagefile, possibly of an older revision"
2006-08-22T22:41:45 <ThomasWaldmann> it gives the filename of the file with the page text :)
2006-08-22T22:42:14 <xorAxAx> Kepplar: its internal, dont replicate it :)
2006-08-22T22:42:22 <Kepplar> xorAxAx: im taking it out :)
2006-08-22T22:42:32 <Kepplar> ThomasWaldmann: sounds a bit like getPagePath though?
2006-08-22T22:44:36 <mvirkkil> xorAxAx: Yeah, that one. But do you have any additional info about it?
2006-08-22T22:45:00 <xorAxAx> mvirkkil: nope
2006-08-22T22:45:06 <xorAxAx> mvirkkil: but try again :)
2006-08-22T22:45:43 <mvirkkil> ThomasWaldmann: That fixes it for BuildBook
2006-08-22T22:45:56 <mvirkkil> ThomasWaldmann: Thanks!
2006-08-22T22:46:53 <mvirkkil> xorAxAx: in progress... this will take a minute or so
2006-08-22T22:47:13 <xorAxAx> heh
2006-08-22T22:47:15 <xorAxAx> load 1.2
2006-08-22T22:47:19 <xorAxAx> 1.3
2006-08-22T22:47:40 <xorAxAx> 1.5
2006-08-22T22:47:54 <xorAxAx> 1.4
2006-08-22T22:47:57 <mvirkkil> xorAxAx: ugh.. I suppose I should make the feature available only to select group
2006-08-22T22:48:17 <mvirkkil> like people listed in a special configuration option or something.
2006-08-22T22:48:37 <xorAxAx> i think "known" is enough at first
2006-08-22T22:48:46 <mvirkkil> xorAxAx: lol!
2006-08-22T22:48:46 <xorAxAx> i.e. logged in people
2006-08-22T22:49:09 <xorAxAx> the admin can track abusers down if necessary
2006-08-22T22:49:16 <mvirkkil> xorAxAx: oh.. I thought you meant something like "don't worry about it since no one know about the feature"
2006-08-22T22:49:24 <xorAxAx> mvirkkil: yes, as well
2006-08-22T22:49:32 <mvirkkil> xorAxAx: ok, now I got the error.
2006-08-22T22:49:43 <mvirkkil> Error message: Premature end of script headers: moin.cgi
2006-08-22T22:49:47 <xorAxAx> [Tue Aug 22 20:48:51 2006] [error] [client 88.112.28.167] Premature end of script headers: moin.cgi, referer: http://docbook.wikiwikiweb.de/docs?action=ImportDocBook
2006-08-22T22:49:58 <xorAxAx> so you didnt emit headers ...
2006-08-22T22:50:29 <mvirkkil> uuh.. that happens in the middle of the conversion.
2006-08-22T22:50:37 <mvirkkil> So it's apache timing the process out?
2006-08-22T22:50:55 <mvirkkil> xorAxAx: http://docbook.wikiwikiweb.de/docs/RPM%20Guide
2006-08-22T22:51:13 <mvirkkil> You can see it only gets halfay processing the doc, or something..
2006-08-22T22:51:31 <xorAxAx> no, a timeout would look differently, but thats possible generally
2006-08-22T22:51:51 <mvirkkil> so can you see anything more in the log?
2006-08-22T22:52:10 <xorAxAx> nope
2006-08-22T22:52:15 <mvirkkil> :(
2006-08-22T22:52:18 <xorAxAx> easy hint: put a sleep(120) in there
2006-08-22T22:52:30 <mvirkkil> in where?
2006-08-22T22:52:33 <xorAxAx> in your code
2006-08-22T22:52:37 <xorAxAx> before the big processing begins
2006-08-22T22:52:54 <mvirkkil> xorAxAx: what would that do?
2006-08-22T22:53:03 <mvirkkil> cause a timeout?
2006-08-22T22:53:23 <xorAxAx> then you can see if it _is_ the timeout
2006-08-22T22:53:32 <xorAxAx> (by measuring the time between request and failure
2006-08-22T22:53:56 <Kepplar> ThomasWaldmann?
2006-08-22T22:56:06 <mvirkkil> xorAxAx: another option would be to emit headers...
2006-08-22T22:56:12 <ThomasWaldmann> Kepplar: ?
2006-08-22T22:56:25 <Kepplar> 21:42 < Kepplar> ThomasWaldmann: sounds a bit like getPagePath though?
2006-08-22T22:56:34 <Kepplar> (gnome terminal sucks)
2006-08-22T22:56:40 <dino4k> yeah :D
2006-08-22T22:56:42 <xorAxAx> mvirkkil: yep
2006-08-22T22:56:47 <xorAxAx> hi dino4k :)
2006-08-22T22:56:51 <dino4k> hi
2006-08-22T22:56:53 <Kepplar> remind me to install aterm again
2006-08-22T22:56:55 <ThomasWaldmann> Kepplar: you dont need it
2006-08-22T22:57:13 <Kepplar> ThomasWaldmann: but what are thing that call it require as a return respective?
2006-08-22T22:57:49 <ThomasWaldmann> it is returning the filename of the page text file
2006-08-22T22:58:20 <ThomasWaldmann> sometimes functions really do what they are named like
2006-08-22T22:58:20 <Kepplar> hmm
2006-08-22T22:58:33 <Kepplar> sorry im just a little skeptical why this is different to getpagepath
2006-08-22T22:59:32 <mvirkkil> xorAxAx: hmm.. another reason could be a non-lethal exception I suppose...
2006-08-22T22:59:49 <mvirkkil> xorAxAx: I need to test it locally and see if it prints out something funny..
2006-08-22T22:59:51 <xorAxAx> non-lethal? no, lethal non catched
2006-08-22T22:59:59 <xorAxAx> oh, you didnt?
2006-08-22T23:00:06 <mvirkkil> xorAxAx: I did, and it worked fine.
2006-08-22T23:00:12 <mvirkkil> xorAxAx: of course I did..
2006-08-22T23:00:54 <mvirkkil> xorAxAx: but what I'm hoping is to see something accidentaly printing something (like a stack trace) to stdout or stderr which would be the regular reason for this.
2006-08-22T23:01:25 <Kepplar> ThomasWaldmann: ok thx, changed it.
2006-08-22T23:01:27 <mvirkkil> xorAxAx: I could've missed something little, with all my debug print flooding the terminal.
2006-08-22T23:01:33 <xorAxAx> yeah
2006-08-22T23:02:56 <mvirkkil> also, running moin lately resutls in a lot of "error: (32, 'Broken pipe')"
2006-08-22T23:03:02 <mvirkkil> do you know anything about this?
2006-08-22T23:03:18 <mvirkkil> or not alot.. occasional would be closer to the truth
2006-08-22T23:04:11 <xorAxAx> that means that the pipe was closed ...
2006-08-22T23:04:13 <xorAxAx> no idea why
2006-08-22T23:04:30 <Kepplar> Er
2006-08-22T23:04:35 <mvirkkil> Whoa!
2006-08-22T23:04:42 <mvirkkil> I got a huge stacktrace.
2006-08-22T23:04:44 <Kepplar> can someone please verify what the data of my front page is suppose to be?
2006-08-22T23:04:55 * Kepplar points at storage.www.de
2006-08-22T23:05:03 <mvirkkil> I have _no_ idea how I could have missed that before.
2006-08-22T23:05:08 <xorAxAx> LOL
2006-08-22T23:05:57 <mvirkkil> xorAxAx: but it just runs perfectly ignoring it.
2006-08-22T23:06:00 <xorAxAx> Kepplar: looks nice, its just awful slow
2006-08-22T23:06:10 <xorAxAx> mvirkkil: hey, you arent kepplar
2006-08-22T23:06:13 <mvirkkil> xorAxAx: it creates the pages and evetyrhing...
2006-08-22T23:06:26 <xorAxAx> Kepplar: factor 3 ...
2006-08-22T23:06:31 <Kepplar> yes
2006-08-22T23:06:32 <Kepplar> it will be
2006-08-22T23:06:39 <xorAxAx> ?
2006-08-22T23:06:40 <Kepplar> im not surpised in the slightest
2006-08-22T23:06:56 <xorAxAx> maybe caching is not working?
2006-08-22T23:06:58 <Kepplar> because Page/user and stuff intergration has been hacked
2006-08-22T23:07:13 <Kepplar> so its probably calling storage twice as often as it needs to be
2006-08-22T23:07:21 <Kepplar> but i was told to hack it and just get it working
2006-08-22T23:07:25 <Kepplar> so thats exactly what ive been doing
2006-08-22T23:07:34 <Kepplar> is the data correct though?
2006-08-22T23:07:36 <Kepplar> (page content)
2006-08-22T23:08:01 <Kepplar> once ive sorted the bugs remaining
2006-08-22T23:08:01 <xorAxAx> yes
2006-08-22T23:08:09 <xorAxAx> now let me edit the page </manic laughter>
2006-08-22T23:08:15 <Kepplar> the next stage is moving Page's stuff..completly out and moving
2006-08-22T23:08:16 <Kepplar> wont work
2006-08-22T23:08:20 <Kepplar> ive not sorted that yet
2006-08-22T23:08:24 <xorAxAx> hehe ok
2006-08-22T23:08:32 <Kepplar> it to storage.PageRevision
2006-08-22T23:08:47 <xorAxAx> i think this is the level that had been working in 1.4 as well
2006-08-22T23:09:01 <Kepplar> hmmm?
2006-08-22T23:09:16 <xorAxAx> moinmoin 1.4 is the branch that introduced items
2006-08-22T23:09:20 <Kepplar> ah
2006-08-22T23:09:33 <xorAxAx> it was never continued
2006-08-22T23:09:45 <xorAxAx> because it lacked unittests for example
2006-08-22T23:09:53 <Kepplar> i had to disable mine
2006-08-22T23:09:58 <xorAxAx> http://storage.wikiwikiweb.de/RecentChanges is broken
2006-08-22T23:10:00 <Kepplar> they need to be rewritten
2006-08-22T23:10:03 <Kepplar> probably
2006-08-22T23:10:06 <xorAxAx> http://storage.wikiwikiweb.de/AktuelleĆnderungen is broken as well
2006-08-22T23:10:07 <Kepplar> im not their yet :P
2006-08-22T23:10:14 <xorAxAx> sure
2006-08-22T23:10:18 <Kepplar> AktuelleĆnderungen > whats that?
2006-08-22T23:10:26 <Kepplar> < even
2006-08-22T23:10:35 <xorAxAx> thats RC in german
2006-08-22T23:10:39 <Kepplar> ah
2006-08-22T23:11:00 <Kepplar> Did german for 5 years and basically forgotten all :)
2006-08-22T23:16:48 <birkenfeld> sometimes I have the impression that English native speakers just fail to see why they should be able to speak a foreign language ;)
2006-08-22T23:17:30 <birkenfeld> hey, print preview works
2006-08-22T23:17:42 <Kepplar> oh not at all, recently I've made a list of a range of languages
2006-08-22T23:18:06 <Kepplar> what we don't appreciate is our education system which makes most subjects unappealing. Many of us including me don't like being forced to do something ;)
2006-08-22T23:19:13 <birkenfeld> I suppose a system where everyone can choose what to do and what to not do won't work any better for the majority
2006-08-22T23:20:15 <Kepplar> how so?
2006-08-22T23:20:32 <birkenfeld> they would choose not to do anything at all :)
2006-08-22T23:20:37 <Kepplar> lol!
2006-08-22T23:20:46 <xorAxAx> birkenfeld: BZZZZT
2006-08-22T23:20:59 <xorAxAx> birkenfeld: cf. sudburry schools
2006-08-22T23:21:14 <xorAxAx> sudbury even
2006-08-22T23:21:26 <Kepplar> Well I never had strong connections to the mainland at all - we only went to france twice or so. Now its completly the opposite but I've only developed this since going to uni/independance
2006-08-22T23:22:21 <birkenfeld> xorAxAx: something like Waldorf? ;)
2006-08-22T23:22:31 <xorAxAx> nope
2006-08-22T23:22:45 <Kepplar> Waldorf?
2006-08-22T23:25:29 <birkenfeld> see http://en.wikipedia.org/wiki/Waldorf_education
2006-08-22T23:26:01 <xorAxAx> birkenfeld: completly different
2006-08-22T23:26:16 <Kepplar> Oh i've heard of that before
2006-08-22T23:27:15 <birkenfeld> I love effbot
2006-08-22T23:27:20 <Kepplar> Nah, my main stab at the UK educational system is that it is a square peg and whether your are a triangle, hexagon or whatever you have to fit it
2006-08-22T23:27:26 <birkenfeld> """
2006-08-22T23:27:26 <birkenfeld> no, you're just wasting a lot of bandwidth making it clear that you just
2006-08-22T23:27:26 <birkenfeld> cannot be bothered to learn how things actually work.
2006-08-22T23:27:26 <birkenfeld> do you behave this way in real life too, or is it just something you're
2006-08-22T23:27:26 <birkenfeld> doing on the internet ?"""
2006-08-22T23:28:19 <Kepplar> whats that a quote from?
2006-08-22T23:29:04 <birkenfeld> it's from the comp.lang.python newsgroup
2006-08-22T23:29:09 <birkenfeld> by Fredrik Lundh
2006-08-22T23:29:19 <Kepplar> and actually that quote to be honest makes alot of sense to me.
2006-08-22T23:29:24 <Kepplar> I don't like learning.
2006-08-22T23:29:26 <Kepplar> I like knowing ;)
2006-08-22T23:29:54 <Kepplar> If this was starwars universe I'd fall darkside :P
2006-08-22T23:30:10 <birkenfeld> I didn't reference that quote to you, I just read it and it made me laugh
2006-08-22T23:30:19 <Kepplar> i know :)
2006-08-22T23:30:39 <Kepplar> nntp rocks
2006-08-22T23:33:13 * Kepplar notes that the edit page now loads
2006-08-22T23:33:18 <Kepplar> you can't submit anythign yet :P
2006-08-22T23:33:27 <mvirkkil> weird. Now I've fixed the exception, but I still get the same error from the docbook test wiki. And yes, I did push.
2006-08-22T23:33:44 <xorAxAx> did you commit? <duck>
2006-08-22T23:33:55 <xorAxAx> so emit headers ...
2006-08-22T23:35:34 <birkenfeld> is the edit page heading meant to have no space to the page top?
2006-08-22T23:35:56 <xorAxAx> it directly starts with the pagename
2006-08-22T23:36:11 <xorAxAx> new degree of usability introduced by moinmoin enterprise edition
2006-08-22T23:36:25 <birkenfeld> enterprise? o.o
2006-08-22T23:37:07 <birkenfeld> on moinmoin.www.de not even the logo is displayed
2006-08-22T23:37:36 <xorAxAx> ThomasWaldmann: see birkenfeld
2006-08-22T23:37:43 <xorAxAx> ThomasWaldmann: no, dont
2006-08-22T23:37:50 <birkenfeld> hm?
2006-08-22T23:38:02 <xorAxAx> birkenfeld: that was intended by that new degree of usability
2006-08-22T23:38:37 <birkenfeld> so the previous degree was master, and the new degree is bachelor?
2006-08-22T23:39:25 <xorAxAx> hehe
2006-08-22T23:41:03 <birkenfeld> somehow, moinmoin.www.de is quite slow atm...
2006-08-22T23:43:30 <birkenfeld> # send_page = 87.567s
2006-08-22T23:43:30 <birkenfeld> # send_page_content = 87.544s
2006-08-22T23:43:30 <birkenfeld> # total = 87.569s
2006-08-22T23:43:44 <Kepplar> LOL
2006-08-22T23:43:50 <Kepplar> er
2006-08-22T23:43:56 <Kepplar> im not causing never-ending processes?
2006-08-22T23:46:08 <xorAxAx> ThomasWaldmann: btw, have you analysed the zombie reason i gave you?
2006-08-22T23:59:30 <ThomasWaldmann> no time yet
MoinMoin: MoinMoinChat/Logs/moin-dev/2006-08-22 (last edited 2021-02-13 13:49:32 by Bind)