2009-04-02T00:00:31  <grzywacz> Oh yes.
2009-04-02T00:04:08  <ThomasWaldmann> re
2009-04-02T00:08:25  <waldi> re
2009-04-02T00:23:41  * ThomasWaldmann works on a moin wiki vm
2009-04-02T00:44:41  *** cbx33 has quit IRC
2009-04-02T00:45:37  *** grzywacz has quit IRC
2009-04-02T04:00:59  *** dimazest_ has joined #moin-dev
2009-04-02T04:10:57  *** dimazest has quit IRC
2009-04-02T04:24:41  *** PawelPacana has quit IRC
2009-04-02T04:25:05  *** PawelPacana has joined #moin-dev
2009-04-02T05:56:16  *** dimazest_ has quit IRC
2009-04-02T05:56:16  *** Noya has quit IRC
2009-04-02T05:56:51  *** PawelPacana has quit IRC
2009-04-02T05:56:51  *** vpv has quit IRC
2009-04-02T05:57:29  *** PawelPacana has joined #moin-dev
2009-04-02T05:57:29  *** vpv has joined #moin-dev
2009-04-02T05:57:49  *** dimazest_ has joined #moin-dev
2009-04-02T05:57:49  *** Noya has joined #moin-dev
2009-04-02T06:45:42  *** dimazest has joined #moin-dev
2009-04-02T07:06:36  *** dimazest_ has quit IRC
2009-04-02T07:58:03  *** cbx33 has joined #moin-dev
2009-04-02T08:00:43  *** dimazest has quit IRC
2009-04-02T08:33:13  *** dimazest has joined #moin-dev
2009-04-02T08:34:03  <ThomasWaldmann> moin
2009-04-02T08:36:17  *** dimazest has quit IRC
2009-04-02T08:39:20  *** cbx33 has quit IRC
2009-04-02T09:11:41  <dreimark> moin
2009-04-02T09:43:49  *** dimazest has joined #moin-dev
2009-04-02T09:48:31  *** dimazest has quit IRC
2009-04-02T10:28:32  *** dimazest has joined #moin-dev
2009-04-02T10:34:12  *** dimazest has quit IRC
2009-04-02T11:21:45  *** dimazest has joined #moin-dev
2009-04-02T11:35:19  *** dimazest has quit IRC
2009-04-02T12:37:23  *** grzywacz has joined #moin-dev
2009-04-02T12:55:53  *** dimazest has joined #moin-dev
2009-04-02T13:03:02  *** devilsadvocate has joined #moin-dev
2009-04-02T13:45:22  *** alfonsodg has quit IRC
2009-04-02T14:53:44  *** devilsadvocate has quit IRC
2009-04-02T15:03:56  *** devilsadvocate has joined #moin-dev
2009-04-02T15:06:27  *** dimazest has quit IRC
2009-04-02T15:09:25  *** devilsadvocate has quit IRC
2009-04-02T16:03:20  *** dimazest has joined #moin-dev
2009-04-02T16:05:16  *** LotekThirteen has joined #moin-dev
2009-04-02T16:05:26  <LotekThirteen> moin
2009-04-02T16:07:23  *** dimazest has quit IRC
2009-04-02T16:14:37  <dennda> ThomasWaldmann: Are there any other things that you will change before coding starts related to storage? (Otherwise I'd prepare myself looking at the current codebase...)
2009-04-02T16:14:52  <dennda> (but if things change radically due to some changes of yours that's rather pointless ;))
2009-04-02T16:16:36  <ThomasWaldmann> i don't think I'll do too much about storage. current focus is on getting 1.9 out
2009-04-02T16:16:51  <dennda> good
2009-04-02T16:17:14  <dennda> I'm thinking of some restructuring as well
2009-04-02T16:34:39  <dennda> ThomasWaldmann: were you able to contact omar?
2009-04-02T16:34:53  <dennda> another thing that needs to be done is a proper read-only wrapper backend (for underlay)
2009-04-02T16:35:07  <dennda> the thing that's there is completely bogus
2009-04-02T16:37:17  <dennda> PawelPacana, TheSheep: What's the difference between hg.py and newhg.py?
2009-04-02T16:38:14  <TheSheep> dennda: eh?
2009-04-02T16:38:24  <dennda> TheSheep: MoinMoin.storage.backends
2009-04-02T16:38:24  <TheSheep> dennda: three letters
2009-04-02T16:38:43  <TheSheep> dennda: sorry, no source at hand atm
2009-04-02T16:38:46  <dennda> TheSheep: diff them, there's quite some changes ;)
2009-04-02T16:38:47  <dennda> ok
2009-04-02T16:39:01  <TheSheep> dennda: aren't they documented in the comments?
2009-04-02T16:39:12  <TheSheep> dennda: or in the commit messages?
2009-04-02T16:39:19  <dennda> didn't check those
2009-04-02T16:39:27  <dennda> ahh
2009-04-02T16:39:32  <dennda>     IMPORTANT:
2009-04-02T16:39:33  <dennda>     This backend is intended to run on revision 077f1e637cd8 of http://selenic.com/repo/hg
2009-04-02T16:39:36  <dennda>     mercurial development branch, along with patch for empty commits apllied:
2009-04-02T16:39:36  <dennda>     MoinMoin/storage/backends/research/repo_force_changes.diff
2009-04-02T16:39:52  <dennda> ic
2009-04-02T16:40:23  *** dimazest has joined #moin-dev
2009-04-02T16:40:27  <ThomasWaldmann> sorry, phone...
2009-04-02T16:40:59  <dennda> np
2009-04-02T16:41:38  <ThomasWaldmann> contacting omar: yes. i left some comments in the soc app, but he didn't reply there yet (when I last looked).
2009-04-02T16:41:56  <dennda> so he didn't respond
2009-04-02T16:41:58  <dennda> meh
2009-04-02T16:42:35  *** dimazest has quit IRC
2009-04-02T16:44:03  <ThomasWaldmann> (I'll look again in a few mins, have to finish some business stuff first)
2009-04-02T16:47:36  *** dimazest has joined #moin-dev
2009-04-02T16:50:30  *** dimazest has joined #moin-dev
2009-04-02T16:54:58  <dreimark> dennda: thomas has added a second note, hopefully he responds now. If not I send him later an email to comment on the page
2009-04-02T16:55:05  <dennda> ok good
2009-04-02T16:55:30  <dennda> dreimark: We need to discuss with him in order to find other topics he might be interested in (storage related. there's plenty)
2009-04-02T16:55:55  <dreimark> I know if he reads the comments he knows it too
2009-04-02T16:56:02  <dennda> ok
2009-04-02T16:56:11  <dennda> btw, make sure not to add a private note ;)
2009-04-02T16:56:39  *** dimazest has quit IRC
2009-04-02T16:56:43  <dreimark> it is public for mentors and him
2009-04-02T16:56:45  <dennda> TBH I doubt many people read the comments...
2009-04-02T16:56:47  <dennda> ok
2009-04-02T17:02:59  * dreimark had invited him by mail
2009-04-02T17:04:11  <ThomasWaldmann> my last comment in the socapp was from 2009-03-31:23:05
2009-04-02T17:04:20  <ThomasWaldmann> (whatever tz they display)
2009-04-02T17:05:00  <ThomasWaldmann> i was notifying him about the sqla project conflict and asked whether he maybe is interested in other backends also
2009-04-02T17:06:42  <dennda> browser opens some wiki page
2009-04-02T17:06:56  <dennda> wikiserver starts handling that request
2009-04-02T17:07:07  <dennda> and creates a new request object
2009-04-02T17:07:25  <dennda> which then is passed to the action appropriate for the url called
2009-04-02T17:07:27  <dennda> correct?
2009-04-02T17:07:42  <dennda> (talking of 1.9, just looking at the wsgi stuff)
2009-04-02T17:08:01  <TheSheep> more or less, I think there is auth going on somewhere in there
2009-04-02T17:08:10  <dennda> ok
2009-04-02T17:10:40  <dennda> where do the request.cfg things come frome? There is no such attribute in the Request class. It must be added later, but where? (unable to find it by grepping for it)
2009-04-02T17:11:37  <TheSheep> I consider hat area of code dark and mysterious, and also somewhat scary
2009-04-02T17:11:50  <dennda> heh
2009-04-02T17:15:05  <dreimark> web.contexts
2009-04-02T17:15:34  <dreimark>  def cfg(self):
2009-04-02T17:15:40  <dreimark> cfg = multiconfig.getConfig(self.request.url)
2009-04-02T17:15:43  <dreimark> dennda: ^^^^
2009-04-02T17:15:49  <dennda> ah
2009-04-02T17:15:54  <dennda> ok
2009-04-02T17:16:59  <dennda> dreimark: *when* is that patched onto the request object?
2009-04-02T17:18:08  * TheSheep listens carefully
2009-04-02T17:20:41  * dreimark looks again
2009-04-02T17:20:56  <dennda> somewhere there must be something like request.cfg = ...
2009-04-02T17:21:02  <dennda> and I'm not able to locate that
2009-04-02T17:21:08  <dreimark> yeah it is in request.__init__
2009-04-02T17:21:27  <dreimark> _load_multi_cfg
2009-04-02T17:21:33  <dreimark> self.cfg = multiconfig.getConfig(self.url)
2009-04-02T17:22:03  <dennda> wtf
2009-04-02T17:22:56  <dennda> dreimark: grep -r "_load_multi_cfg" * <-- doesn't yield any results and request.Request.__init__ does not have such a line
2009-04-02T17:23:16  <dreimark> ThomasWaldmann: why is that code duplicated in contexts?
2009-04-02T17:23:40  <dreimark> dennda: ThomasWaldmann sorry I have two repos open
2009-04-02T17:23:44  <dreimark> that was 1.8
2009-04-02T17:23:48  <dennda> :-)
2009-04-02T17:24:18  <dennda> what was? the duplicate or the patchery?
2009-04-02T17:24:34  <dreimark>  _load_multi_cfg
2009-04-02T17:29:56  *** LotekThirteen has left #moin-dev
2009-04-02T17:30:59  <dennda> dreimark: so, no idea where it happens?
2009-04-02T17:32:42  *** dimazest has joined #moin-dev
2009-04-02T17:32:44  * dreimark looks 
2009-04-02T17:39:00  *** dimazest has quit IRC
2009-04-02T17:40:23  <ThomasWaldmann> dennda: all the stuff that was server/request in 1.8 is wsgiapp and web/ in 1.9
2009-04-02T17:44:12  <dennda> away for approx 2,5 h, bbl
2009-04-02T18:32:12  <dreimark> nice it happens somewhere in application = Application() at least if the comment is right
2009-04-02T19:12:10  * dreimark traces
2009-04-02T19:58:44  <dreimark> http://paste.pocoo.org/show/110758/
2009-04-02T20:01:25  <dreimark> start the server and then go to a page (may be create one before with only one letter) using action=print
2009-04-02T20:01:30  <dreimark> this gives less output
2009-04-02T20:03:03  <dreimark> log.py(153):         if isinstance(levelnumber, int): # that list has also the reverse mapp2009-04-02 19:49:37,468 INFO werkzeug:106  * Running on http://localhost:8080/
2009-04-02T20:03:20  <dreimark> separated the server output before the request
2009-04-02T20:04:33  <ThomasWaldmann> re
2009-04-02T20:04:35  <dreimark> wsgiapp.py(15): from MoinMoin import auth, i18n, user, wikiutil, xmlrpc, error
2009-04-02T20:10:32  <ThomasWaldmann> ?
2009-04-02T20:12:09  <dreimark> that was a mistake.
2009-04-02T20:13:37  <ThomasWaldmann> I have no clue what you are doing or what the problem / point is.
2009-04-02T20:13:59  *** dimazest has joined #moin-dev
2009-04-02T20:14:12  <dreimark> I want to know at which point request.cfg is done
2009-04-02T20:14:48  <dennda> still i guess he's still trying to figure out where exactly request gets its cf attribute
2009-04-02T20:14:52  <dennda> cfg
2009-04-02T20:15:10  * ThomasWaldmann looks
2009-04-02T20:15:39  <dennda> in 1.9
2009-04-02T20:17:36  <ThomasWaldmann> web.contexts:133
2009-04-02T20:17:56  <dennda> ok will check when back home
2009-04-02T20:18:20  <dreimark> at that point I was already
2009-04-02T20:19:43  <ThomasWaldmann> so what is the problem we are trying to solve?
2009-04-02T20:20:54  <dennda> i was just wondering while trying to understand the wsgi stuff
2009-04-02T20:21:12  <dreimark> may be I have got something wrong before.
2009-04-02T20:22:17  <dreimark> do we have cfg without doing a request?
2009-04-02T20:22:46  <dreimark> because the traceback loads that line before the log line
2009-04-02T20:23:42  <ThomasWaldmann> what traceback?
2009-04-02T20:23:48  <dreimark> s/traceback/trace/
2009-04-02T20:24:13  <dreimark> http://paste.pocoo.org/show/110758/
2009-04-02T20:24:38  <ThomasWaldmann> shall i run it?
2009-04-02T20:24:55  <dreimark> yes without doing a request
2009-04-02T20:25:36  <dreimark> ./tracer.py > out.txt 2>&1
2009-04-02T20:27:36  <ThomasWaldmann> ok, and now?
2009-04-02T20:27:47  <dreimark> vi out.txt
2009-04-02T20:27:58  <dreimark> I have it in line 10213
2009-04-02T20:28:17  <ThomasWaldmann> what?
2009-04-02T20:28:26  <dreimark> contexts.py(133):     cfg = EnvironProxy(cfg)
2009-04-02T20:29:00  <ThomasWaldmann> and?
2009-04-02T20:30:01  <dennda> umm
2009-04-02T20:30:09  <dennda> ThomasWaldmann: that's not an instance attribute
2009-04-02T20:30:09  <dreimark> I have thought before I need to do a request to get request.cfg and it is not enought to start the server
2009-04-02T20:30:12  <dreimark> only
2009-04-02T20:30:38  <TheSheep> is it safe to assume at this point that nobody knows what is happening? %)
2009-04-02T20:30:56  * dennda doesn't
2009-04-02T20:31:33  <dennda> well if we can't figure it out to my satisfaction I'll have to summon zenhase
2009-04-02T20:31:39  <dennda> (to bad he's not with us anymore)
2009-04-02T20:31:56  <dreimark> and he didn't do any docs about that stuff
2009-04-02T20:32:28  <dennda> you guys figure it out, I'll take a shower in the meantime %-)
2009-04-02T20:32:51  * dreimark goes first home ... bbl
2009-04-02T20:33:47  * TheSheep checks out a fresh 1.9 repo
2009-04-02T20:35:29  <TheSheep> brb
2009-04-02T20:41:04  <ThomasWaldmann> maybe we can begin with clearly stating what the problem is
2009-04-02T20:53:10  <dennda> ThomasWaldmann: Looking at the request class, it doesn't have a cfg instance attribute defined. request.cfg is used in other parts of the code though. My question: Where and *when* is the cfg attribute added to the request object
2009-04-02T20:59:50  <ThomasWaldmann> on demand
2009-04-02T21:00:57  <dennda> you mean it's added when it's accessed?
2009-04-02T21:01:19  <ThomasWaldmann> see definition of EnvironProxy, it is like a property
2009-04-02T21:04:59  <dreimark> If starting the server gives already access to the cfg does this mean I can define a var vor wiki/htdocs and we can serve that by wsgi?
2009-04-02T21:05:14  <dreimark> s/vor/for/
2009-04-02T21:57:43  *** cbx33 has joined #moin-dev
2009-04-02T22:08:38  <dennda> o/ cbx33
2009-04-02T22:08:54  <cbx33> hey dennda
2009-04-02T22:13:25  <dennda> ThomasWaldmann: Got a sec?
2009-04-02T22:31:40  * TheSheep reads about <ISINDEX> html tag
2009-04-02T22:32:41  <dennda> never heard of that one
2009-04-02T22:32:51  <TheSheep> one of the good ones
2009-04-02T22:33:35  <TheSheep> as well as <MENU> and <BDO>
2009-04-02T22:33:47  <dennda> which version?
2009-04-02T22:33:54  <TheSheep> I should really run an 'obscure html tag of the day'
2009-04-02T22:33:58  <TheSheep> dennda: 4
2009-04-02T22:37:17  <dennda> dreimark, TheSheep: did either of you get it by now? cause I just tried and still don't
2009-04-02T22:37:52  <TheSheep> dennda: I assumed Thomas explained it and went to do other things
2009-04-02T22:38:20  <TheSheep> I went*
2009-04-02T22:38:39  <dennda> well he pointed out some line and class, but that doesn't properly explain it
2009-04-02T22:43:14  *** dimazest_ has joined #moin-dev
2009-04-02T22:44:17  *** dimazest has quit IRC
2009-04-02T23:02:49  <cbx33> TheSheep, I'm starting a new webzine
2009-04-02T23:02:50  <cbx33> heheh
2009-04-02T23:03:00  <cbx33> Obscure HTML Tag of the month would be fun to include
2009-04-02T23:03:03  <cbx33> fancy writing it?
2009-04-02T23:06:13  <ThomasWaldmann> re
2009-04-02T23:06:30  <dennda> wb
2009-04-02T23:07:04  <dennda> ThomasWaldmann: got time for some mumbling? :-)
2009-04-02T23:07:22  <ThomasWaldmann> dreimark: the config is loaded by giving the loader the url.
2009-04-02T23:07:33  <ThomasWaldmann> dennda: we can try
2009-04-02T23:07:47  *** devilsadvocate has joined #moin-dev
2009-04-02T23:09:13  <ThomasWaldmann> hmm, there are 2 nicks on that chan that I do not know
2009-04-02T23:09:13  <TheSheep> cbx33: sorry, can't go into any commitments
2009-04-02T23:09:32  <dennda> ThomasWaldmann: that was to be expected, it's public...
2009-04-02T23:09:40  <dennda> and it only has one room...
2009-04-02T23:09:45  <dennda> let's pick another server
2009-04-02T23:09:47  <cbx33> np
2009-04-02T23:10:55  <ThomasWaldmann> clanfr 609
2009-04-02T23:41:15  *** grzywacz has quit IRC

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-04-02 (last edited 2009-04-01 22:15:02 by IrcLogImporter)