IRC log of #zope3-dev for Thursday, 2008-01-31

*** sp0cksbeard has quit IRC00:19
*** greenman has joined #zope3-dev00:20
*** greenman has quit IRC00:21
*** greenman has joined #zope3-dev00:21
*** philiKON_ is now known as philiKON00:36
*** alecm has joined #zope3-dev00:40
*** hazmat has quit IRC00:51
*** hazmat has joined #zope3-dev00:51
*** ChanServ sets mode: +o hazmat00:51
*** tarek has joined #zope3-dev00:52
*** J1m has quit IRC00:53
*** J1m has joined #zope3-dev00:55
*** tarek has quit IRC00:56
*** fcorrea has joined #zope3-dev00:58
*** greenman has quit IRC00:58
*** greenman has joined #zope3-dev00:59
*** benji has quit IRC00:59
*** J1m has quit IRC01:13
*** lucielejard has quit IRC01:15
malthetlotze: here01:16
*** rmarianski has quit IRC01:18
*** rmarianski has joined #zope3-dev01:18
*** greenman has quit IRC01:21
*** greenman has joined #zope3-dev01:21
*** timte has quit IRC01:25
*** rmarianski has quit IRC01:27
*** malthe is now known as malthe|Zzz01:29
*** norro has quit IRC01:45
*** natea|boston has quit IRC01:47
*** srichter has joined #zope3-dev01:53
*** ChanServ sets mode: +o srichter01:59
*** malthe|Zzz has quit IRC02:03
*** supton has joined #zope3-dev02:17
*** ignas has quit IRC02:18
*** Doc_Dan has quit IRC02:19
*** danielblackburn has quit IRC02:20
*** cbcunc has quit IRC02:20
*** alga has joined #zope3-dev02:30
*** Doc_Dan has joined #zope3-dev02:40
*** danielblackburn has joined #zope3-dev02:43
*** nathany has quit IRC02:56
*** supton has quit IRC03:05
*** greenman has quit IRC03:14
*** gumpa has joined #zope3-dev03:24
*** quodt has quit IRC03:38
*** gumpa has quit IRC03:53
*** fcorrea has left #zope3-dev03:58
*** greenman has joined #zope3-dev04:03
*** rmarianski has joined #zope3-dev04:07
*** rcrafton has joined #zope3-dev04:09
*** pbugni has quit IRC04:25
*** rmarianski has quit IRC04:29
*** rmarianski has joined #zope3-dev04:40
*** natea|boston has joined #zope3-dev04:59
*** greenman has quit IRC05:00
*** alecm has quit IRC05:14
*** rcrafton has quit IRC06:20
*** rmarianski has quit IRC06:29
*** salfield has quit IRC06:29
*** stub has joined #zope3-dev06:34
*** tarek has joined #zope3-dev06:34
*** kursor has joined #zope3-dev06:39
*** [1]Doc_Dan has joined #zope3-dev06:44
*** kursor has left #zope3-dev06:46
*** Doc_Dan has quit IRC07:02
*** [1]Doc_Dan is now known as Doc_Dan07:02
*** edgordon has joined #zope3-dev07:08
*** alga has quit IRC07:15
*** yvl has joined #zope3-dev07:52
*** philiKON_ has joined #zope3-dev07:59
*** tarek has quit IRC08:02
*** philiKON has quit IRC08:15
*** afd_ has joined #zope3-dev08:21
*** afd__ has joined #zope3-dev08:22
*** Jell-O-Fishi has quit IRC08:25
*** natea|boston is now known as natea|zZz08:35
*** afd_ has quit IRC08:39
*** greenman has joined #zope3-dev08:47
*** timte has joined #zope3-dev08:48
*** jodok has quit IRC08:51
*** d2m has joined #zope3-dev08:56
*** jukart has joined #zope3-dev08:57
*** yvl has left #zope3-dev08:57
*** afd__ has quit IRC09:00
*** __mac__ has joined #zope3-dev09:07
*** yvl has joined #zope3-dev09:11
*** Doc_Dan has quit IRC09:11
*** sorin has joined #zope3-dev09:14
*** sorin is now known as sorindregan09:14
*** yvl has left #zope3-dev09:19
*** hdima has joined #zope3-dev09:20
*** Doc_Dan has joined #zope3-dev09:48
*** ignas has joined #zope3-dev09:59
*** tarek has joined #zope3-dev10:02
*** __mac__ has quit IRC10:14
*** __mac__ has joined #zope3-dev10:15
*** __mac__ has left #zope3-dev10:15
*** tarek has quit IRC10:19
*** ghendi has joined #zope3-dev10:24
*** harobed has joined #zope3-dev10:33
*** toutpt has joined #zope3-dev10:35
*** jpcw2002 has joined #zope3-dev10:36
*** pelle_ has joined #zope3-dev10:41
*** ktwilight has quit IRC10:45
*** ktwilight has joined #zope3-dev10:49
*** sorindregan has quit IRC10:51
*** sorin has joined #zope3-dev10:58
*** sorin is now known as sorindregan10:59
*** afd_ has joined #zope3-dev11:02
*** norro has joined #zope3-dev11:03
*** Doc_Dan has quit IRC11:06
*** timte_ has joined #zope3-dev11:11
*** timte has quit IRC11:11
*** maurits has joined #zope3-dev11:23
*** malthe has joined #zope3-dev11:26
*** norro has quit IRC11:28
*** Doc_Dan has joined #zope3-dev11:28
*** MJ has joined #zope3-dev11:38
*** tarek has joined #zope3-dev11:38
*** pcardune has joined #zope3-dev12:08
*** quodt has joined #zope3-dev12:08
*** norro has joined #zope3-dev12:11
afd_when a "None" object is proxied, testing "proxied_obj is None" results in False12:14
afd_is this expected behaviour?12:14
*** dunny has quit IRC12:26
*** dunny has joined #zope3-dev12:36
*** pcardune_ has joined #zope3-dev12:36
Theuniafd_: you might want to look into the zope.proxy tests to check whether they expect this.12:51
Theuniotherwise i'd consider it an unspecified edge case12:51
afd_Theuni: ok, thanks12:51
*** salfield has joined #zope3-dev12:54
*** mkerrin has joined #zope3-dev12:55
*** pcardune has quit IRC12:56
*** edgordon has quit IRC12:58
*** jodok has joined #zope3-dev13:00
*** projekt01 has joined #zope3-dev13:02
*** MJ is now known as MJ|lunch13:14
*** malthe has quit IRC13:33
*** toutpt has quit IRC13:46
*** rocky has joined #zope3-dev13:53
*** Doc_Dan has quit IRC13:55
*** Doc_Dan has joined #zope3-dev13:56
*** danielblackburn has quit IRC14:01
*** agroszer has joined #zope3-dev14:04
*** dunny has quit IRC14:06
*** tarek has quit IRC14:11
*** ignas has quit IRC14:21
*** MJ|lunch is now known as MJ14:30
*** ignas has joined #zope3-dev14:31
*** ktwilight has quit IRC14:35
*** MJ is now known as MJ|out14:35
*** tarek has joined #zope3-dev14:35
*** dunny has joined #zope3-dev14:36
*** rmarianski has joined #zope3-dev14:37
*** rmarianski has quit IRC14:37
*** greenman has quit IRC14:40
*** salfield has quit IRC14:41
*** SteveA_ is now known as SteveA14:42
*** pcardune_ has quit IRC14:55
*** danielblackburn has joined #zope3-dev14:56
*** alga has joined #zope3-dev14:57
*** dunny has quit IRC15:03
*** lucielejard has joined #zope3-dev15:15
*** benji has joined #zope3-dev15:18
*** toutpt has joined #zope3-dev15:22
*** natea|zZz is now known as natea15:36
*** salfield has joined #zope3-dev15:43
*** Doc_Dan has quit IRC15:44
*** MJ|out is now known as MJ15:45
*** lucielejard has quit IRC15:45
*** ktwilight has joined #zope3-dev15:46
*** J1m has joined #zope3-dev16:04
*** afd_ has quit IRC16:09
*** goschtl has joined #zope3-dev16:10
*** ktwilight has quit IRC16:20
*** ktwilight has joined #zope3-dev16:20
*** mgedmin has joined #zope3-dev16:23
*** norro_ has joined #zope3-dev16:36
*** tarek has quit IRC16:38
*** norro has quit IRC16:44
*** norro_ has quit IRC16:44
*** natea has quit IRC16:53
*** dobee has joined #zope3-dev17:00
*** afd_ has joined #zope3-dev17:02
*** hdima has quit IRC17:13
*** rmarianski has joined #zope3-dev17:18
*** tarek has joined #zope3-dev17:21
*** ghendi has quit IRC17:25
*** norro has joined #zope3-dev17:37
*** J1m has quit IRC17:38
*** whit is now known as whit|busy17:42
*** whit|busy is now known as whit17:44
*** tarek has quit IRC17:44
*** sorindregan has quit IRC17:44
*** J1m has joined #zope3-dev17:47
*** nathany has joined #zope3-dev17:51
*** reco has joined #zope3-dev17:53
*** astoon has joined #zope3-dev17:56
*** astoon has quit IRC17:57
*** mkerrin has quit IRC17:57
*** srichter has quit IRC18:00
*** maurits has quit IRC18:06
*** rocky has left #zope3-dev18:08
*** cbcunc has joined #zope3-dev18:12
*** goschtl has quit IRC18:16
*** benji has quit IRC18:17
*** stub has quit IRC18:19
*** stu1 has joined #zope3-dev18:19
*** BjornT has quit IRC18:19
*** stu1 is now known as stub18:19
*** BjornT has joined #zope3-dev18:20
*** bigkevmcd_ has joined #zope3-dev18:24
*** bigkevmcd has quit IRC18:24
*** bigkevmcd_ is now known as bigkevmcd18:24
*** pcardune has joined #zope3-dev18:27
*** J1m has quit IRC18:39
*** pelle_ has quit IRC18:40
*** J1m has joined #zope3-dev18:44
*** stub has quit IRC18:44
*** regebro has joined #zope3-dev18:44
*** benji has joined #zope3-dev18:46
*** rocky has joined #zope3-dev18:52
*** srichter has joined #zope3-dev19:12
*** ChanServ sets mode: +o srichter19:13
projekt01mgedmin, ayt?19:22
* mgedmin is there19:22
projekt01is Retry working with doctest setup?19:23
projekt01or does Retry concept fail because of pdb wrapper?19:23
mgedminI have no idea19:23
mgedminhow do you manage to trigger Retry exceptions in your tests?19:24
projekt01just raise ConflictError in JSONRPC view19:24
projekt01from ZODB.POSException import ConflictError19:25
projekt01It allways ends in a original error like: _OutputRedirectingPdb instance has no attribute 'do_sys'19:25
projekt01or _OutputRedirectingPdb instance has no attribute 'do_raise19:26
projekt01could this be a _OutputRedirectingPdb problem which means functional testing does not support Retry if it comes to retry() calls19:28
*** toutpt has quit IRC19:28
*** romanofski has quit IRC19:28
*** alecm has joined #zope3-dev19:29
mgedminhm19:31
mgedminit does look like zope.testing.doctest pdb monkeypatching break something19:32
mgedminthis is not specific to functional tests, I believe; zope's doctest.py monkeypatches pdb in any case19:32
mgedminit would help if you could create a testcase for this and attach it to a bug on http://launchpad.net/zope.testing/+bugs19:33
*** ktwilight has quit IRC19:34
*** MJ has quit IRC19:35
projekt01mgedmin, thanks a lot19:37
projekt01mgedmin, if you have nothing to do ;-) There is branche at:19:38
projekt01svn+ssh://svn.zope.org/repos/main/z3c.jsonrpc/branches/adamg-retryfix19:38
mgedminso, I can check that out, run bin/test and see the failure?19:41
agroszeryep19:41
*** ktwilight has joined #zope3-dev19:41
agroszeror just constrain the test to retry.txt19:41
*** rmarianski has quit IRC19:42
*** rmarianski has joined #zope3-dev19:42
agroszerohhhh19:43
* mgedmin tries svn co ...; cd ...; buildout bootstrap; bin/buildout; bin/test -t retry.txt19:43
agroszerI think I have it19:43
* mgedmin currently waiting for buildout to download all the zope again19:43
agroszer:-/ eggs...19:43
agroszerso the story goes like this19:44
afd_mgedmin: there's a way to configure buildout to place all eggs in a common folder19:44
agroszerzope.app.testing.functional calls the publisher like this:19:44
agroszerpublish(request, handle_errors=handle_errors)19:44
afd_so it doesn't have to download them again when you work on another project19:44
*** jpcw2002 has left #zope3-dev19:44
agroszerdeep in publish a new instance of request is created19:45
agroszerin case of a retry19:45
agroszerold one dropped, works on the new one19:45
agroszerdef publish(request, handle_errors=True):19:45
agroszer...19:45
agroszerreturn request19:45
agroszer(returns the newly intantiated request)19:46
agroszerback to zope.app.testing.functional:19:46
*** norro has quit IRC19:46
agroszerpublish(request, handle_errors=handle_errors)19:46
agroszerit just drops the return value19:46
agroszerblech19:46
*** norro has joined #zope3-dev19:47
agroszermgedmin, do you see what I mean?19:47
mgedminyes19:47
agroszerthx19:47
mgedminwhat does the real publisher do?19:47
mgedminrequest = publish(request, ...)?19:47
agroszerfingers crossed19:47
mgedminis the problem that you get the wrong response object from the old request object?19:47
mgedmininstead of the correct response object from the new request object?19:48
mgedminwhere does the OutputRedirectingPdb get into the picture?19:48
projekt01I guess from sys.exc_info() call19:48
* mgedmin doesn't remember the buildout magic to cache downloaded eggs so is still waiting19:48
agroszerseemingly getting the wrong response(request) is the bug19:48
* projekt01 uses a buildout defaults file in user home e.g. ~/.buildout/default.cfg with eggs-directory= and download-cache=19:48
agroszercause jsonrpc sets the status to 200 nicely19:49
agroszerand already in the functional.py the status is 59919:49
projekt01mgedmin, .buildout/default.cfg could look like:19:50
projekt01[buildout]19:50
projekt01eggs-directory = D:\home\.buildout\eggs19:50
projekt01download-cache = D:\home\.buildout\cache19:50
mgedminthx19:50
projekt01of corse unix path rather then D:\ ;-)19:50
agroszerclass WSGIPublisherApplication(object):19:50
agroszer...19:50
agroszerrequest = publish(request, handle_errors=handle_errors)19:51
projekt01mgedmin, and you can add find-links like:19:51
projekt01find-links = http://pypi.python.org/simple/19:51
projekt01             http://download.zope.org/ppix/19:51
projekt01             http://download.zope.org/distribution/19:51
mgedmindo I want to?19:51
mgedminNO19:51
mgedmin:)19:51
mgedminStuff Should Just Work Out Of The Box(TM)19:51
pcarduneprojekt01: is this sort of documentation written down anywhere?19:51
mgedmin"works very reliably but is therefore slow" is acceptable, and I may choose to edit a config file to switch on more caching19:52
projekt01pcardune, good question19:52
mgedminI got this error:     ProtocolError: <ProtocolError for localhost/++skin++JSONRPCTestSkin/content: 599 599 No status set>19:52
agroszerthat's it!19:52
mgedminno sign of OutputRedirectingPdb?19:52
agroszerI guess without debugging it's not coming19:52
mgedmin<projekt01> It allways ends in a original error like: _OutputRedirectingPdb instance has no attribute 'do_sys'19:52
mgedmin or _OutputRedirectingPdb instance has no attribute 'do_raise19:52
mgedminhow were you trying to debug?  import pdb; pdb.set_trace() somewhere?19:53
mgedminor the -D switch?19:53
agroszeryou need to ask projekt0119:53
projekt01pcardune, I guess that's a giveway form developer to developer ;-)19:53
agroszerI'm using a different debugger19:53
projekt01mgedmin, yes import pdb; pdb.set_trace()19:54
mgedminat which point?19:54
projekt01in publisher.publish() method19:54
agroszerprojekt01: btw, bug smashed19:54
projekt01yeah, cool19:54
agroszerit was in zope.app.testing.functional19:54
agroszerit just dropped the return value of publish()19:55
projekt01agroszer, but that was only a test setup usage issue, right?19:55
projekt01could never happen in production use19:55
projekt01I see19:55
mgedminhopefully19:55
projekt01;-)19:56
agroszeryep, because the (WSGI)publisher respects the return value19:56
agroszerlet's do a quick grep...19:56
projekt01agroszer, great work!19:56
mgedminI don't even know how many publishers there are in z3 now (zpublisher, twisted, wsgi?)19:56
agroszerthanks19:56
* pcardune takes give away from projekt01 19:56
agroszerplenty19:57
projekt01pcardune, where's the next public pastebin?19:57
agroszermgedmin, do we look for tests in each?19:58
pcarduneprojekt01: ???19:58
agroszerouch, one more?: zope.server.ftp.publisher.py:19:59
agroszer        response = request.response19:59
agroszer        publish(request)19:59
agroszer        return response.getResult()19:59
mgedminfwiw I'm not the person who groks zope publishers20:00
agroszeryeah, seems like one more20:00
agroszerI don't wanna blame you :-)20:00
projekt01pcardune, just a quick help, ask if you have questions, I'm back later:20:01
projekt01http://pastebin.com/m722874ca20:01
projekt01btw, buildout will ignore lines with ";" prefixes20:03
pcarduneprojekt01: thanks20:03
*** harobed has quit IRC20:03
projekt01np, see you later20:03
*** projekt01 has quit IRC20:04
agroszerzope.app.twisted.ftp.utils.py also broken20:04
*** edgordon has joined #zope3-dev20:05
*** nathany has quit IRC20:09
*** tarek has joined #zope3-dev20:11
*** agroszer has quit IRC20:18
*** agroszer has joined #zope3-dev20:19
*** malthe has joined #zope3-dev20:31
*** tarek has quit IRC20:34
*** MJ has joined #zope3-dev20:34
*** edgordon has quit IRC20:35
*** tarek has joined #zope3-dev20:36
*** tarek has quit IRC20:39
*** ignas has quit IRC20:47
*** regebro has quit IRC20:47
*** edgordon has joined #zope3-dev20:54
*** whit has quit IRC20:58
*** danielblackburn has quit IRC20:58
*** danielblackburn has joined #zope3-dev21:01
*** danielblackburn has quit IRC21:02
*** pbugni has joined #zope3-dev21:04
*** danielblackburn has joined #zope3-dev21:04
*** danielblackburn has joined #zope3-dev21:07
*** danielblackburn has quit IRC21:08
*** MJ has quit IRC21:08
*** danielblackburn has joined #zope3-dev21:08
*** MJ has joined #zope3-dev21:10
*** MJ has quit IRC21:10
*** danielblackburn has quit IRC21:11
*** whitmo__ has joined #zope3-dev21:12
*** danielblackburn has joined #zope3-dev21:14
*** pcardune has quit IRC21:14
*** whitmo____ has joined #zope3-dev21:15
*** danielblackburn has quit IRC21:15
*** srichter has quit IRC21:15
*** whitmo_______ has joined #zope3-dev21:20
*** danielblackburn_ has joined #zope3-dev21:21
*** whit has joined #zope3-dev21:26
*** agroszer has quit IRC21:26
*** whitmo__ has quit IRC21:29
*** mgedmin has quit IRC21:29
*** whitmo____ has quit IRC21:32
*** whitmo_______ has quit IRC21:42
*** whit has quit IRC21:49
*** whit has joined #zope3-dev21:52
*** harobed has joined #zope3-dev21:56
*** dunny has joined #zope3-dev22:02
*** d2m has quit IRC22:03
*** srichter has joined #zope3-dev22:14
*** ChanServ sets mode: +o srichter22:14
*** malthe has quit IRC22:30
*** danielblackburn_ has quit IRC22:30
*** rocky has quit IRC22:31
*** danielblackburn has joined #zope3-dev22:32
*** rocky has joined #zope3-dev22:34
*** jukart has quit IRC22:34
*** tarek has joined #zope3-dev22:43
*** salfield has quit IRC22:52
*** ccomb has joined #zope3-dev23:07
*** danielblackburn has quit IRC23:09
*** danielblackburn has joined #zope3-dev23:11
*** greenman has joined #zope3-dev23:14
*** tarek has quit IRC23:16
*** afd_ has quit IRC23:16
*** alga has quit IRC23:32
*** Doc_Dan has joined #zope3-dev23:34
*** edgordon has quit IRC23:37
*** whit is now known as whit|out23:49
*** reco has quit IRC23:49

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