IRC log of #zope for Tuesday, 2012-11-20

*** LeoRochael has quit IRC00:00
*** fdrake has quit IRC00:02
*** crazydiamond has joined #zope00:49
*** Spanktar has quit IRC00:51
*** supton has joined #zope00:55
*** m8 has quit IRC00:56
*** tiwula has joined #zope01:01
*** LeoRochael has joined #zope01:05
*** fdrake has joined #zope01:29
*** J1m has quit IRC01:45
*** evilbungle has quit IRC01:53
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:01
*** supton has quit IRC02:03
*** J1m has joined #zope02:11
*** tiwula has quit IRC02:13
*** J1m has quit IRC02:13
*** River-Rat has joined #zope02:18
*** River_Rat has quit IRC02:22
*** sm has quit IRC02:35
*** phux has quit IRC02:41
*** mcdonc has quit IRC02:49
*** mcdonc has joined #zope02:51
*** sm_ has joined #zope02:54
*** River_Rat has joined #zope04:04
*** River-Rat has quit IRC04:06
*** thetet has quit IRC04:07
*** nande has quit IRC04:09
*** mr_jolly has quit IRC04:34
*** crazydiamond has quit IRC04:52
*** LeoRochael has quit IRC05:20
*** zenwryly has quit IRC05:34
*** zenwryly has joined #zope05:35
*** zenwryly has quit IRC05:38
*** zenwryly has joined #zope05:38
*** zenwryly has quit IRC05:43
*** Arfrever has quit IRC06:01
*** zenwryly has joined #zope06:05
*** zenwryly has quit IRC06:08
*** zenwryly has joined #zope06:09
*** roq_ has quit IRC06:31
*** KageSenshi has quit IRC06:42
*** KageSenshi has joined #zope06:43
*** kosh has quit IRC06:50
*** River-Rat has joined #zope07:09
*** River_Rat has quit IRC07:12
*** __mac__ has joined #zope07:18
*** __mac__ has quit IRC07:21
*** roq_ has joined #zope07:23
*** __mac__ has joined #zope07:59
*** __mac__ has quit IRC08:09
*** AnneGilles_ has quit IRC09:15
*** __mac__ has joined #zope09:21
*** AnneGilles has joined #zope09:22
*** agroszer has joined #zope09:31
*** tisto has joined #zope09:42
*** River_Rat has joined #zope09:47
*** River-Rat has quit IRC09:49
*** yvl has joined #zope10:15
*** zagy has joined #zope10:22
*** avoinea has joined #zope10:28
*** MrTango has joined #zope10:44
*** goschtl has joined #zope10:55
*** mr_jolly has joined #zope10:58
*** sunew has joined #zope11:00
*** AnneGilles_ has joined #zope11:03
*** AnneGilles has quit IRC11:05
*** AnneGilles_ is now known as AnneGilles11:05
*** maurits has joined #zope11:07
*** fredvd has joined #zope11:54
*** RichyB has joined #zope11:59
*** miano_ has quit IRC11:59
*** evilbungle has joined #zope12:08
*** evilbungle has joined #zope12:08
*** miano_ has joined #zope12:16
*** mr_jolly has left #zope12:34
*** eperez has joined #zope12:36
*** mitchell`off is now known as mitchell`13:09
*** mr_jolly has joined #zope13:41
*** maurits has quit IRC13:41
*** maurits has joined #zope14:03
*** __mac__ has quit IRC14:03
*** __mac__ has joined #zope14:04
*** __mac__ has quit IRC14:05
*** __mac__ has joined #zope14:08
*** avoinea has quit IRC14:18
*** avoinea has joined #zope14:21
*** fredvd has quit IRC14:34
*** __mac__ has quit IRC14:52
*** __mac__ has joined #zope14:53
*** __mac__ has quit IRC14:57
*** benji has joined #zope14:59
*** miano_ has quit IRC15:05
*** __mac__ has joined #zope15:06
*** miano_ has joined #zope15:08
*** agroszer has quit IRC15:37
_mup_Branch15:47
*** tisto has quit IRC15:49
*** zagy has quit IRC15:59
*** RichyB has quit IRC16:04
*** evilbungle has quit IRC16:05
*** evilbungle has joined #zope16:05
*** mr_jolly has quit IRC16:07
*** J1m has joined #zope16:19
*** nande has joined #zope16:19
*** miano_ has quit IRC16:29
*** menesis has joined #zope16:30
*** miano_ has joined #zope16:46
*** fredvd has joined #zope16:50
*** RichyB has joined #zope16:51
*** fredvd has quit IRC16:55
*** evilbungle has quit IRC16:55
*** evilbungle has joined #zope16:56
*** fredvd has joined #zope16:56
*** fredvd has quit IRC17:00
*** fredvd has joined #zope17:05
*** avoinea has quit IRC17:06
*** mr_jolly has joined #zope17:07
*** agroszer has joined #zope17:10
*** avoinea has joined #zope17:15
*** leo2007 has joined #zope17:29
*** sunew has quit IRC17:41
*** LeoRochael has joined #zope17:47
*** __mac__ has quit IRC17:48
*** mr_jolly has quit IRC18:12
*** mr_jolly has joined #zope18:12
*** LeoRochael has quit IRC18:20
*** avoinea has quit IRC18:23
*** jakke has quit IRC18:23
*** goschtl has quit IRC18:40
*** maurits has quit IRC18:41
*** kosh has joined #zope18:41
*** agroszer has quit IRC18:53
*** tiwula has joined #zope19:17
*** miano_ has quit IRC19:28
*** miano_ has joined #zope19:29
*** roq_ has quit IRC19:33
*** roq_ has joined #zope19:33
*** m8 has joined #zope19:34
*** m8 has quit IRC19:37
*** m8 has joined #zope19:42
*** Spanktar has joined #zope19:57
*** zenwryly has quit IRC20:00
*** zenwryly has joined #zope20:00
*** eperez has quit IRC20:01
*** zenwryly has quit IRC20:01
*** zenwryly has joined #zope20:01
*** zenwryly has quit IRC20:04
*** zenwryly has joined #zope20:04
*** agroszer has joined #zope20:06
*** menesis has quit IRC20:16
*** mitchell` is now known as mitchell`off20:22
*** leo2007 has quit IRC20:23
*** morphex has joined #zope20:27
*** evilbungle has quit IRC20:36
*** zenwryly has quit IRC20:38
*** zenwryly has joined #zope20:38
*** RichyB has quit IRC20:41
*** MrTango has quit IRC20:50
*** Darni has joined #zope20:58
*** RichyB has joined #zope20:58
Darnihey guys... I've found a problem in zc.lockfile, and I'm not sure where's the right place to report it20:58
*** mcdonc has quit IRC21:06
*** mcdonc has joined #zope21:07
J1mDarni, what problem?21:08
DarniI'm looking at: http://svn.zope.org/zc.lockfile/trunk/src/zc/lockfile/__init__.py?rev=121133&view=markup21:09
Darniin, LockFile.__init__ the lock is opened in mode w+21:09
Darnithat makes a truncate so even if the file was locked already, the pid inside is overwritten21:09
Darniso, if two process try to get a lock, the second fails (which is fine), but gets an empty pid when trying to generate the logged message21:10
J1mGood point.21:10
J1msp probably should be r+21:10
J1ms/sp/so21:10
Darniyes, I think so21:11
DarniI didn't check thoroughly, but ceratinly w+ is a problem21:11
J1mLooks worth fixing.  I look forward to moving that to github and giving it an issue tracker.21:12
J1many interest in working up a test?21:12
*** KageSenshi has quit IRC21:13
Darniif it's easy to get the test environment up, I'm fine with that (I'm using zc.lockfile as a dependency of a dependency of a company django project, so I'm not familiar with it :) )21:14
J1mas long as you're ok w buildout, it should be easy enough.21:15
DarniI didn't even know where the issue tracker was :)21:15
J1mJust build it and run bin/test.21:15
J1mI don't think it has an issue tracker at this point.21:15
J1mIt's soo small and boring :)21:15
*** agroszer has quit IRC21:16
J1mFor now, I added an XXX <shrug>21:17
Darniis it on github? I just found some svn repo when googling21:17
J1msvn co svn://svn.zope.org/repos/main/zc.lockfile/trunk21:17
J1mwget buildout.org/bootstrap.py21:17
J1mpython bootstrap.py21:18
J1mbin/buildout21:18
J1mbin/test21:18
J1m:)21:18
J1mIt will move to github soonish21:18
J1mThanks for pointing this out.21:20
Darninp... What I'm thinking is that the bug is easy to reproduce from two python shells, but I'll need to create two processes to make a test case. Do you need tests to be portable?21:22
*** KageSenshi has joined #zope21:23
J1mmake it work in linux or macos w subprocess.21:23
Darnisounds good21:23
J1mIf it doesn't work on windows, maybe I'll skip running it there. Not sure how this works on windows :)21:23
J1mIt may work, I don't remember.21:24
J1mI only run windows to test stuff :)21:24
*** RichyB has quit IRC21:25
DarniI don't have windows here, so I'll try to make it run on linux with subprocess21:26
J1mgood enough.21:26
*** supton has joined #zope21:31
*** tiwula has quit IRC21:50
*** roq_ has quit IRC21:53
*** roq_ has joined #zope21:54
*** les_sylvains has joined #zope21:57
*** fdrake has quit IRC22:00
*** menesis has joined #zope22:00
*** les_sylvains has quit IRC22:19
*** fdrake has joined #zope22:26
*** mr_jolly_ has joined #zope22:30
*** mr_jolly__ has joined #zope22:31
*** mr_jolly_ has quit IRC22:31
*** mr_jolly has quit IRC22:31
*** mr_jolly__ is now known as mr_jolly22:31
*** tiwula has joined #zope22:40
*** nande has quit IRC22:52
*** supton has quit IRC22:56
*** supton has joined #zope23:01
DarniJ1m: ok, I have a test; r+ doesn't fix it (it fails when there's no previous lock), but "a+" seems ok. Other test started failing, but because the text appears to be written with the bug in mind: http://pastebin.com/zmVMqKJM23:02
Darnihow do you prefer me to submit this? I have the svn diff output if that helps23:03
*** nande has joined #zope23:07
J1mDarni, svn diff to jim@zope.com will do.  Do you mind fixing theo ther tests too?23:08
J1mThe less work I have to do to review, the quicker it will get merged and released. :)23:09
Darniok, done :)23:14
J1mLooks good. Thanks.  I'll get this out this afternoon.23:17
Darninice! ok, bye!23:46
*** Darni has left #zope23:57
*** supton has quit IRC23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!