IRC log of #zope for Tuesday, 2015-05-19

*** alecm has quit IRC00:00
*** Jan_Garaj3 has quit IRC00:01
*** Jan_Garaj3_ is now known as Jan_Garaj300:01
*** alecm has joined #zope00:03
*** alecm has quit IRC00:03
*** alecm has joined #zope00:03
*** alecm has quit IRC00:09
*** alecm has joined #zope00:17
*** alecm has joined #zope00:17
*** Jan_Garaj3_ has joined #zope00:35
*** Jan_Garaj3 has quit IRC00:38
*** Jan_Garaj3_ is now known as Jan_Garaj300:38
*** Arfrever has quit IRC00:58
*** J1m has quit IRC01:02
*** roq_1 has joined #zope01:02
*** roq_ has quit IRC01:03
*** kosh has quit IRC01:22
*** J1m has joined #zope01:57
*** Jan_Garaj3_ has joined #zope02:02
*** Jan_Garaj3 has quit IRC02:05
*** Jan_Garaj3_ is now known as Jan_Garaj302:05
*** Jan_Garaj3_ has joined #zope02:17
*** Jan_Garaj3 has quit IRC02:19
*** Jan_Garaj3_ is now known as Jan_Garaj302:19
*** J1m has quit IRC03:06
*** Jan_Garaj3_ has joined #zope03:07
*** Jan_Garaj3 has quit IRC03:09
*** Jan_Garaj3_ is now known as Jan_Garaj303:09
*** J1m has joined #zope03:33
*** J1m has quit IRC03:34
*** KageSenshi has quit IRC03:35
*** benji has quit IRC04:08
*** benji has joined #zope04:14
*** benji has quit IRC04:18
*** benji has joined #zope04:20
*** benji has quit IRC04:25
*** Jan_Garaj3 has quit IRC04:30
*** J1m has joined #zope04:33
*** J1m has quit IRC04:33
*** benji_ has joined #zope04:42
*** benji_ has quit IRC04:47
*** KageSenshi has joined #zope05:10
*** benji has joined #zope05:20
*** yvl has joined #zope08:23
*** tisto has joined #zope08:51
*** __mac__ has joined #zope09:05
*** KageSenshi has quit IRC09:12
*** agroszer has joined #zope09:15
agroszerping mgedmin09:17
mgedminhi, agroszer09:17
agroszermoin09:17
agroszerdo I remember well that you had issues with py26 + ssl downloads from pypi?09:17
agroszer(at rackspace)09:17
mgedminI had issues with ssl downloads from pypi, in a rackspace vm, with py2709:18
mgedminbut I don't think it was python-version-specific09:18
agroszer:-S09:18
agroszerwinbot farts recently:09:18
agroszerhttp://winbot.zope.org/builders/zope.formlib_py_265_32/builds/1600/steps/bootstrap/logs/stdio09:18
mgedminstdlib's urllib (and also setuptools/zc.buildout) would fail; requests (and also pip) would work09:18
mgedminthis 403 forbidden is something else09:18
mgedminrecently pypi migrated their file storage into s309:19
mgedminI think that causes it09:19
agroszer(like)09:19
mgedminif you try to access the parent directory of the url: https://pypi.python.org/packages/source/z/zc.buildout/09:19
mgedminyou get a 40309:19
mgedmin(with a bunch of XML)09:19
mgedminbut wget https://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-2.3.1.tar.gz works09:19
mgedminI have a theory09:21
agroszershoot09:21
mgedminhere: https://gist.github.com/mgedmin/357900cbfcb75b051f0a09:22
mgedminI think bootstrap is not stripping the #md5=... from the URL09:22
agroszerbut using https://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-2.3.1.tar.gz#md5=cbf008369ca28814ed8051084622fba8 in a browser works fine...09:23
mgedminbrowsers aren't stupid enough to send the #anchor bit to the server09:23
agroszeraha09:23
agroszerbtw, didn't you (someone) fix the ImportError: No module named email issue with bootstrap?09:24
mgedminwhen?09:24
agroszera few months ago09:24
mgedminprobably09:24
*** PeterZ1 has joined #zope09:24
mgedminwhen the fix was merged into the buildout repo09:24
*** PeterZ1 has left #zope09:24
mgedminI checked out a new bootstrap.py on winbot09:24
mgedminthere should be a commit in github09:25
mgedminthis: https://github.com/zopefoundation/zope.winbot/commit/5252b79456c4feec2611f41743bdfc21a137d07009:25
agroszeryep found it too09:27
mgedmin(it's a bit annoying how pushing a commit to GH is insufficient to deploy it on winbot, you have to rdesktop in and find the git repo hidden in a directory called '1' and then git pull and copy it over by hand)09:27
agroszerhttps://bootstrap.pypa.io/bootstrap-buildout.py is a bitrot09:27
mgedminhttps://twitter.com/aclark4life/status/60036530186000793709:28
mgedminwait no that's a different bootstrap09:28
agroszerwell how many ppl have push permission to the GH winbot repo?09:28
mgedminall of them :)09:28
mgedminpoint taken09:29
mgedmin(although this could be reconfigured)09:29
agroszerso what's not stripping #md5?09:29
mgedminI haven't investigated that far09:30
mgedminthings to test: does a fresh bootstrap work on linux?09:30
mgedminon windows?09:30
agroszerlets see09:30
agroszeron win, same sh*t on a fresh clone09:33
agroszerworks fine on linux09:35
agroszerohboy09:35
mgedmininteresting09:37
mgedmindifferent setuptools version?09:37
agroszerboth seem to get 16.009:37
agroszersame zope.formlib package09:37
agroszerbaah09:51
agroszerhttps://github.com/zopefoundation/zope.testrunner/commit/ca985980dea558c4bf0255584e2c2f34801604aa breaks the -j2 magic09:51
agroszerwhere you add a ".!no tests here!" layer09:52
mgedminyes :(09:52
agroszersniff09:52
agroszersniff09:52
mgedminshouldn't be too hard to fix with a hack09:53
mgedminif -j is present on the command line, create a fake test layer inside the test runner itself, then insert it in front09:53
mgedminfiled https://github.com/zopefoundation/zope.testrunner/issues/2809:56
agroszerthx09:58
* mgedmin is battling repozo09:58
agroszerI postpone winbot for tomorrow09:58
mgedminit's amazing how quickly a New! Fresh! Complete! copy of Data.fs.index fills up all available disk space when you run repozo 8 times a day09:58
agroszerhuh09:59
mgedminbonus points: those indexes are useless because the app itself hasn't migrated to ZODB 4 yet09:59
mgedmin(apparently there was a change in the on-disk index file format)09:59
agroszeryou mean creating a backup duplicates the index?10:00
mgedminyes10:00
agroszerouch10:00
*** kosh has joined #zope10:01
mgedminwish I had time to monkey-patch urllib.urlopen and see the URLs that bootstrap actually tries to download on linux and winbot10:01
agroszerI might get to that,10:04
agroszerit's easier on win, less perms protecting system libs ;-)10:05
betabughey there agroszer, how's life?10:05
agroszerhey betabug10:05
betabugon linux you could use tcpdump to quickly see what urls are attempted10:05
agroszerbusy, pretty busy10:05
betabuggood!10:06
agroszerstill in greece?10:06
betabugof course!10:06
betabugbut no cycling right now, I broke my leg in january10:06
agroszerouch10:06
betabugyepp10:06
betabugit's almost good again10:06
mgedminbetabug, ever heard of SSL? ;)10:07
agroszeroops, so scratch tcpdump10:08
mgedminaugh, all the urlopening happens in a subprocess so monkey-patching at the top of bootstrap.py is pointless10:08
agroszerwell, what if I go in hard and change the system lib source?10:09
betabugah, right10:09
betabugeither MITM or indeed go and change the source10:09
betabugjust put in a print statement10:09
agroszeryup10:09
agroszerhopefully the subprocess launch does not eat the output10:10
betabugin that case you could write to STDERR - dunno on windoze though10:10
mgedminprint >> open('/tmp/url.log', 'a'), ... is always an option10:11
agroszeryup10:11
*** Jan_Garaj3 has joined #zope10:12
*** giacomos has joined #zope10:25
*** alecm has quit IRC11:09
*** alecm has joined #zope11:10
*** kosh has quit IRC11:12
*** kosh has joined #zope11:19
*** kosh has quit IRC11:25
*** maurits has joined #zope11:34
*** __mac__ has quit IRC11:40
*** maurits has quit IRC11:47
*** MrTango has joined #zope11:52
*** maurits has joined #zope11:55
*** Jan_Garaj3 has quit IRC11:56
*** giacomos has quit IRC12:13
*** __mac__ has joined #zope12:40
*** Jan_Garaj3 has joined #zope13:00
*** KageSenshi has joined #zope13:05
*** Jan_Garaj3 has quit IRC13:07
*** alecm has quit IRC13:24
*** KageSenshi has quit IRC14:04
agroszermgedmin, still around?14:39
*** mg-lunch has joined #zope14:40
mg-lunchsort of14:41
agroszerworking on z.testrunner #2814:41
mg-lunchyay14:42
agroszerhaving that layer auto-inserted, defeats at least one edge case test14:42
agroszertestrunner-layers-cwd.txt14:42
mg-lunchhmm?14:42
agroszer"when the test suite changes the current working directory, subprocess14:43
agroszerinvocation might fail."14:43
agroszertill now a cd'ing test was run in the main process14:43
agroszernow it's sorta impossible to run it in the main, because FakeMultiProcessLayer is going to take over14:43
*** maurits has quit IRC14:44
mg-lunchso either the bug is now impossible14:44
agroszeryah14:44
mg-lunchor it can regress to affect test runs without -j14:45
agroszerthe test is explicitely for -j214:46
mg-lunchthat's where I originally encountered the bug14:46
mg-lunch-j2 was easier than a fake layer that raises NotImplErr in layer tearDown I guess14:47
mg-lunchanyway, how does the test fail when you add an extra empty layer?14:48
agroszerwith output diff of the added layer14:48
mg-lunchah, ok14:49
mg-lunchso I'd try to revert the fix foe issue 6 and see if the test fails14:50
mg-lunchit won't because of the new empty layer14:50
mg-lunchthe i'd try to change the test to avoid -j14:50
agroszeryah, I think so too14:51
mg-lunchif it fails when the #6 fix is reverted, we have a useful regr test14:51
*** mg-lunch has quit IRC14:59
*** projekt01 has joined #zope15:01
*** alecm has joined #zope15:25
*** alecm has quit IRC15:29
*** maurits has joined #zope15:49
*** alecm has joined #zope16:10
*** alecm has joined #zope16:10
*** MrTango has quit IRC16:20
agroszermgedmin, https://github.com/agroszer/zope.testrunner/commit/3da65cbe7b8eb1435acbb68f9498045239373c9e sofar16:26
*** J1m has joined #zope16:30
*** MrTango has joined #zope16:34
mgedminyou're not working in a branch?16:35
mgedminwhy the time.sleep()?16:36
agroszerin setUp?16:37
mgedminyes16:37
agroszerI has problems getting testrunner-layers-buff.txt right16:37
agroszerI had16:37
mgedminah, this is your fork, not the main repo16:38
mgedminthat's why I can't see any travis results :)16:38
agroszeryep16:38
agroszerif I do this on a branch, I can haz travis builds?16:38
mgedminif you do a pull request, you'll get travis builds16:42
mgedminor if you do this on a branch in the main repo16:42
mgedmina PR would also make code review easier16:42
agroszersure16:43
agroszeryou want the PR now, or should I first fiddle with the #616:43
agroszer?16:43
mgedminnow is fine16:43
*** agroszer has quit IRC16:51
*** alecm has quit IRC16:56
*** MrTango has quit IRC16:59
*** tiwula has joined #zope17:04
*** MrTango has joined #zope17:07
*** KageSenshi has joined #zope17:09
*** fredvd has joined #zope17:13
*** KageSenshi has quit IRC17:15
*** __mac__ has quit IRC17:17
*** KageSenshi has joined #zope17:23
*** roq_1 has quit IRC17:27
*** roq_ has joined #zope17:30
*** Pumukel has joined #zope18:09
*** Jan_Garaj3 has joined #zope18:31
*** __mac__ has joined #zope18:42
*** Pumukel has quit IRC18:46
*** alecm has joined #zope18:48
*** fredvd has quit IRC18:51
*** roq_ has quit IRC18:55
*** J1m has quit IRC18:57
*** tisto has quit IRC19:00
*** __mac__ has quit IRC19:03
*** Pumukel has joined #zope19:17
*** yvl has quit IRC19:30
*** alecm has quit IRC19:30
*** projekt01 has quit IRC19:31
*** Pumukel has quit IRC19:36
*** tiwula has quit IRC19:46
*** Pumukel has joined #zope19:52
*** Jan_Garaj3 has quit IRC20:14
*** tiwula has joined #zope20:27
*** benji has quit IRC20:29
*** __mac__ has joined #zope20:29
*** __mac__1 has joined #zope20:31
*** __mac__ has quit IRC20:31
*** Pumukel has quit IRC20:32
*** __mac__1 has quit IRC20:32
*** __mac__ has joined #zope20:35
*** kosh has joined #zope20:42
*** maurits has quit IRC20:48
*** Jan_Garaj3 has joined #zope20:50
*** __mac__ has quit IRC20:58
*** Jan_Garaj3_ has joined #zope21:09
*** Jan_Garaj3 has quit IRC21:11
*** Jan_Garaj3_ is now known as Jan_Garaj321:11
*** Jan_Garaj3 has quit IRC21:17
*** Jan_Garaj3 has joined #zope21:20
*** Pumukel has joined #zope21:21
*** Jan_Garaj3_ has joined #zope21:26
*** Jan_Garaj3 has quit IRC21:28
*** Jan_Garaj3_ is now known as Jan_Garaj321:28
*** __mac__ has joined #zope21:30
*** Jan_Garaj3_ has joined #zope21:33
*** __mac__ has quit IRC21:33
*** Jan_Garaj3__ has joined #zope21:35
*** Jan_Garaj3 has quit IRC21:35
*** Jan_Garaj3__ is now known as Jan_Garaj321:35
*** Jan_Garaj3_ has quit IRC21:39
*** benji has joined #zope21:45
*** Pumukel has quit IRC21:59
*** alecm has joined #zope22:12
*** alecm has quit IRC23:12
*** alecm has joined #zope23:13
*** MrTango has quit IRC23:22
*** Jan_Garaj3_ has joined #zope23:25
*** Jan_Garaj3 has quit IRC23:27
*** Jan_Garaj3_ is now known as Jan_Garaj323:28
*** jham has joined #zope23:28
*** Jan_Garaj3_ has joined #zope23:34
*** Jan_Garaj3 has quit IRC23:36
*** Jan_Garaj3_ is now known as Jan_Garaj323:36
*** alecm has quit IRC23:54

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