2008-12-27T00:27:58  <dreimark> dennda: I think thomas wears a moin jacket or t-shirt
2008-12-27T13:00:09  <ThomasWaldmann> moin
2008-12-27T13:00:37  <ThomasWaldmann> dennda: hack center, 10m behind entry, at the left (round table)
2008-12-27T13:05:17  <dennda> ThomasWaldmann: kthx
2008-12-27T13:05:22  <dennda> wlan very instable here
2008-12-27T13:05:41  <ThomasWaldmann> nice procurve switch here and wlan ap 4m away
2008-12-27T13:05:46  <dennda> heh
2008-12-27T13:05:50  <dennda> are you alone atm?
2008-12-27T13:06:17  <ThomasWaldmann> some folk here at the desk, but not moin related
2008-12-27T13:06:23  <dennda> ok
2008-12-27T13:06:55  <dennda> got my ubuntuusers colleagues with me, I'll pay you a visit later :-)
2008-12-27T13:26:46  <dennda> ThomasWaldmann: are you on level a?
2008-12-27T15:05:25  <TheSheep> default-push = ssh://hg@hg.moinmo.in/moin/1.7-extensions/
2008-12-27T15:05:35  <TheSheep> abort: no suitable response from remote hg!
2008-12-27T15:05:44  <TheSheep> what am I doing wrong? :)
2008-12-27T15:20:46  <CIA-38> sheep@ghostwheel default * 324:760ce9ce6841 1.7-extensions/htdocs/SlideShow/css/SlideShow.css: SlideShow: hide navigation for printing
2008-12-27T15:20:49  <ThomasWaldmann> nothing :)
2008-12-27T17:18:22  <dennda> ThomasWaldmann: May I rely on .pngs being present for each twikidraw item or may it be stored as another type of image? or shall I not store the .png at all and rely on others to regenerate the image?
2008-12-27T17:47:25  <dreimark> dennda: can it be svg ?
2008-12-27T17:47:54  <dennda> dreimark: I have no knowledge of twikidraw. thomas said they were using an own format
2008-12-27T17:48:12  <dennda> the files are apparently stored as .draw files in some strange format and can be rendered to png
2008-12-27T17:48:16  <dennda> amongst others
2008-12-27T17:48:19  <dennda> i guess
2008-12-27T17:48:41  <dreimark> currently it saves a .draw a .map and a .png file
2008-12-27T17:48:55  <dreimark> a .map for image maps
2008-12-27T17:50:21  <dreimark> dennda: should have asked what your goal is?
2008-12-27T17:51:19  <dennda> dreimark: migrate all TWikiDraw objects that are atm stored as .draw, .png, .map (the latter two being optional) into a single .tar archive that can then be stored easily by the new storage layer
2008-12-27T17:51:32  <dennda> writing a simple migration script for that
2008-12-27T17:54:07  <TheSheep>         # every once a while, clean up deleted sessions:
2008-12-27T17:54:07  <TheSheep>         if random.randint(0, 999) == 0:
2008-12-27T17:54:07  <TheSheep>             self.dataclass.cleanup(request)
2008-12-27T17:54:08  <dreimark> ok. I am not sure if the png must be stored in the tar file too or can be in the action cache (sendcache) arena
2008-12-27T17:54:10  <TheSheep> :D
2008-12-27T17:54:24  <TheSheep> sweet :)
2008-12-27T17:54:45  * dreimark remembers some discussion already about that
2008-12-27T17:55:02  <dreimark> dennda: ^
2008-12-27T17:55:57  <TheSheep> dreimark: nah, it's just funny
2008-12-27T17:56:53  <dennda> dreimark: I'm not sure we are talking about the same
2008-12-27T17:57:18  <dreimark> hmm, the png is not recreated if it is deleted, so it should go in the tar file too
2008-12-27T18:11:02  <TheSheep> dreimark: do you remember what this was for? http://hg.moinmo.in/moin/1.8/annotate/1c113184a79b/MoinMoin/session.py#l426
2008-12-27T18:16:16  <dreimark>  when you have two users using the same machine then they should not use the same session
2008-12-27T18:20:41  <dennda> ThomasWaldmann: I can't push to 1.9
2008-12-27T18:55:26  <dreimark> bbl
2008-12-27T21:04:52  <dennda> hm did somebody fetch my cable when you left?
2008-12-27T21:04:56  * dennda eyes TheSheep 
2008-12-27T21:37:25  <TheSheep> dennda: no, it's still here :)
2008-12-27T21:41:08  <dennda> TheSheep: wtf? where are you?
2008-12-27T21:41:28  <dennda> TheSheep: I just was in the basement and there was nobody around I recognized
2008-12-27T21:41:39  <dennda> perhaps I got the table wrong :-)
2008-12-27T21:52:01  <ThomasWaldmann> dennda: i'll fix, just a moment
2008-12-27T21:52:41  <dennda> ThomasWaldmann: where are you?
2008-12-27T21:52:58  <ThomasWaldmann> dennda: retry (saal3)
2008-12-27T21:54:40  <dennda> ThomasWaldmann: http://paste.pocoo.org/show/96937/
2008-12-27T21:54:43  <dennda> is that adress correct?
2008-12-27T21:55:09  <TheSheep> dennda: I'm here...
2008-12-27T21:55:21  <ThomasWaldmann> hg@...
2008-12-27T21:55:40  <ThomasWaldmann> and /moin/1.9 (e.g.)
2008-12-27T21:56:05  <CIA-38> Christopher Denter default * 4436:4122e38d9582 1.9/MoinMoin/script/migration/1089999.py: add simple script that converts the several elements of one twikidraw item into one tar archive. the script needs further love and integration
2008-12-27T21:56:14  <dennda> ThomasWaldmann: please take a look at that script
2008-12-27T21:56:17  <ThomasWaldmann> cool :)
2008-12-27T21:58:29  <ThomasWaldmann> dennda: use splitext
2008-12-27T21:58:54  <dennda> ok
2008-12-27T21:59:10  <ThomasWaldmann> and not chdir, just os.path.join
2008-12-27T21:59:14  <dennda> what about the XXX questions?
2008-12-27T21:59:20  <dennda> hm does that matter?
2008-12-27T22:00:19  <ThomasWaldmann> also add the .png
2008-12-27T22:00:23  <dennda> ok
2008-12-27T22:00:38  <dennda> am I right that the original files shall be removed after adding?
2008-12-27T22:00:53  <ThomasWaldmann> maybe try: add all except: ... else: rm all
2008-12-27T22:01:58  <dennda> hm
2008-12-27T22:02:28  <dennda> if the second add raises an OSError, the third one is skipped
2008-12-27T22:03:40  <ThomasWaldmann> well, we only did succeed if we added all
2008-12-27T22:06:02  <ThomasWaldmann> dennda: 'w' seems to do same as 'w:'?
2008-12-27T22:06:13  <dennda> the problem is that I can't assume .draw, .map and .png files to be present _always_
2008-12-27T22:06:36  <dennda> ThomasWaldmann: yes, wanted to be explicit about the 'uncompressed' write
2008-12-27T22:07:32  <ThomasWaldmann> dennda: maybe catch the "file does not exist" exception then
2008-12-27T22:09:32  <dennda> ok, later. sitting in a talk atm

MoinMoin: MoinMoinChat/Logs/moin-dev/2008-12-27 (last edited 2008-12-26 23:30:02 by IrcLogImporter)