2006-08-20T00:52:07  <Kepplar> moin
2006-08-20T00:52:39  <Kepplar> ThomasWaldmann: can you fix the wiki
2006-08-20T10:50:07  <ThomasWaldmann> moin
2006-08-20T10:54:13  <ThomasWaldmann> Kepplar: when was your last main branch merge?
2006-08-20T10:57:27  <xorAxAx> ThomasWaldmann: 330 changesets ago
2006-08-20T10:57:49  <ThomasWaldmann> Kepplar: http://storage.wikiwikiweb.de/ next error to fix
2006-08-20T10:58:22  <ThomasWaldmann> Kepplar: the reason why it crashed on multiconfig is that you didnt follow main branch
2006-08-20T11:29:30  <mvirkkil> ThomasWaldmann: Could you install 4suite on the server?
2006-08-20T11:29:42  <mvirkkil> ThomasWaldmann: I use 4suite for the upload part.
2006-08-20T11:35:10  <ThomasWaldmann> try now
2006-08-20T11:35:41  <ThomasWaldmann> and please document those requirements
2006-08-20T11:36:25  <mvirkkil> ThomasWaldmann: I will :)
2006-08-20T11:36:53  <Kepplar> hey
2006-08-20T11:36:55  <Kepplar> ThomasWaldmann: ta
2006-08-20T11:37:04  <mvirkkil> ThomasWaldmann: Hmm.. I still get "Unknown action ImportDocBook."
2006-08-20T11:37:06  <Kepplar> ive been working on a user/storage bug atm
2006-08-20T11:38:53  <ThomasWaldmann> mvirkkil: there is no action ImportDocBook there
2006-08-20T11:39:16  <mvirkkil> http://hg.thinkmo.de/moin/1.6-docbook-mvirkkil?cmd=manifest;manifest=6bedd868a3fe3b54ace891d6b29da841b6f52212;path=/MoinMoin/action/
2006-08-20T11:40:01  <mvirkkil> It works for me locally. This is the action: http://hg.thinkmo.de/moin/1.6-docbook-mvirkkil?f=57dd9419566d;file=MoinMoin/action/ImportDocBook.py
2006-08-20T11:41:41  <ThomasWaldmann> that stuff is missing docstrings btw :)
2006-08-20T11:41:55  <mvirkkil> Yeah :(
2006-08-20T11:41:58  <ThomasWaldmann> see MoinMoin/_template.py
2006-08-20T11:42:31  <ThomasWaldmann> this stuff is REQUIRED at top of any .py file
2006-08-20T11:43:14  <mvirkkil> Ok. I'll add that to the top asap.
2006-08-20T11:43:36  <mvirkkil> But do you have any idea why the action isn't being seen on the server?
2006-08-20T11:45:03  <ThomasWaldmann> try now, your repo didnt auto-update
2006-08-20T11:45:18  <Kepplar> hmm
2006-08-20T11:45:23  <Kepplar> its a metadata reteival bug
2006-08-20T11:45:25  <ThomasWaldmann> (your repo's workdir, to be exact)
2006-08-20T11:45:31  <Kepplar> ThomasWaldmann: btw its writing to disk
2006-08-20T11:45:58  <mvirkkil> ThomasWaldmann: Ok, now I see the upload page. Thanks :)
2006-08-20T12:06:28  <mvirkkil> uploaded version with copyright information
2006-08-20T12:09:54  <Kepplar> (r'(^(#)\w*(?:\n\s*)+)+')
2006-08-20T12:09:57  <Kepplar> thats broken
2006-08-20T12:11:09  <mvirkkil> ThomasWaldmann: I'm seeing Error retrieving resource 'file:///srv/de.wikiwikiweb.docbook/cgi-bin/MoinMoin/action/ImportDocBook/db2mm.xslt'
2006-08-20T12:12:11  <xorAxAx> mvirkkil: is that a subdirectory below action?
2006-08-20T12:12:17  <xorAxAx> makes sense
2006-08-20T12:12:50  <mvirkkil> yeah. It was suggested I'd put my xslt files there
2006-08-20T12:13:00  <mvirkkil> how does it make sense?
2006-08-20T12:13:19  <xorAxAx> it makes sense because the action is in "action" as well
2006-08-20T12:13:33  <mvirkkil> uhh.. ok
2006-08-20T12:13:58  <ThomasWaldmann> mvirkkil: MoinMoin is not below cgi-bin
2006-08-20T12:14:16  <mvirkkil> ThomasWaldmann: ok
2006-08-20T12:15:32  <mvirkkil> ThomasWaldmann: Any suggestions on how I might find where that directory resides? Currently I'm using the apparently very naive way of uri = OsPathToUri("MoinMoin/action/ImportDocBook/db2mm.xslt")
2006-08-20T12:15:34  <xorAxAx> mvirkkil: from ... import ImportDocBook; ImportDocBook.__file__ might help
2006-08-20T12:15:52  <mvirkkil> xorAxAx: aah.. ok :)
2006-08-20T12:15:58  <xorAxAx> and then basepath etc.
2006-08-20T12:16:21  <Kepplar> whats /r at the start of a regex mean?
2006-08-20T12:16:24  <Kepplar> er
2006-08-20T12:16:24  <Kepplar> r
2006-08-20T12:17:02  <mvirkkil> Kepplar: It means "raw string"
2006-08-20T12:17:05  <Kepplar> ah
2006-08-20T12:17:12  <mvirkkil> Kepplar: no, wait.
2006-08-20T12:17:21  <mvirkkil> Kepplar: it's not raw the way you think
2006-08-20T12:17:43  <xorAxAx> yeah, its not like "raw eggs"
2006-08-20T12:17:46  <mvirkkil> Kepplar: raw in this case, means that python will not interpret the escaping.
2006-08-20T12:18:06  <Kepplar> makes sense for this, cheers
2006-08-20T12:18:23  <xorAxAx> one of the features i am horribly missng in java
2006-08-20T12:18:40  <xorAxAx> and IDEs like eclipse do auto-escaping for you, because its so painful
2006-08-20T12:33:13  * ThomasWaldmann currently reviews moin's escaping stuff X)
2006-08-20T12:42:18  <ThomasWaldmann> http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ClearMessageNeedsNoAction and comments on this?
2006-08-20T12:43:02  <ThomasWaldmann> that action=show stuff got even uglier now: .../action/show/PageName?action=show
2006-08-20T12:43:50  <mvirkkil> This page has gone from moin->docbook->moin http://docbook.wikiwikiweb.de/docs/A_complete_book/Syntax%20reference
2006-08-20T12:46:17  <ThomasWaldmann> mvirkkil: looks quite good, except the table attrs
2006-08-20T12:48:50  <xorAxAx> ThomasWaldmann: why do you put te action into te path?
2006-08-20T12:49:14  <xorAxAx> i mean, whats the rationale behind it?
2006-08-20T12:50:28  <mvirkkil> ThomasWaldmann: What do yuo mean table attrs? I think tables (which are _extremely_ complex) works better than I had dared to anticipate.
2006-08-20T12:51:49  <mvirkkil> The width% and background colors don't work, mainly due to the fact that yelp doesn't even support those, so there is little point to export that info.
2006-08-20T12:52:11  <mvirkkil> But spanning multiple columns/rows works :)
2006-08-20T12:52:53  <xorAxAx> mvirkkil: does it support blinking text as well? that is the killer feature
2006-08-20T12:53:32  <xorAxAx> </just kidding>
2006-08-20T12:53:41  <mvirkkil> xorAxAx: :)
2006-08-20T12:54:19  <ThomasWaldmann> xorAxAx: fscking robots.txt
2006-08-20T12:54:48  <mvirkkil> ThomasWaldmann: You are able to override that in wget
2006-08-20T12:55:04  <xorAxAx> ThomasWaldmann: umm
2006-08-20T12:55:06  <mvirkkil> ThomasWaldmann: and moin doesn't like wget either, so I just use -U "mozilla"
2006-08-20T12:55:10  <ThomasWaldmann> mvirkkil: override what?
2006-08-20T12:55:23  <mvirkkil> ThomasWaldmann: wget by default respects robots.txt
2006-08-20T12:55:38  <xorAxAx> ThomasWaldmann: can you make it disablelable?
2006-08-20T12:55:46  <ThomasWaldmann> the point is not handling nasty bots (this is done by surge protection)
2006-08-20T12:55:48  <mvirkkil> ThomasWaldmann: and considers it self a robot
2006-08-20T12:55:49  <xorAxAx> ThomasWaldmann: it certainly looks ugly and complicates the URL
2006-08-20T12:56:05  <ThomasWaldmann> the point is lowering load and traffic made by conforming bots even
2006-08-20T12:56:30  <ThomasWaldmann> and as robots.txt is braindead, there is simply no other way doing it 8(
2006-08-20T12:57:05  <ThomasWaldmann> btw, this is optional
2006-08-20T12:57:32  <xorAxAx> ok
2006-08-20T12:59:23  <ThomasWaldmann> http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ClearMessageNeedsNoAction any other reason NOT to remove action=show after saving?
2006-08-20T13:01:04  <ThomasWaldmann> s/after edit/in all msg boxes/
2006-08-20T13:01:32  <xorAxAx> no, i cannot think of any
2006-08-20T13:03:05  <xorAxAx> "  action=show is there for a reason - it let you show redirect pages after you edit them. Without it, you will be redirected to the target page after you save."
2006-08-20T13:03:08  <xorAxAx> thats incorrect
2006-08-20T13:03:12  <xorAxAx> you wont be directed after save
2006-08-20T13:03:22  <xorAxAx> just after save and click which is ok
2006-08-20T13:08:37  <ThomasWaldmann> correct
2006-08-20T13:08:40  <ThomasWaldmann> i changed it
2006-08-20T14:30:37  <xorAxAx> LOL, nice bug report
2006-08-20T14:44:05  * ThomasWaldmann adds page.link_to_raw() == link_to without magic
2006-08-20T15:54:30  <Kepplar> been working 7 hours solid :/
2006-08-20T15:54:34  <Kepplar> gonna get food
2006-08-20T15:54:37  <Kepplar> back in 30
2006-08-20T15:58:28  <ThomasWaldmann> hours? :)
2006-08-20T16:08:31  <xorAxAx> ThomasWaldmann: your link_to changes let moin generate a lot of warnings
2006-08-20T16:22:34  <ThomasWaldmann> that deprecation stuff?
2006-08-20T16:31:12  <xorAxAx> yes
2006-08-20T16:31:20  * xorAxAx finished delete support
2006-08-20T16:32:08  <Kepplar> hi
2006-08-20T16:32:28  <ThomasWaldmann> it is because it calls that method more often now instead of using that self-made html
2006-08-20T16:34:49  <xorAxAx> ThomasWaldmann: thats not an explanation :) if it is correct like this, then you have to change the API
2006-08-20T16:37:12  <xorAxAx> hmm, test.www.de is in test mode
2006-08-20T16:38:20  <Kepplar> whats the difference between file and open?
2006-08-20T16:40:20  <birkenfeld> Kepplar: http://docs.python.org/dev/lib/built-in-funcs.html#l2h-27
2006-08-20T16:40:26  <Kepplar> ta
2006-08-20T16:41:36  <Kepplar> this is soo strange
2006-08-20T16:41:49  <Kepplar> its firing off a exception when the location doesn't exist, dispite being in write mode
2006-08-20T16:53:29  <ThomasWaldmann> xorAxAx: the other code wasnt less broken, just more silent
2006-08-20T16:54:28  <xorAxAx> why do i need to create an account for test.www.de?
2006-08-20T16:58:06  <ThomasWaldmann> because that joke got old
2006-08-20T16:59:23  <xorAxAx> ?
2006-08-20T16:59:55  <xorAxAx> heh, 3 times reverted %-)
2006-08-20T17:03:58  <xorAxAx> ThomasWaldmann: TestWiki now has a link that doesnt work anymore
2006-08-20T17:04:02  <xorAxAx> after your changes
2006-08-20T17:04:16  <xorAxAx> either its the parser or the link_to change
2006-08-20T17:04:26  <xorAxAx> it works fine on mm.www.de
2006-08-20T17:06:19  <ThomasWaldmann> which link?
2006-08-20T17:07:06  <ThomasWaldmann> ah, see it
2006-08-20T17:07:09  <xorAxAx> hehe
2006-08-20T17:13:07  <mvirkkil> I cannot describe the level of my frustration at this moment. My dsl line is down.
2006-08-20T17:13:26  <mvirkkil> I called their supprt and they claimed it would be fixed shortly. It wasnt.
2006-08-20T17:14:07  <mvirkkil> The closest place which I could think of to get net access is at my school, so I'm writing from there.
2006-08-20T17:14:29  <mvirkkil> The bastards couldn't have done it at a worse time...
2006-08-20T17:15:24  <xorAxAx> hehe
2006-08-20T17:15:35  <xorAxAx> murphy :)
2006-08-20T17:15:36  <mvirkkil> I've been dicking around with my dsl box, trying to figure out whats wrong, and then when I figured out it was on their end and they said they'd fix it, waiting for them to do so.
2006-08-20T17:15:55  <mvirkkil> I've been offline since my last comment here.
2006-08-20T17:16:03  <mvirkkil> 4h now :(
2006-08-20T17:16:13  <mvirkkil> 4h totally wasted
2006-08-20T17:16:53  <mvirkkil> And I still can't do anything worthwhile because I don't have a proper editor, nor access rights to push the code upstream.
2006-08-20T17:17:05  <mvirkkil> or to the repo that is
2006-08-20T17:18:43  <xorAxAx> hmm, bad
2006-08-20T17:18:48  <xorAxAx> notebooks rock
2006-08-20T17:19:18  <birkenfeld> and open WLANs in the neighborhood
2006-08-20T17:19:50  <mvirkkil> Don't have a notebook, and wouldn't have an open wlan in the neighborhood..
2006-08-20T17:19:55  <mvirkkil> :
2006-08-20T17:19:56  <mvirkkil> :(
2006-08-20T17:20:37  <mvirkkil> Since this gets logged for posterity: Saunalahti sucks
2006-08-20T17:22:34  <birkenfeld> since this gets logged: nowhere in my neighborhood is an open WLAN, and at no time would I have had the intention to break into it if one was there, which it isn't. :)
2006-08-20T17:23:28  <xorAxAx> damn, my neighbours are too old to realise what WLAN means. and i havent found a single one while searching for it for a few hours
2006-08-20T17:24:40  <ThomasWaldmann>     @copyright: 2000-2004 by Jrgen Hermann <jh@web.de>
2006-08-20T17:25:02  <xorAxAx> ThomasWaldmann: pageeditor?
2006-08-20T17:25:08  <birkenfeld> ThomasWaldmann: you're lucky your name isn't Thömas
2006-08-20T17:25:08  <xorAxAx> i will push a fix
2006-08-20T17:25:15  <xorAxAx> birkenfeld: LOL
2006-08-20T17:25:17  <ThomasWaldmann> Page.py
2006-08-20T17:25:20  <xorAxAx> ok
2006-08-20T17:25:58  <mvirkkil> xorAxAx: you use eclipse?
2006-08-20T17:26:18  <xorAxAx> no
2006-08-20T17:26:20  <xorAxAx> kdiff3
2006-08-20T17:26:23  <xorAxAx> breaks em
2006-08-20T17:27:06  <mvirkkil> eclipse does too
2006-08-20T17:27:09  <ThomasWaldmann> maybe simply don't use a merge program or a nonbroken one
2006-08-20T17:28:01  <mvirkkil> or maybe we should switch to utf8
2006-08-20T17:35:32  <xorAxAx> Kepplar: only 355 changesets to merge from main
2006-08-20T17:35:38  <xorAxAx> i smell fun
2006-08-20T17:36:03  <birkenfeld> is that usual?
2006-08-20T17:37:43  <xorAxAx> birkenfeld: what?
2006-08-20T17:38:04  <birkenfeld> xorAxAx: so many changesets to merge
2006-08-20T17:38:15  <Kepplar> it cant be that much
2006-08-20T17:38:18  <xorAxAx> sure, if you dont merge for a few weeks
2006-08-20T17:38:20  <Kepplar> i merged at the start of the month
2006-08-20T17:38:23  <xorAxAx> Kepplar: i just checked
2006-08-20T17:38:44  <Kepplar> plus I'd expect you'll have most of the problems
2006-08-20T17:38:55  <xorAxAx> me?
2006-08-20T17:38:57  <Kepplar> as I'm not moving your mods to Page and stuff over to the new page class :P
2006-08-20T17:39:11  <xorAxAx> but you have to :)
2006-08-20T17:39:17  <Kepplar> your job :P
2006-08-20T17:39:22  <Kepplar> i said at the start they are deprecated
2006-08-20T17:39:33  <xorAxAx> i just added a 2 liner
2006-08-20T17:39:41  <Kepplar> ah thats ok :)
2006-08-20T17:40:00  <xorAxAx> and i hope that i can implement it using the new storage system
2006-08-20T17:40:10  <xorAxAx> if not, i would consider it severely b0rked :)
2006-08-20T17:40:12  <Kepplar> well its writing to disk
2006-08-20T17:40:16  <Kepplar> and reading
2006-08-20T17:40:19  <Kepplar> just a few tweats
2006-08-20T17:40:22  <Kepplar> tweaks
2006-08-20T17:40:23  <Kepplar> left
2006-08-20T17:40:27  <Kepplar> and acl and attachments
2006-08-20T17:50:08  <birkenfeld> wasn't storage.wikiwikiweb.de supposed to be a testing ground for the storage branch?
2006-08-20T17:51:00  <Kepplar> it is
2006-08-20T17:52:03  <birkenfeld> but something's b0rked
2006-08-20T17:52:07  <Kepplar> acl
2006-08-20T17:56:55  <xorAxAx> birkenfeld: it has never been running yet
2006-08-20T17:57:00  <xorAxAx> Kepplar is working on it
2006-08-20T17:57:45  <birkenfeld> I just wanted to help out with testing...
2006-08-20T17:59:30  <Kepplar> atm because I didnt have time to put the storage logger api I have in my version loads of print statements and am manually going through observing everythin
2006-08-20T18:02:04  <xorAxAx> just call a function called log that accepts a boolean
2006-08-20T18:02:12  <xorAxAx> i mean, checks  a boolean
2006-08-20T18:02:23  <xorAxAx> then you can commit your loggin code without bothering anyone
2006-08-20T18:02:33  <Kepplar> sounds expensive
2006-08-20T18:02:39  <Kepplar> all of those if statements
2006-08-20T18:03:00  <xorAxAx> not really
2006-08-20T18:03:07  <Kepplar> 40-50 of them per item
2006-08-20T18:03:51  <xorAxAx> thats ok for now
2006-08-20T18:15:07  <Kepplar> ok
2006-08-20T18:15:20  <Kepplar> so this bug related to user login isnt storage.. wellnot directly
2006-08-20T18:15:24  <Kepplar> how does this UID work?
2006-08-20T18:15:29  <Kepplar> as itscreating a user with UID
2006-08-20T18:15:32  <Kepplar> then trying to login
2006-08-20T18:15:44  <Kepplar> and for some reason its trying to use a different uid
2006-08-20T18:17:26  <xorAxAx> "use"?
2006-08-20T18:24:02  <xorAxAx> birkenfeld: is it considered bad-style to use closures that are nested 3 times? :)
2006-08-20T18:25:53  <birkenfeld> xorAxAx: if it's readable I would say no
2006-08-20T18:36:04  <xorAxAx> ok, now i have rollback and crash logging implemented
2006-08-20T18:38:58  * xorAxAx realises that user documentation is not coding therefore not bound to the deadline or other limitations set by google
2006-08-20T18:44:53  <ThomasWaldmann> thay say that the "project" deadline is tomorrow
2006-08-20T18:45:28  <xorAxAx> but documentation is not part of SOC according to the FAQs :-)
2006-08-20T18:45:37  <xorAxAx> (nevertheless i will have it finished then :))
2006-08-20T18:45:49  <xorAxAx> which is really bad IMHO
2006-08-20T18:46:15  <xorAxAx> the deadline is 17:00 MEST btw
2006-08-20T18:54:31  <ThomasWaldmann> there is nothing in the student faq saying that documentation isn't required. they just tell that "documentation-only" projects are not acceptable, this means you have to code.
2006-08-20T18:54:49  <ThomasWaldmann> it doesnt mean you have to code and not do sufficient docs.
2006-08-20T18:56:14  <xorAxAx> hmm, ok
2006-08-20T19:03:37  <ThomasWaldmann> of course, working code is highest priority. so great docs, but no working code are no good.
2006-08-20T19:09:55  <Kepplar> i doubt i'll be done
2006-08-20T19:10:03  <Kepplar> this is hidieous code im integrating against
2006-08-20T19:10:39  <Kepplar> quite frankly jurgen can't code
2006-08-20T19:11:31  <ThomasWaldmann> maybe you should rather care about your code
2006-08-20T19:12:06  <Kepplar> ...
2006-08-20T19:12:09  <Kepplar> what do you mean?
2006-08-20T19:12:31  <birkenfeld> ThomasWaldmann: yes, Kepplar produces industry standard code, doesn't he? :)
2006-08-20T19:12:45  <Kepplar> not in the lsat week or so ive had to put so many hacks in
2006-08-20T19:12:47  <Kepplar> because of legacy
2006-08-20T19:12:51  <Kepplar> flat fiel system
2006-08-20T19:12:59  <Kepplar> imho i'd just get rid of it and force everyone to adapt
2006-08-20T19:14:36  <Kepplar> ThomasWaldmann: so what do you mean? if your going to snipe at least explain yourself
2006-08-20T19:15:06  <xorAxAx> Kepplar: you talked badly about the only guy that can write nice code at all, jürgen
2006-08-20T19:15:09  <ThomasWaldmann> it is a bit late about complaining how bad the world is
2006-08-20T19:16:01  <Kepplar> xorAxAx: nice? have you seen the code I'm integrating against?
2006-08-20T19:16:12  <ThomasWaldmann> but we can discuss about that after the deadline, I guess you'll need every minute now.
2006-08-20T19:16:28  <xorAxAx> Kepplar: yes, and i am not sure if jürgen wrote it
2006-08-20T19:16:39  <Kepplar> xorAxAx: says on the header it was
2006-08-20T19:16:50  <xorAxAx> that doesnt mean anything
2006-08-20T19:17:15  <xorAxAx> some people even managed to create new files with "jürgen" in the header though they werent called like him and jürgen didnt write a single line of it
2006-08-20T19:17:49  <Kepplar> well it isnt TW's code -i've seen files attributed to TW and they're a totally different style
2006-08-20T19:18:36  <birkenfeld> perhaps it was Jürgen's unknown evil twin, seeking to rule the world
2006-08-20T19:38:35  <Kepplar> ok i just pushed this.. i hate working in these conditions
2006-08-20T19:38:50  <Kepplar> its not fixed and won't be fixed in time because user is undocumented sh*te
2006-08-20T19:42:23  <Kepplar> ThomasWaldmann: current bug is retrival and processing of user list (its about 50 lines of undocumented code which my brain won't allow me to read (thank god))
2006-08-20T19:42:36  <Kepplar> users accounts can be read and written to disk
2006-08-20T19:42:52  <Kepplar> but it can't locate the user id because of the arcahic way this "architecture" works
2006-08-20T19:49:50  * birkenfeld wonders who forced Kepplar to do his SOC project for Moin, or who forbid him to look at the Moin code before applying :)
2006-08-20T19:50:30  <Kepplar> birkenfeld: I did look but I couldnt go into detail
2006-08-20T19:50:37  <Kepplar> birkenfeld: luckily most of my code is independant and new
2006-08-20T19:51:10  <Kepplar> In my humble opinion Moin 2.0 should be build ground up
2006-08-20T19:53:19  <ThomasWaldmann> Kepplar: if you ask a concrete question, I maybe can help
2006-08-20T19:55:54  <Kepplar> why is retriving a username so complex?
2006-08-20T19:56:16  <ThomasWaldmann> it looks like getACL is still returning None (iirc, same as some days ago)
2006-08-20T19:56:24  <Kepplar> i think users are solely failing on getUserId
2006-08-20T19:56:34  <Kepplar> and im supplying it with a list of user id's
2006-08-20T19:56:40  <Kepplar> ACL problem was fixed
2006-08-20T19:56:43  <Kepplar> im not sure what happened
2006-08-20T19:56:56  <ThomasWaldmann> it crashes on storage test wiki
2006-08-20T19:56:59  <Kepplar> i know
2006-08-20T19:57:24  <Kepplar> usernames are implimented in such an epensive way
2006-08-20T19:57:59  <Kepplar> and hacking on my code in the way its not suppose to be called is making it even more expensive
2006-08-20T19:58:23  <Kepplar> retriving a username and checking it for xample costs aobut 10 disk access
2006-08-20T19:59:58  <Kepplar> By a long shot the main failing of the architecture for Moin is that nothing is clearly defined.
2006-08-20T20:00:25  <Kepplar> Modules have subsequently been updated to access modules they shouldn't be accessing and even private variables
2006-08-20T20:01:00  <Kepplar> hence causing the mess because you can't move components as everything calls them directly
2006-08-20T20:01:35  <Kepplar> this is why i've specified at the top of flatfile that I'll have someones head if they directly access the module :P
2006-08-20T20:02:23  <Kepplar> however there is i know one things which is being directly accessed and that is opening and closing of engines (locations)
2006-08-20T20:02:44  <Kepplar> but seeing as that just temp until the plugin arch its ok
2006-08-20T20:03:57  <Kepplar> this is the main reason why flatfile and storage communicate by value instead of passing the item revision directly
2006-08-20T20:04:07  <Kepplar> so it doesn't reply on the structure of the revision
2006-08-20T20:04:11  <Kepplar> rely*
2006-08-20T20:14:33  <ThomasWaldmann> Kepplar: maybe you should just replace that lambda fn by a dummy and get at least SOMETHING working until tomorrow
2006-08-20T20:17:55  <Kepplar> fn?
2006-08-20T20:18:03  <Kepplar> which lambda?
2006-08-20T20:18:11  <ThomasWaldmann> the one that crashes...
2006-08-20T20:18:12  <Kepplar> and deadlines back a day anyway :P
2006-08-20T20:18:22  <Kepplar> oh acl
2006-08-20T20:18:24  <Kepplar> yea
2006-08-20T20:18:37  <Kepplar> i just fixed metadata parsing when theres comments in the top of the code
2006-08-20T20:18:53  <xorAxAx> Kepplar: thats not clear
2006-08-20T20:19:01  <Kepplar> ?
2006-08-20T20:19:17  <xorAxAx> Kepplar: my way of understand lesslies announcement is that the deadline wasnt moved
2006-08-20T20:19:26  <Kepplar> oh
2006-08-20T20:19:31  <xorAxAx> LOL
2006-08-20T20:19:41  <Kepplar> day isnt going to matter anyway
2006-08-20T20:19:42  <xorAxAx> but we (the SOC channel) dont know
2006-08-20T20:20:16  <Kepplar> also i got a nightmare concerning unicode to ascii encoding for raw page data
2006-08-20T20:20:30  <Kepplar> is there a built in function?
2006-08-20T20:21:05  <xorAxAx> Kepplar: thats exactly the point of my Page addition :)
2006-08-20T20:21:15  <Kepplar> shiny :o
2006-08-20T20:21:22  <xorAxAx> Kepplar: see how i would design it:
2006-08-20T20:21:29  <xorAxAx> normal items deliver raw strings
2006-08-20T20:21:50  <Kepplar> sounds about right
2006-08-20T20:21:53  <xorAxAx> text items yield unicode objects
2006-08-20T20:22:02  <xorAxAx> but also raw strings
2006-08-20T20:22:11  <xorAxAx> i.e. text items have more methods/properties
2006-08-20T20:22:24  <Kepplar> I've already got that :)
2006-08-20T20:22:32  <xorAxAx> text items either require utf-8 (current situation) or have a metadata field for the encoding
2006-08-20T20:22:57  <xorAxAx> the latter option is rather sensible because moin shouldnt force anybody to convert items
2006-08-20T20:23:02  <xorAxAx> (think about attachments etc.)
2006-08-20T20:23:17  <Kepplar> yep
2006-08-20T20:23:32  <xorAxAx> so you need some properties in your text class
2006-08-20T20:23:45  <xorAxAx> that call some get_charset method
2006-08-20T20:23:52  <xorAxAx> that is a dummy and returns utf-8 currently
2006-08-20T20:23:59  <xorAxAx> (and would need to get fixed in the future)
2006-08-20T20:24:02  <Kepplar> cool
2006-08-20T20:25:02  <Kepplar> why did TW tell me to run everything(item names for example) as unicode until the storage implimentation?
2006-08-20T20:25:15  <Kepplar> i'd do them at the same time
2006-08-20T20:25:29  <xorAxAx> Kepplar: thats a good strategy
2006-08-20T20:25:39  <xorAxAx> but items need to handle raw strings generally
2006-08-20T20:25:39  <Kepplar> how so?
2006-08-20T20:25:51  <Kepplar> yea
2006-08-20T20:25:54  <xorAxAx> item names are always unicode, though
2006-08-20T20:26:00  <xorAxAx> item data is not
2006-08-20T20:26:03  <Kepplar> at themoment :)
2006-08-20T20:26:08  <Kepplar> who knows what will happen
2006-08-20T20:27:10  <Kepplar> ok
2006-08-20T20:27:13  <Kepplar> im going to get dinner
2006-08-20T20:27:17  <Kepplar> then ill be back on acl
2006-08-20T21:24:11  <ThomasWaldmann> http://test.wikiwikiweb.de/A%26O the backlink there is really mean :)
2006-08-20T21:30:47  <xorAxAx> ThomasWaldmann: can you please fix ACLs?
2006-08-20T21:30:48  <xorAxAx> http://moinmoin.wikiwikiweb.de/EditedSystemPages
2006-08-20T21:31:03  <xorAxAx> those are much more than just those that should be editable
2006-08-20T21:35:25  <ThomasWaldmann> yes, but not now
2006-08-20T22:09:07  <mvirkkil> Yay. Back online :)
2006-08-20T22:09:31  <mvirkkil> Only took them, what, 9h.
2006-08-20T22:09:37  <ThomasWaldmann> X)
2006-08-20T22:09:46  <Kepplar> hi
2006-08-20T22:15:55  <ThomasWaldmann> fpletz: minor thing: striped is rather the opposite of stripped, except for a zebra
2006-08-20T22:17:16  <Kepplar> hmm
2006-08-20T22:17:27  <Kepplar> how am i suppose to debug that acl error if make test isnt producing it?
2006-08-20T22:17:43  <xorAxAx> write a test case
2006-08-20T22:17:50  <Kepplar> but i dont know whats causing it
2006-08-20T22:18:13  <xorAxAx> ask your mentor
2006-08-20T22:18:18  <Kepplar> i was
2006-08-20T22:19:05  <ThomasWaldmann> you can also run moin.cgi locally
2006-08-20T22:19:19  <xorAxAx> and step throug it
2006-08-20T22:19:31  <ThomasWaldmann> or have a standalone setup
2006-08-20T22:19:34  <xorAxAx> or insert some "assert x is not None" in the code
2006-08-20T22:19:41  <Kepplar> i dont have apache
2006-08-20T22:19:50  <Kepplar> nor have the resources to install anythign like that
2006-08-20T22:20:27  <Kepplar> xorAxAx: how does that help?
2006-08-20T22:20:41  <xorAxAx> Kepplar: it will give you a usable backtrace
2006-08-20T22:20:42  <ThomasWaldmann> fpletz: that "sorted" stuff should be in MoinMoin.support.Sorted
2006-08-20T22:20:56  <xorAxAx> currently you are derefencing None
2006-08-20T22:21:23  <xorAxAx> Kepplar: put the asserts into the functions that are called
2006-08-20T22:22:07  <xorAxAx> Kepplar: ah, umm
2006-08-20T22:22:34  <xorAxAx> Kepplar: getACL should get some debugging code
2006-08-20T22:22:45  <Kepplar> ?
2006-08-20T22:22:52  <ThomasWaldmann> fpletz: -                       #G   newsGroup (or similar entity - e.g. a web forum name)
2006-08-20T22:22:55  <ThomasWaldmann> +                       #G   newsGroup (or sim2006-08-17 05:11:53ilar entity - e.g. a web forum name)
2006-08-20T22:22:55  <xorAxAx> because it is returning None
2006-08-20T22:23:05  <ThomasWaldmann> i guess this glitched in unintendedly
2006-08-20T22:23:14  <Kepplar> debugging code?
2006-08-20T22:23:32  <xorAxAx> Kepplar: yes, statements that print something
2006-08-20T22:24:31  <Kepplar> its certainly not same problem as before this time i have a revision number
2006-08-20T22:25:02  <xorAxAx> btw, how do you know that if you cannot run it locally?
2006-08-20T22:25:16  <Kepplar> make test Exception
2006-08-20T22:27:29  <xorAxAx> didnt you say that the tests dont show that problem?
2006-08-20T22:27:36  <Kepplar> indeed
2006-08-20T22:27:43  <Kepplar> but I can force an exception
2006-08-20T22:27:43  <xorAxAx> so how does that help?
2006-08-20T22:27:50  <Kepplar> im guessing that it must go through the codde
2006-08-20T22:28:28  <xorAxAx> i dont think that you will be able to debug that without running it locally
2006-08-20T22:28:35  <xorAxAx> and using "print" in the code
2006-08-20T22:28:46  <Kepplar> if there was an easy way to install it prehaps
2006-08-20T22:28:53  <xorAxAx> oh, its easy
2006-08-20T22:28:55  <Kepplar> but its too complex for me to warrent spending effort on
2006-08-20T22:29:13  <Kepplar> if its more complex then make make install i dont want to know tbh
2006-08-20T22:29:16  <xorAxAx> so you dont invest time into something that seems crucial to your success?
2006-08-20T22:29:50  <xorAxAx> i would call that a deadlock
2006-08-20T22:29:58  <Kepplar> my morality says it shouldn't be crucial
2006-08-20T22:30:10  <Kepplar> say way i refuse to read large amounts ofsource that isnt documente
2006-08-20T22:35:25  <Kepplar> im not going to be done so minor things arent going to make a difference
2006-08-20T22:36:35  <xorAxAx> you seem demotivated :)
2006-08-20T22:37:35  <Kepplar> I happy when write my own code :P
2006-08-20T22:37:51  <Kepplar> and surrounded in uml
2006-08-20T22:49:30  <Kepplar> ThomasWaldmann: you say remove the lambda but I can't even work out what this entire thing is suppose to do
2006-08-20T22:50:45  <Kepplar> and i can't grep t see where its called because this code seems to be from the 70's
2006-08-20T22:50:52  <Kepplar> and uses _getattr_ of all thigns
2006-08-20T22:51:30  <ThomasWaldmann> a lambda is a function without name, it gets the params before the colon and returns the value of the stuff after the column
2006-08-20T22:51:52  <Kepplar> ....
2006-08-20T22:51:57  <Kepplar> i know what _a_ lambda is
2006-08-20T22:52:26  <ThomasWaldmann> and it is __getattr__ instead of writing n functions for 'read', 'write', ...
2006-08-20T22:52:42  <Kepplar> but it doesnt even give me an attribute
2006-08-20T22:52:49  <Kepplar> it dynamically reads it from somewhere else
2006-08-20T22:52:58  <ThomasWaldmann> if it doesnt find those functions it will call __getattr__ and attr param will be 'read' ...
2006-08-20T22:53:29  <Kepplar> hmm?
2006-08-20T22:53:45  <ThomasWaldmann> just replace this for the lambda:
2006-08-20T22:54:17  <ThomasWaldmann> return lambda pagename, Page=Page, request=request, attr=attr: True
2006-08-20T22:54:36  <ThomasWaldmann> (and keep the old stuff as #old stuff)
2006-08-20T22:55:39  <ThomasWaldmann> and put a big remark on your todo / docs to fix this :)
2006-08-20T22:55:44  <ThomasWaldmann> (later)
2006-08-20T22:56:47  <Kepplar> oo ok
2006-08-20T22:56:48  <Kepplar> oocool
2006-08-20T22:56:48  <Kepplar> cheers
2006-08-20T22:59:12  <ThomasWaldmann> fpletz: i fixed a small typos in your stuff, pull before hacking on
2006-08-20T22:59:35  <ThomasWaldmann> fpletz: last modified since (XXX)   <--- in AdvancedSearch macro output !?
2006-08-20T23:00:14  <ThomasWaldmann> (i guess you want to add a sample there about how to type in that date)
2006-08-20T23:01:03  <ThomasWaldmann> (i suggest YYYY-MM-DD HH:MM:SS or any prefix of that)
2006-08-20T23:02:09  <Kepplar> ....
2006-08-20T23:02:23  <Kepplar> it requires the attachment code to be done before it can load a page O-o
2006-08-20T23:08:58  <ThomasWaldmann> fpletz: language list needs to be sorted an user's language moved to 2nd place (after "any language") after sorting
2006-08-20T23:11:34  <Kepplar> i got an ulcer :/
2006-08-20T23:12:36  <ThomasWaldmann> (or maybe even added at 2nd place and also kept at it's original place in case someone looks at the place where it would be in a sorted sequence)
2006-08-20T23:15:18  <Kepplar> Um...
2006-08-20T23:15:27  <Kepplar> does the default test page have any content?
2006-08-20T23:21:28  <xorAxAx> Kepplar: what is the default test page?
2006-08-20T23:21:46  <Kepplar> doesnt matter, ive forced it to error now but just now I had it working
2006-08-20T23:21:52  <Kepplar> except it had a create page button instead of content
2006-08-20T23:23:37  <xorAxAx> Kepplar: TestWiki/current is in data and not in underlay
2006-08-20T23:24:05  <Kepplar> ah cool
2006-08-20T23:24:18  <Kepplar> that path look ok otherwise?
2006-08-20T23:25:22  <xorAxAx> yes
2006-08-20T23:25:35  <xorAxAx> you would have known yourself if the wiki was local
2006-08-20T23:25:59  <Kepplar> well how do i instlal it easily?
2006-08-20T23:26:56  <xorAxAx> just follow the docs
2006-08-20T23:34:47  <xorAxAx> HelpOnInstalling
2006-08-20T23:36:32  <ThomasWaldmann> fpletz: you don't use the #language xx pragma for putting language in the index, right? at least restricting for some language does not work yet.
2006-08-20T23:39:41  <dreimark> xorAxAx:http://moinmoin.wikiwikiweb.de/WikiSyncronisation?action=AttachFile&do=get&target=next_line.htm may be that is the problem
2006-08-20T23:40:17  <xorAxAx> dreimark: i fixed that days ago
2006-08-20T23:40:23  <xorAxAx> dreimark: your code base is old
2006-08-20T23:40:53  <xorAxAx> mm, wait
2006-08-20T23:41:13  <xorAxAx> yeah, the current code looks completly different
2006-08-20T23:41:50  <xorAxAx> Kepplar: there is no function length
2006-08-20T23:41:58  <xorAxAx> you might mean "len"
2006-08-20T23:41:59  <dreimark> I did always  hg pull http://hg.thinkmo.de/moin/1.6-sync-aschremmer is that wrong now
2006-08-20T23:42:09  <xorAxAx> dreimark: no, thats right
2006-08-20T23:42:11  <ThomasWaldmann> outdated = age > 60 seconds
2006-08-20T23:42:14  <xorAxAx> dreimark: did you hg update?
2006-08-20T23:42:19  <dreimark> but why showul I have wrong code
2006-08-20T23:42:23  <dreimark> should
2006-08-20T23:42:24  <xorAxAx> ThomasWaldmann: ?
2006-08-20T23:42:36  <dreimark> yeah
2006-08-20T23:42:45  * ThomasWaldmann grins
2006-08-20T23:42:47  <xorAxAx> dreimark: no idea what you are doing :)
2006-08-20T23:43:26  <dreimark> xorAxAx:I've no problem to download all again, does this solve the problem?
2006-08-20T23:43:31  <xorAxAx> dreimark: ah, now i pushed
2006-08-20T23:43:36  <xorAxAx> dreimark: try again
2006-08-20T23:46:40  <dreimark> xorAxAx:the next_line problem is there but I've now get a table which I add to the wiki
2006-08-20T23:47:09  <xorAxAx> ok, reproduced the bug
2006-08-20T23:49:59  <Kepplar> ThomasWaldmann: for the record modifying the page is forcing me to modify a HUGE range of code all over the wiki.
2006-08-20T23:50:02  <xorAxAx> dreimark: ok, pushed
2006-08-20T23:50:06  <xorAxAx> dreimark: and fixed
2006-08-20T23:50:15  <Kepplar> because for some reason everything things is ok to get the filename and use it itself
2006-08-20T23:50:49  <xorAxAx> only a few hundred lines to comment out :)
2006-08-20T23:51:07  <Kepplar> whats an arena? (like its documented)
2006-08-20T23:51:26  <xorAxAx> Kepplar: it just means where the object is residing
2006-08-20T23:51:40  <Kepplar> so a container?
2006-08-20T23:51:58  <xorAxAx> a qualifier that decides where the cache file will be stored
2006-08-20T23:54:24  * xorAxAx is currently trying to write an RPC multicall reactor
2006-08-20T23:54:44  <xorAxAx> my whole table is filled with sheets of paper with state machines on them :)
2006-08-20T23:54:57  <Kepplar> ive lost the will ti live
2006-08-20T23:55:14  <xorAxAx> Kepplar: hey, live goes on, even after moin
2006-08-20T23:57:13  <xorAxAx> (really)
2006-08-20T23:59:07  <dreimark> xorAxAx:another thing
2006-08-20T23:59:18  <xorAxAx> cool
2006-08-20T23:59:20  <xorAxAx> where? :)
2006-08-20T23:59:54  <dreimark> Example3 is reverted on sync.wikiwikiweb.de

MoinMoin: MoinMoinChat/Logs/moin-dev/2006-08-20 (last edited 2007-10-29 19:07:35 by localhost)