2007-08-03T00:06:30  <xorAxAx> zenhase: yes, larger refactorings
2007-08-03T00:08:20  <ThomasWaldmann> vpv: have fun :)
2007-08-03T00:13:42  <vpv> thanks, now some sleep :)
2007-08-03T00:36:39  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2591:99d1516223f7 1.7/MoinMoin/script/migration/ (1059999.py _conv160.py): 1.6 converter: move cache dir with locks where the framework still expects it
2007-08-03T01:04:28  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2592:a6216260f164 1.7/MoinMoin/script/migration/_conv160.py: 1.6 converter: more usage of codecs, cleanup
2007-08-03T02:55:43  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2593:b609934451e6 1.7/MoinMoin/script/migration/ (1050800.py 1059999.py _conv160.py): 1.6 converter: use wikiutil, fixes, cleanup
2007-08-03T04:52:54  <nwp> ThomasWaldmann: around?
2007-08-03T04:57:53  <nwp> OK, well FYI I'm just (finally) getting to trying to make 1.6 work in my setup (modpython)... it's borked, but before I can fix it I need to get the logging working
2007-08-03T04:58:08  <nwp> would like to discuss that a little before diving in if possible
2007-08-03T04:59:38  <nwp> it looks like maybe breaking out the logging init from the server __init__ into something separate that can be overridden by the (currently nonexistent) modpython-specific server class might be the way to do it
2007-08-03T05:03:03  <nwp> but I have some way to go before my head is properly around this again
2007-08-03T08:26:43  <ThomasWaldmann> nwp: hi
2007-08-03T08:30:56  <ThomasWaldmann> nwp: server/__init__.py class Config - there is the initialization of the new logging based stuff
2007-08-03T08:32:47  <ThomasWaldmann> nwp: you see we have server_* for misc servers there it would be nice to also have a server_mod_python there
2007-08-03T08:40:56  <ThomasWaldmann> nwp: maybe try setting (letting) loglevel_stderr = None if logging to stderr causes mod_python problems
2007-08-03T08:41:16  <ThomasWaldmann> nwp: i hope the other logging to file is no problem
2007-08-03T09:09:10  <lanius_> ThomasWaldmann: http://cojobo.net/~h_wendel/stuff/python_compat.diff
2007-08-03T09:10:00  <lanius_> tested with 2.4 and 2.5
2007-08-03T09:10:04  <lanius_> py.test does not work for me with 2.3
2007-08-03T11:43:23  <CIA-27> moin: Johannes Berg <johannes AT sipsolutions DOT net> * 2594:dae34d586476 1.7/MoinMoin/macro/Action.py: fix bug in new action macro
2007-08-03T11:48:38  <johill> zenhase: what's the problem with userprefs?
2007-08-03T11:54:23  <ThomasWaldmann> lanius_: didnt karol say he tests with 2.3?
2007-08-03T11:56:33  <lanius_> yes he did
2007-08-03T11:56:37  <lanius_> i don't know why it falis here
2007-08-03T11:57:38  <ThomasWaldmann> lanius_: diff looks ok
2007-08-03T11:58:03  <ThomasWaldmann> shall we apply it to main branch and you merge it from there?
2007-08-03T11:58:58  <xorAxAx> lanius_: you dont need to distribute patches, you could also push it in a separate branch :)
2007-08-03T12:00:39  <ThomasWaldmann> lets first learn and use the basic features of mercurial :)
2007-08-03T12:00:42  <zenhase> johill: found the problem
2007-08-03T12:01:08  <zenhase> problem is setup.py
2007-08-03T12:01:58  <zenhase> the packages did not get installed correctly
2007-08-03T12:05:42  <ThomasWaldmann> johill: btw, all metadata should get handled now by the 1.6 converter
2007-08-03T12:06:09  <ThomasWaldmann> just the content transformation is missing still
2007-08-03T12:07:54  <johill> ThomasWaldmann: metadata?
2007-08-03T12:10:11  <xorAxAx> ?
2007-08-03T12:10:26  <johill> what is there to convert?
2007-08-03T12:17:15  <ThomasWaldmann> lots. just look into the files.
2007-08-03T12:17:40  <xorAxAx> ?
2007-08-03T12:25:34  <johill> why, btw, are you committing the 1.6 converter to 1.7?
2007-08-03T12:25:42  <ThomasWaldmann> "metadata" in the general sense, not related to how we'll do it after storage refactoring
2007-08-03T12:25:48  <xorAxAx> ?
2007-08-03T12:26:11  <ThomasWaldmann> johill: we'll also needed there and there is py.test framework
2007-08-03T12:26:28  <johill> heh ok
2007-08-03T12:26:46  <ThomasWaldmann> the pagenames may change and the page names are everywhere in the logs, in user profiles, ...
2007-08-03T12:28:08  <johill> right
2007-08-03T12:30:38  <ThomasWaldmann> e.g. from These_are_blanks -> These are blanks
2007-08-03T12:50:37  <lanius_> xorAxAx: but i would have to make this branch public
2007-08-03T12:51:08  <xorAxAx> lanius_: so?
2007-08-03T12:51:18  <lanius_> my firewall rules forbid that
2007-08-03T12:51:21  <xorAxAx> lanius_: by pushing it into your repo, its easily possible
2007-08-03T12:51:40  <xorAxAx> you have a public repo on ThomasWaldmann's server
2007-08-03T12:52:08  <lanius_> and how would i do that
2007-08-03T12:53:16  <ThomasWaldmann> as we already have a diff, why do we care?
2007-08-03T12:53:20  <xorAxAx> you create a named branch branching from the main branch, commmit your changes and push it into your local outgoing repo for your public repo and then into the public repo
2007-08-03T12:53:26  <xorAxAx> ThomasWaldmann: yes, for the next time
2007-08-03T12:54:18  <ThomasWaldmann> xorAxAx: is the py.test related change in it ok?
2007-08-03T12:54:41  <xorAxAx> "in it"?
2007-08-03T12:54:57  <ThomasWaldmann> conftest set() -> []
2007-08-03T12:55:45  <xorAxAx> no
2007-08-03T12:55:48  <xorAxAx> thats broken
2007-08-03T12:56:25  <lanius_> why
2007-08-03T12:56:35  <xorAxAx> because it wants a set there and not a list :)
2007-08-03T12:56:45  <lanius_> it worked, where is the test :D
2007-08-03T12:56:55  <xorAxAx> :-p
2007-08-03T12:57:10  <xorAxAx> yes, but it will give weird results
2007-08-03T12:57:38  <xorAxAx> (possibly)
2007-08-03T12:57:51  <lanius_> where is it used?
2007-08-03T12:58:27  <lanius_> in other tests it's a list always
2007-08-03T12:58:45  <xorAxAx> conftest is not a test
2007-08-03T12:58:54  <xorAxAx> its the py.test configuration module
2007-08-03T12:59:08  <xorAxAx> that set collects all module names
2007-08-03T12:59:13  <xorAxAx> from the other test files
2007-08-03T12:59:19  <lanius_> how does it do that
2007-08-03T12:59:26  <xorAxAx> see the code in the module
2007-08-03T12:59:51  <lanius_> yes, i look at it, but i don't see why it should not work as list
2007-08-03T13:00:05  <xorAxAx> because it will have O(n) behaviour
2007-08-03T13:00:07  <xorAxAx> --> slow
2007-08-03T13:00:21  <lanius_> why will it have O(n) and set does not?
2007-08-03T13:00:42  <xorAxAx> because a set is a hashtable with no values
2007-08-03T13:00:59  <xorAxAx> and __contains__ for a hash table is O(1) while it is O(n) for a list
2007-08-03T13:01:41  <lanius_> and a list is what?
2007-08-03T13:02:19  <xorAxAx> []
2007-08-03T13:02:29  <xorAxAx> help(list)
2007-08-03T13:03:21  <lanius_> no usefull informatoin there
2007-08-03T13:04:21  <xorAxAx> ?
2007-08-03T13:04:32  <xorAxAx> a list is implemented as an overallocated array if you mean that
2007-08-03T13:04:52  <lanius_> and why is not implemented as fast as a set
2007-08-03T13:05:09  <zenhase> because it's a ordered list
2007-08-03T13:05:30  <zenhase> where in sets the order don't matter you cannot implement lists the same way
2007-08-03T13:05:34  <zenhase> does not
2007-08-03T13:05:44  <zenhase> moin
2007-08-03T13:05:51  <lanius_> moin :D
2007-08-03T13:05:54  <zenhase> :>
2007-08-03T13:06:03  <lanius_> but you can implement an ordered list which is hashable?
2007-08-03T13:06:37  <xorAxAx> no
2007-08-03T13:06:42  <lanius_> no?
2007-08-03T13:06:57  <xorAxAx> well, what do you mean?
2007-08-03T13:07:21  <lanius_> why can't you implement a __contains__ with O(n) with an ordered list
2007-08-03T13:07:29  <lanius_> O(1)
2007-08-03T13:07:37  <xorAxAx> how would you?
2007-08-03T13:07:47  <lanius_> you can hold both, a internal hashmap and the linked list
2007-08-03T13:08:11  <xorAxAx> but then modification wont be O(1) anymore
2007-08-03T13:08:27  <lanius_> why not
2007-08-03T13:08:52  <xorAxAx> how would implement a delete operation?
2007-08-03T13:09:30  <lanius_> look up the position in the hashmap, remove it, fix prev and next
2007-08-03T13:10:18  <ThomasWaldmann> we have an array, not a double linked list
2007-08-03T13:10:51  <xorAxAx> lanius_: position means what?
2007-08-03T13:11:03  <lanius_> an ordered list must have a position for each item
2007-08-03T13:11:17  <ThomasWaldmann> called index
2007-08-03T13:11:23  <lanius_> right
2007-08-03T13:11:31  <xorAxAx> in order to traverse the linked list, you have to do O(n) steps. lost :)
2007-08-03T13:11:54  <lanius_> which is no difference if you have just the linked list without hash
2007-08-03T13:12:43  <lanius_> (in conftest.py performance doesn't matter at all and it won't be noticeable...)
2007-08-03T13:12:57  <ThomasWaldmann> btw, how about storage stuff? :)
2007-08-03T13:13:19  <lanius_> ThomasWaldmann: looked at the difs
2007-08-03T13:14:11  <ThomasWaldmann> what diffs?
2007-08-03T13:14:18  <lanius_> that i commited the last days
2007-08-03T13:14:39  <ThomasWaldmann> i did already
2007-08-03T13:15:16  <xorAxAx> lanius_: performance doesnt matter, complexity does :)
2007-08-03T13:15:40  <lanius_> ThomasWaldmann: so you should know "what about storage stuff" ;)
2007-08-03T13:15:57  <ThomasWaldmann> but maybe we can save some time by just letting it be a set()
2007-08-03T13:16:09  <ThomasWaldmann> don't fix what ain't broken
2007-08-03T13:16:12  <lanius_> well, it was just broken previously
2007-08-03T13:16:17  <lanius_> because it didn't do the set trick
2007-08-03T13:16:30  <ThomasWaldmann> ok, then do the set trick
2007-08-03T13:16:47  <xorAxAx> lanius_: set trick?
2007-08-03T13:16:54  <lanius_> for python23 compatibility
2007-08-03T13:17:20  <xorAxAx> it didnt need to if you say that py.test doesnt work on py 2.3
2007-08-03T13:17:31  <ThomasWaldmann> wake me up when you want that stuff in main
2007-08-03T13:17:44  <lanius_> xorAxAx: i thought that was the requirement...
2007-08-03T13:17:52  <xorAxAx> lanius_: what?
2007-08-03T13:17:57  <lanius_> python23 compatibility
2007-08-03T13:18:20  <ThomasWaldmann> btw, how could karol test on 2.3 when it did not work?
2007-08-03T13:18:34  <lanius_> i have not the faintest idea
2007-08-03T13:19:59  <lanius_> ThomasWaldmann: updated the patch
2007-08-03T13:23:22  <ThomasWaldmann> ok, I apply it now
2007-08-03T13:28:26  <ThomasWaldmann> johill: please fix the failing test
2007-08-03T13:30:51  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2595:5e7b45489430 1.7/MoinMoin/ (12 files in 10 dirs): moved python2.3/2.4 compatibility code to MoinMoin.support.python_compatibility (thanks to Heinrich Wendel)
2007-08-03T13:32:02  <ThomasWaldmann> lanius_: is storage code ready for a RecentChanges based on it (and not on logfile code)?
2007-08-03T13:32:41  <lanius_> ThomasWaldmann: based on what?
2007-08-03T13:34:06  <ThomasWaldmann> you could simulate rootpage metadata from global edit-log like you simulate page metadata from local edit-log
2007-08-03T13:35:28  <lanius_> ThomasWaldmann: yes that could be done, but i don't know if it is the most elegant way
2007-08-03T13:35:47  <lanius_> ThomasWaldmann: the next step i want to do is to implement the saving of the edit-log transparently in external.py
2007-08-03T13:35:54  <lanius_> ThomasWaldmann: so that PageEditor does not have to care about it
2007-08-03T13:35:59  <ThomasWaldmann> i dont know either but as long as we have no better idea we should go on
2007-08-03T13:36:19  <lanius_> ThomasWaldmann: xorAxAx had the idea with the news() stuff
2007-08-03T13:37:49  <lanius_> (after i have improved the unittests a bit)
2007-08-03T13:40:13  <ThomasWaldmann> i didnt see to much detail about it in the logs
2007-08-03T13:40:49  <lanius_> implement a news(time) operation in the backend
2007-08-03T13:42:11  <ThomasWaldmann> i guess the HOW is what we are talking about
2007-08-03T13:42:27  <ThomasWaldmann> recentchanges is kind of news() nicely formatted
2007-08-03T13:42:30  <lanius_> no, the difference is the interface given to the user
2007-08-03T13:42:40  <lanius_> in your case the interface is external.py with items
2007-08-03T13:42:56  <lanius_> in the other case its on the backend level with the news method
2007-08-03T13:42:59  <lanius_> that's an important difference
2007-08-03T13:43:14  <ThomasWaldmann> yes, but you still need to implement it somehow
2007-08-03T13:43:28  <lanius_> yes, but you have to think about the implementation after that
2007-08-03T13:43:52  <ThomasWaldmann> no, you have to think about both before starting :)
2007-08-03T13:44:44  <ThomasWaldmann> the point is that my suggestion would save you quite some coding and you could begin soon with that
2007-08-03T13:44:45  <lanius_> and you have to think how future backends can benefit from it
2007-08-03T13:45:17  <ThomasWaldmann> the other idea is rather vague, needs separate code and thus will take quite some time until you can even start with it
2007-08-03T13:45:32  <ThomasWaldmann> how much time do you have left?
2007-08-03T13:45:50  <lanius_> i'm not exactly sure about the timelime
2007-08-03T13:46:09  <ThomasWaldmann> you should be :)
2007-08-03T13:46:13  <lanius_> August 20: Students upload code to code.google.com/hosting; mentors begin final evaluations; students begin final program evaluations
2007-08-03T13:46:30  <lanius_> August 31: Final evaluation deadline; Google begins issuing student and mentoring organization payments
2007-08-03T13:46:33  <lanius_> so which is the date?
2007-08-03T13:47:00  <ThomasWaldmann> August 20 is deadline
2007-08-03T13:47:18  <ThomasWaldmann> (you cant upload code you dont have written :)
2007-08-03T13:47:24  <lanius_> ^^
2007-08-03T13:47:34  <lanius_> well that's fine for me, although i don't have much time from 10-19 august
2007-08-03T13:47:52  <lanius_> but i think the code is already in a pretty good shape so that main can profit from it
2007-08-03T13:48:03  <lanius_> and if there are some things left to do i don't have a problem doing them after that
2007-08-03T13:48:09  <ThomasWaldmann> Attachments are not even touched, right?
2007-08-03T13:48:15  <lanius_> attachements won't be touched
2007-08-03T13:48:24  <ThomasWaldmann> RC is not done
2007-08-03T13:48:28  <lanius_> that's what i already wrote to you
2007-08-03T13:48:33  <lanius_> that's my current topic
2007-08-03T13:48:34  <ThomasWaldmann> you have lots to do
2007-08-03T13:48:52  <ThomasWaldmann> hmm, when?
2007-08-03T13:48:57  <lanius_> what when?
2007-08-03T13:49:03  <ThomasWaldmann> (13:48) <   lanius_> that's what i already wrote to you
2007-08-03T13:49:09  <lanius_> in the midterm survey
2007-08-03T13:49:25  <ThomasWaldmann> ?
2007-08-03T13:50:13  <lanius_> we talked about it at the time of the midterm survey
2007-08-03T13:50:43  <ThomasWaldmann> where?
2007-08-03T13:51:16  <lanius_> well, currently i think that it is not possible to create a moin1.6 storage layer which supports attachements in a general manner
2007-08-03T13:52:39  <ThomasWaldmann> well, it would just show an item with 1 revision
2007-08-03T13:54:04  <ThomasWaldmann> (and sorry, I currently can't remember that we dropped that goal)
2007-08-03T13:55:17  <lanius_> then it might be a misunderstanding, but i think it won't be doable in the timeline, but i also think that this is not critical, because the code is nonetheless mergeable
2007-08-03T13:56:19  <ThomasWaldmann> yes, you just can't do non-filestorage attachments
2007-08-03T13:56:26  <lanius_> right
2007-08-03T13:57:59  <ThomasWaldmann> maybe you can't easily do any other filebase storage even because that would make attachment stuff fail
2007-08-03T13:59:10  <lanius_> there would also be the option of writing a converter, which converts current attachements to items
2007-08-03T13:59:18  <ThomasWaldmann> anyway, please note that you are low on time. and at your place, I would not expect to have much non-soc time before the deadline.
2007-08-03T13:59:37  <lanius_> i don't expect that either :D
2007-08-03T14:02:01  <ThomasWaldmann> ok, so move on :) if that vague news() idea doesn't get very concrete until sunday, I suggest you go with the more concrete idea based on an item (you already have code for that, but you still need to make it work for RC).
2007-08-03T14:04:54  <lanius_> yes
2007-08-03T14:06:59  <ThomasWaldmann> topic MoinMoin Developer Channel - User or third-party issues should go to #moin. Note that you are publicly logged here: http://moinmo.in/MoinMoinChat/Logs/moin-dev
2007-08-03T14:09:11  *** ThomasWaldmann changes topic to "MoinMoin Developer Channel - SOC student deadline is 2007-08-20 - User or third-party issues should go to #moin. Note that you are publicly logged here: http://moinmo.in/MoinMoinChat/Logs/moin-dev"
2007-08-03T14:10:46  <ThomasWaldmann> bbl
2007-08-03T15:46:12  <ThomasWaldmann> re
2007-08-03T15:47:15  <ThomasWaldmann> lanius_: btw, if you need a coding break now and then, try to create/improve documentation
2007-08-03T15:47:46  <ThomasWaldmann> e.g. some docs/CHANGES.storage in a similar format as you see in docs/CHANGES
2007-08-03T15:49:22  <ThomasWaldmann> you can use a separate section in that file to do some brain-dump about what is still todo, ideas for further improvements, etc. - for the post-SOC time
2007-08-03T15:51:16  <ThomasWaldmann> further, some help page for users wanting to use your stuff would be nice (what is it about, how to configure it, ...) - maybe put it as a sub-page of the storage project page and make clear that it is stuff in your branch, not available in main branch yet
2007-08-03T15:53:17  <ThomasWaldmann> maybe some wiki pages also need a bit of refactoring to clearly describe what we have in your branch (the stuff that is there has much discussion parts, it should be updated with the current state)
2007-08-03T16:07:35  <ThomasWaldmann> xorAxAx: http://hg.moinmo.in/moin/1.7-template-fkrupicka/rev/e6afda86e2b9 this should be fixed in jabber/main branch
2007-08-03T16:09:35  <ThomasWaldmann> lanius_: please merge main, to reduce the currently 18 failing tests in your branch
2007-08-03T16:17:48  <lanius_> ThomasWaldmann: 18 failing test
2007-08-03T16:17:56  <lanius_> ThomasWaldmann: yes documentation needs some update, i use the SOC page for that
2007-08-03T16:18:53  <lanius_> ThomasWaldmann: there should be a question mark after the 18 failing tests ;)
2007-08-03T16:19:41  <ThomasWaldmann> results are from 5 minutes before :)
2007-08-03T16:25:45  <lanius_> and you fixed them?
2007-08-03T16:26:25  <ThomasWaldmann> no, but I applied your python_compatibility stuff there
2007-08-03T16:30:18  <lanius_> ThomasWaldmann: so you test with 2.3 as well?
2007-08-03T16:32:34  <ThomasWaldmann> no, 2.4.4
2007-08-03T16:32:50  <ThomasWaldmann> from functools import partial is what makes everything fail
2007-08-03T16:33:00  <lanius_> that should be fixed though
2007-08-03T16:33:09  <lanius_> nevermind
2007-08-03T16:33:32  <ThomasWaldmann> s/be/get/ :)
2007-08-03T16:33:38  <lanius_> ^^
2007-08-03T16:44:00  <ThomasWaldmann> grzywacz: alife again? :)
2007-08-03T16:49:27  <grzywacz> ThomasWaldmann, yup :)
2007-08-03T16:49:57  <johill> ThomasWaldmann: the only problem I have with the tests is your last commit...
2007-08-03T16:50:03  <ThomasWaldmann> btw did you get some msg from memoserv after logging in to freenode?
2007-08-03T16:50:24  <ThomasWaldmann> johill: the python_compat stuff?
2007-08-03T16:50:38  <johill> E   from MoinMoin.support.python_compatibility import set
2007-08-03T16:50:38  <johill> >   ImportError: No module named python_compatibility
2007-08-03T16:50:47  <ThomasWaldmann> argh
2007-08-03T16:50:51  <ThomasWaldmann> wait :)
2007-08-03T16:51:13  <johill> I think you forgot to add that file
2007-08-03T16:52:02  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2596:86295432620c 1.7/MoinMoin/support/python_compatibility.py: add missing files for 2595:5e7b45489430
2007-08-03T16:52:21  <ThomasWaldmann> try now
2007-08-03T16:52:38  <johill> better
2007-08-03T16:52:57  <ThomasWaldmann> johill: you use which python version?
2007-08-03T16:53:13  <johill> 2.4
2007-08-03T16:53:22  <johill> 2.4.4-final-0
2007-08-03T16:53:23  <johill> :)
2007-08-03T16:53:34  <johill> I have 2.5 but usually don't actually use it
2007-08-03T16:54:50  <ThomasWaldmann> grzywacz: can you run py.test using python 2.3?
2007-08-03T16:55:01  <ThomasWaldmann> (with latest stuff from main repo merged)
2007-08-03T16:57:30  <CIA-27> moin: Johannes Berg <johannes AT sipsolutions DOT net> * 2597:8d3760a0daeb 1.7/MoinMoin/macro/_tests/test_Action.py: fix failing action macro test
2007-08-03T16:57:49  <johill> that action macro test is pretty pointless
2007-08-03T17:04:33  <johill> ugh
2007-08-03T17:04:45  <johill> is it not possible to prohibit sign-up in 1.6?
2007-08-03T17:09:48  <xorAxAx> no
2007-08-03T17:10:53  <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2598:b5efc2a7ba04 1.7/setup.py: fixed: MoinMoin.events not installed via setup.py
2007-08-03T17:11:02  * xorAxAx loves hg import :)
2007-08-03T17:14:55  <grzywacz> ThomasWaldmann, no
2007-08-03T17:15:03  <grzywacz> ThomasWaldmann, py.test works with 2.4 and up
2007-08-03T17:16:03  <ThomasWaldmann> ok, but you can test whether the python_compatibility stuff works for you
2007-08-03T17:17:44  <grzywacz> ThomasWaldmann, in general yes. :)
2007-08-03T17:17:54  <johill> crap. I think I'll have to patch that then
2007-08-03T17:18:06  <lanius_> grzywacz: the documentation of py.test states that it should work with 2.3 as well
2007-08-03T17:18:24  <grzywacz> lanius_, didn't for me.
2007-08-03T17:19:42  <xorAxAx> sigh
2007-08-03T17:19:48  <xorAxAx> send patches to me
2007-08-03T17:19:49  <grzywacz> xorAxAx, yes? :)
2007-08-03T17:19:51  <lanius_> neither for me
2007-08-03T17:20:01  * xorAxAx tries
2007-08-03T17:20:52  <johill> oh. setup.py. does userprefs need installing too?
2007-08-03T17:22:47  <xorAxAx> johill: yes
2007-08-03T17:23:02  <xorAxAx> grzywacz: which exception do you get?
2007-08-03T17:23:11  <xorAxAx>  Bad magic number in /home/alexander/dev/python/moinmoin/moin-1.7-main/MoinMoin/support/copy.pyc
2007-08-03T17:23:14  <xorAxAx> WTF?
2007-08-03T17:23:17  <johill> hrm. that setup.py stuff is beyond me :) how do you do that?
2007-08-03T17:23:22  <xorAxAx> who called the module copy?
2007-08-03T17:23:31  <johill> I thought I removed the copy module usage? :)
2007-08-03T17:23:35  <johill> and the support copy
2007-08-03T17:23:36  <johill> ohh
2007-08-03T17:23:39  <johill> that's the reason too
2007-08-03T17:23:45  <xorAxAx> hmm, only a pyc, johill :)
2007-08-03T17:23:49  <johill> you compiled it with 2.4 and now 2.3 tries to load the pyc because the py is gone
2007-08-03T17:24:12  <johill> I've had that before
2007-08-03T17:24:17  <xorAxAx> lanius_, grzywacz: py.test works fine on python2.3
2007-08-03T17:24:28  <xorAxAx> for me
2007-08-03T17:24:30  <johill> just find . -name '*.pyc' | xargs rm or something
2007-08-03T17:24:34  <xorAxAx> johill: yes, works
2007-08-03T17:26:19  <lanius_> xorAxAx: UserBackend("user", get_user_dir(), DummyConfig())
2007-08-03T17:26:22  <lanius_> wrong
2007-08-03T17:26:25  <lanius_> xorAxAx: AttributeError: 'module' object has no attribute 'ParserError'
2007-08-03T17:28:01  <xorAxAx> lanius_: are you using the latest py.test version?
2007-08-03T17:28:10  <lanius_> xorAxAx: yes
2007-08-03T17:28:21  <xorAxAx> i am using r45261
2007-08-03T17:28:23  <lanius_> xorAxAx: 0.9.0
2007-08-03T17:28:28  <xorAxAx> thats oooooold
2007-08-03T17:28:37  <lanius_> that's the latest on the homepage
2007-08-03T17:29:04  <xorAxAx> not really
2007-08-03T17:29:07  <grzywacz> xorAxAx, NameError: name 'set' is not defined
2007-08-03T17:29:07  <grzywacz> ;]
2007-08-03T17:29:20  <grzywacz> Hm.
2007-08-03T17:29:24  <grzywacz> That's in our conftest, actually.
2007-08-03T17:29:27  <xorAxAx> grzywacz: that sounds better
2007-08-03T17:29:27  <grzywacz> let mu update
2007-08-03T17:30:08  <xorAxAx> lanius_: the newest is in the svn repo
2007-08-03T17:30:57  <grzywacz> argh conflict
2007-08-03T17:31:59  * xorAxAx clones http://git.sipsolutions.net/dom.git/
2007-08-03T17:32:07  <johill> xorAxAx: you could use hg now...
2007-08-03T17:32:39  <xorAxAx> ugh, many changesets
2007-08-03T17:32:54  <johill> 58
2007-08-03T17:33:09  <johill> if you have comments or questions just ask, but I'm away until about 9/9:30ish
2007-08-03T17:33:25  <xorAxAx> i am not sure if i will have time today to have a look
2007-08-03T17:33:36  <xorAxAx> will start a longer journey tomorrow
2007-08-03T17:33:54  <xorAxAx> longer as in "some time to spend in the car"
2007-08-03T17:35:57  <johill> sounds not fun. anyway, I'm off
2007-08-03T17:56:29  <ThomasWaldmann> lanius_: the local and global edit-log files are used by AttachFile's EditLog calls as well as from your code
2007-08-03T18:06:48  <lanius_> i know
2007-08-03T18:11:21  <ThomasWaldmann> After finishing the converter, I guess I'll have a look at that AttachFile code. I would really like to do it with items (or at least have no intersection of data handled by new code and by old code)
2007-08-03T18:11:32  <lanius_> yeah, sure
2007-08-03T19:06:21  <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2761:494cf65354a0 1.7-storage-hwendel/MoinMoin/logfile/eventlog.py: remove getPagePath from eventlog since it always uses the same global path
2007-08-03T19:06:28  <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2775:374478cbe658 1.7-storage-hwendel/MoinMoin/ (22 files in 15 dirs): merge main
2007-08-03T19:06:34  <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2776:2bb2db734fde 1.7-storage-hwendel/MoinMoin/storage/ (3 files in 2 dirs): first pass of tests reworking, currently only test_backends_moin16 is working
2007-08-03T19:52:21  <ThomasWaldmann> hmm, PageEditor also still uses EditLog
2007-08-03T22:16:04  <ThomasWaldmann> johill: I am currently integrating linkconv.py into the conversion script
2007-08-03T22:16:18  <johill> sounds good
2007-08-03T22:16:26  <johill> I suppose you want to change much more markup than it did
2007-08-03T22:16:38  <johill> oh and we still need to discuss what to di with /* */ and nested {{{
2007-08-03T22:16:46  <johill> both seem to be quite broken at the moment
2007-08-03T22:20:19  <ThomasWaldmann> nested {{{ was ever broken
2007-08-03T22:20:31  <ThomasWaldmann> dreimark tried to fix it
2007-08-03T22:20:49  <johill> yeah by doing it nested, escaping would have been nicer
2007-08-03T22:21:03  <ThomasWaldmann> hm?
2007-08-03T22:22:20  <johill> http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-NowikiPreformatted
2007-08-03T22:22:38  <johill> or rather http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-ClosingBracesInNowiki
2007-08-03T22:23:15  <ThomasWaldmann> moin markup is not creole
2007-08-03T22:24:52  <johill> well yeah, but that's an example for how it could work
2007-08-03T22:25:06  <johill> right now we don't have any way to write }}} inside a pre section, and that nested just makes it all a bit odd
2007-08-03T22:25:09  <johill> imho
2007-08-03T22:29:44  <ThomasWaldmann> but we dont have those requirements they make up for creole
2007-08-03T22:29:58  <johill> ?
2007-08-03T22:30:18  <ThomasWaldmann> like having {{{ or }}} on a separate line
2007-08-03T22:30:30  <johill> ah right yeah
2007-08-03T22:40:46  <ThomasWaldmann> and what's with /* */?
2007-08-03T22:42:04  <johill> seems useless?
2007-08-03T22:42:24  <johill> why not just use ## and join consecutive lines
2007-08-03T23:19:14  <ThomasWaldmann> because that's a different thing
2007-08-03T23:21:01  <ThomasWaldmann> ## is a complete line source-level comment (you only see it in the src)
2007-08-03T23:21:51  <ThomasWaldmann>  /* ... */ is a comment span that is rendered in the output (or not)
2007-08-03T23:22:57  <johill> hm.
2007-08-03T23:23:08  <johill> still don't like the markup, but oh well
2007-08-03T23:24:02  <ThomasWaldmann> suggest a better one for that purpose
2007-08-03T23:27:43  <johill> something less common?
2007-08-03T23:30:05  <ThomasWaldmann> ehrm, that stuff doesn't apply within (C) code sections
2007-08-03T23:30:45  <ThomasWaldmann> or do you want to say that /* or */ is common in normal text?
2007-08-03T23:31:04  <johill> no idea? guess I could grep through all wikis I have

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-08-03 (last edited 2007-10-29 19:08:22 by localhost)