IRC log of #zope3-dev for Friday, 2007-01-05

*** tomus has quit IRC00:02
timteworks if I have zope.Public instead00:12
srichterhave you set an authorization header in your testbrowser?00:13
timteI don't have a testbrowser, I'm doing xmlrpc calls using xmlrpclib00:15
srichteryou still have to set the authentication header00:15
timteI get this error when doing xmlconfig.string(...) before any xmlrpc calls though00:15
timteand in that xml I have zope.View00:16
srichterthen you have to call more configuration files00:18
srichterspecifically the one defining zope.View00:18
srichterbtw, why don't you just use a functional test setup?00:18
timteI think I do, doesn't FunctionalDocFileSuite fix that?00:19
*** natea is now known as natea|away00:19
srichteryes, you should not need to load anymore ZCML after that00:20
timteI pass setUp=setUp to FunctionalDocFileSuite, but that shouldn't override the other setUp, should it?00:21
*** b_52Centos has quit IRC00:21
*** ignas has quit IRC00:22
timteI think removing zope.component.testing.setup() from my setUp fixed it00:25
srichterof course!00:25
timtethat's easy for you to say  :)00:26
srichtersetup() cleans out the component registry00:26
timteshould I be able to make xml-rpc calls to localhost:8080 in a test?00:29
srichterprobably not, since the server does not come up00:29
srichterI am pretty sure we have some XML-RPC support for functional testing though00:30
timtein the xmlrpc testing code in the zope core they use print http("""...""")00:30
*** RaFromBRC is now known as RaFromBRC|lunch00:30
srichterhttp() calls the publisher directly00:30
srichterhowever, you can do the same trick as testbrowser and register a fake HTTP handler with urllib2, and then xmlrpclib should work00:31
timtebut should I really be able to do server=xmlrpclib.Setver('http;//localhost:8080'); server.someMethod() ?00:37
srichteryep :-)00:37
srichterthe server address will be simply ignored00:38
srichterI knoew it existed already :-)00:38
srichterincluding turning error handling off in the publisher00:39
timtethere's no such package00:39
srichterI doubt that00:40
srichterit is deifnitely in the trunk00:40
*** b_52Centos has joined #zope3-dev00:40
timteok, I have 3.3.000:40
srichteryeah, it seems new :-)00:40
srichteryeah, it is on the 3.4 new features list00:41
*** jkakar has joined #zope3-dev00:41
*** d2m has quit IRC01:00
timteso I both need trunk and register a fake http handler?01:07
srichteryou need the trunk01:08
srichterthen simply use the
srichterand you are all set01:08
srichterthis particular ServerProxy does already the trick for you01:08
* timte tries this01:09
*** grahal has joined #zope3-dev01:12
*** RaFromBRC|lunch is now known as RaFromBRC01:17
*** natea|away is now known as natea01:22
*** yota has quit IRC01:34
*** harobed has quit IRC01:40
*** J1m has quit IRC01:51
*** natea has quit IRC01:59
*** reco has joined #zope3-dev02:02
*** jodok has quit IRC02:04
*** philiKON has quit IRC02:29
*** wrobel has quit IRC03:23
timteisn't that a strange _p_oid ?04:20
*** redir has joined #zope3-dev04:21
*** b_52Centos has quit IRC04:38
*** alecm has quit IRC04:39
*** b_52Centos has joined #zope3-dev04:39
*** timte has quit IRC04:44
*** stub has joined #zope3-dev04:45
*** projekt01 has joined #zope3-dev05:27
*** stu1 has joined #zope3-dev05:35
*** Bhaskar has joined #zope3-dev05:50
*** stu1 has quit IRC05:53
*** stub has quit IRC05:54
*** stub has joined #zope3-dev05:57
BhaskarI want to install Zope 3.3.0 , while ./configure is done it shows python version 2.4.3 found at /usr/bin/python, then i run python 2.4 -q build command then error: command 'gcc' failed with exit status 1, how can i install now06:03
*** jkakar has quit IRC06:31
*** baijum has joined #zope3-dev06:31
*** natea has joined #zope3-dev07:00
*** philiKON has joined #zope3-dev07:00
*** natea has quit IRC07:02
*** natea has joined #zope3-dev07:02
*** RaFromBRC has quit IRC07:30
*** b_52Centos has quit IRC07:54
*** b_52Centos has joined #zope3-dev07:55
*** philiKON has quit IRC08:01
*** eins has joined #zope3-dev08:05
*** natea has quit IRC08:21
*** alecm has joined #zope3-dev08:47
*** Bhaskar has quit IRC08:49
*** Bhaskar has joined #zope3-dev08:52
*** Bhaskar has quit IRC08:56
*** Bhaskar has joined #zope3-dev08:58
*** Bhaskar has quit IRC09:09
*** Bhaskar has joined #zope3-dev09:10
*** jkakar has joined #zope3-dev09:16
*** tgkuoZp has joined #zope3-dev09:16
*** alecm has quit IRC09:21
*** d2m has joined #zope3-dev09:34
*** dobee has joined #zope3-dev09:35
*** jodok has joined #zope3-dev09:38
*** projekt01 has quit IRC09:45
*** schwendinger has quit IRC09:48
*** HakTom has joined #zope3-dev09:49
*** schwendinger has joined #zope3-dev10:00
*** jkakar has quit IRC10:04
*** droogie has joined #Zope3-dev10:06
*** tgkuoZp has left #zope3-dev10:07
*** HakTom has quit IRC10:15
*** henri_ has joined #zope3-dev10:34
*** Bhaskar has quit IRC10:34
*** yota has joined #zope3-dev10:36
*** jfroche has joined #zope3-dev10:36
*** harobed has joined #zope3-dev10:40
*** wrobel has joined #zope3-dev10:44
*** ofer has joined #zope3-dev11:02
*** dunny has quit IRC11:06
*** ofer has quit IRC11:09
*** jinty has joined #zope3-dev11:28
*** Bhaskar has joined #zope3-dev12:08
*** jfroche has quit IRC12:31
*** faassen has joined #zope3-dev12:53
*** henri_ has quit IRC12:57
*** henri_ has joined #zope3-dev13:03
*** henri_ has quit IRC13:12
*** waa has joined #zope3-dev13:13
*** henri_ has joined #zope3-dev13:14
*** Bhaskar has quit IRC13:24
*** b_52Centos has quit IRC13:28
*** b_52Centos has joined #zope3-dev13:29
*** afd_ has joined #zope3-dev13:42
*** mgedmin has joined #zope3-dev13:44
*** jodok has quit IRC13:49
*** rocky|away is now known as rocky13:54
*** projekt01 has joined #zope3-dev13:58
*** ignas has joined #zope3-dev14:03
*** waa has quit IRC14:06
*** schwendinger has quit IRC14:15
*** rocky is now known as rocky|away14:16
*** faassen has quit IRC14:16
*** rocky|away is now known as rocky14:28
*** oferw has joined #zope3-dev14:29
*** alga has joined #zope3-dev14:50
*** stub has quit IRC14:55
*** _projekt01 has joined #zope3-dev15:01
*** ignas has quit IRC15:17
*** J1m has joined #zope3-dev15:17
*** projekt01 has quit IRC15:19
*** tomus has joined #zope3-dev15:21
*** natea has joined #zope3-dev15:22
*** natea has quit IRC15:25
* mgedmin wishes zope.component had a trivial Adapter base class with just def __init__(self.context): self.context = context15:40
*** natea has joined #zope3-dev15:43
rockymgedmin: lol, why? i hate inheriting from useless base classes ;)15:44
*** schwendinger has joined #zope3-dev15:44
mgedminI tend to write many tiny stub adapters in unit tests15:47
mgedminsometimes the __init__ nearly doubles the size of the stub15:47
*** alga has quit IRC15:59
* baijum planning to use Test layers for zope.* packages (see this patch: )16:01
* baijum When running the tests the output will be like this :
* baijum If the patch is OK, I wan to use Test layers for other packages also.16:01
*** alga has joined #zope3-dev16:02
* baijum hmm.. may be I should send a mail to zope3-dev list16:03
J1mbaijum, that's precisely the direction I want us to go.16:03
J1mA message to the list would be a good idea.16:04
*** redir has quit IRC16:06
baijumJ1m, ok16:06
*** j-w has joined #zope3-dev16:12
*** Theuni is now known as Theuni|Martijn|W16:12
*** Theuni|Martijn|W is now known as Theuni|groksprin16:12
Theuni|groksprinJ1m: martijn is going to ask you a security question in a second. He told me not to tell you.16:12
*** faassen has joined #zope3-dev16:12
faassenhi there16:12
faassenJ1m: are you there? :)16:13
faassenJ1m: remember when we talked on skype about a way to globally disable security proxy generation in Zope 3 somehow?16:13
faassenJ1m: 'cuz I don't. :)16:13
J1mIt is pretty simple.16:14
faassenJ1m: could you point theuni in the right directions for me? :)16:14
faassensorry, we're at the sprint here so I'm playing this IRC for laughs a bit.16:14
faassenbut it's a serious question nonetheless.16:14
J1mLeaving aside "untrusted code" ...16:14
faassenright, only view-level security, everything's trusted.16:14
J1mThe publication object adds the security proxies.16:15
J1mAll you need to do is to replace the publication component with a different one that does something else.16:15
*** baijum has quit IRC16:15
faassentheuni says this is pretty easy. :)16:15
faassenare there other bits that do proxy-wrapping?16:16
J1mOther people have done it before to use RDBMSs rather than the ZODB, for example.16:16
Theuni|groksprini remember some page template code to do proxying16:16
J1mThat is untrusted code support.16:16
faassenokay, so that's the stuff you were leaving aside.16:16
Theuni|groksprinAh right. We don't need that.16:16
*** Theuni|groksprin is now known as Theuni16:17
J1mif you don't use any untrusted code interpreters, then you shouldn't have a problem.16:17
Theuniand we'll notice when we do anyway ;)16:17
faassenum, are we using any of such interpreters? :)16:17
J1mOther than maybe odd application code that bothers to add proxies, typically after removing them for some reason.16:17
*** j-w has left #zope3-dev16:17
faassenI recall the resources story messed about some with proxies.16:17
* J1m shrugs16:18
TheuniNo, I think we only used checkers.16:18
faassenwe had some trouble getting it not to.16:18
* Theuni checks.16:18
faassenwe still haven't gotten it not to do so entirely, it breaks when you go beyond one directory level complaining about something being None again.16:18
faassenwe will figure this out ourselves. :)16:19
TheuniNo proxies are added by us, we just tried to make them work for us.16:19
*** eins has quit IRC16:23
*** grahal is now known as grahalAFK16:24
*** natea has quit IRC16:27
*** J1m has quit IRC16:31
*** J1m has joined #zope3-dev16:37
*** ignas has joined #zope3-dev16:48
ignashi, has anyone encountered/solved the warning problem with zope.* eggs installed in parallel with Zope3 checkout?16:49
ignasi am getting warning when running tests or the application because of files in the egg zope/ folder16:50
ignasas Zope3 already has zope module (naturally)16:50
*** natea has joined #zope3-dev16:53
*** henri_ has quit IRC16:54
*** natea has joined #zope3-dev16:55
*** reco has joined #zope3-dev16:57
*** natea has quit IRC16:58
*** natea has joined #zope3-dev17:00
*** henri_ has joined #zope3-dev17:01
*** oferw has quit IRC17:03
ignasJ1m: you being the author (according to of zope.ucol, maybe you could repackage it? It was packaged with a modified (different from the one in svn)  that wants CHANGES.txt (which is absent in the egg). Or just download it from and upload it to (hope i have packaged the svn trunk version the right way)17:03
*** jodok has joined #zope3-dev17:04
J1mignas, Have you tried the one in PyPI?17:05
ignashmm, no i haven't17:05
J1mI did some work on that a while ago.  I thought it did the right thing.17:05
J1mI know we're using it.17:05
ignasschooltool has set as the source, but i guess i can add the PyPI path to the setup i guess17:06
J1mignas, schooltool should start using buildout. :)17:06
J1mI'll note that there is reason to believe that OSA's ICU wrapper has become a lot easier to deal with since they stopped using SWIG.17:07
ignasmaybe we should, don't have much time to try out new things though ...17:07
J1mMy hope would be that maybe someday zope.ucol could go away.17:07
ignasOSA's ICU wrapper?17:07
J1mI only wrote zope.ucol because PyICU was such a PITA to install.17:08
J1mYes, PyICU.17:08
ignasi would hope zope.locales having collation information ;)17:08
* J1m double checks that,17:08
ignasit has none17:08
* ignas is looking if it's in edgy17:09
J1mPerhaps someday we can drop a lot of our own ICU support and use PyICU.17:09
ignasbecause else we need egg or svn access17:10
J1mOTOH, I haven't tried PyICU since I decided to write zope.ucol instead. :)17:10
J1mI would hope they have a sane source distro now.17:10
J1mIf they do, then it should work with easy_install and buildout17:11
ignasif we were using buildout ...17:11
ignasJ1m: any ideas about warnings the zope.* eggs?17:13
J1mI don't know what you are asking.17:14
* ignas had to package zope.html, zope.file, zope.mimetype as eggs to make schooltool setup easier (no svn co's in Makefile ...)17:14
ignasand now i am getting warnings "/home/ignas/src/schooltool-lyceum/Zope3/src/zc.i18n-0.5.1-py2.4.egg/zc/ UserWarning: Module zope was already imported from /home/ignas/src/schooltool-lyceum/Zope3/src/zope.ucol-1.0.2-py2.4-linux-i686.egg/zope/__init__.pyc, but /home/ignas/src/schooltool-lyceum/Zope3/src/zope.html-0.0.1-py2.4.egg is being added to sys.path"17:15
ignasoops, sorry wrong warning17:15
ignasoh, no, it's the rigt one17:15
ignaszope.html has zope/html/ with an in zope/, have i done something wrong while packaging them as eggs ?17:16
J1mdid you set up zope as a namespace package in each of your eggs.17:17
ignashmm, no, i think i didn't, not sure though, i have copy pasted most of the from zope.ucol egg17:18
J1mRead the setuptools documentation. :)17:19
J1mOr at least skim it.17:19
ignasok :)17:19
ignashmm, zope.ucol packaged with from zope.ucol svn is throwing the warning too ...17:20
*** jfroche has joined #zope3-dev17:24
ignasJ1m: thank's, it worked, i am not getting warnings anymore17:27
ignasi think namespace_packages=["zope"] should be added to ucol as well17:27
ignasbecause the egg in PyPI doesn't have it17:27
J1mthat's a fairly serious bug.  I'm surprised.17:28
*** jfroche has quit IRC17:30
*** grahalAFK is now known as grahal17:34
J1mignas, if you feel like fixing zope.ucol, I'd be happy to make it so youcan upload new distros to PiPy.17:35
J1m :)17:35
ignashmm, on one hand = i17:35
ignasi could do it, bt i can17:35
ignassorry for typos17:35
ignascan't tag them in the svn17:35
ignasand i am not sure eggs packaged by me would really work :)17:36
ignasi mean i have packaged my first egg today17:36
J1mI don't know when I'll get back to zope.ucol.17:37
J1mIf you happen to find time to do it sooner than me, then let me know.17:37
J1mIf not, that's fine.17:37
*** philiKON has joined #zope3-dev17:38
ignasat the moment i am using as the storage of schooltool specific "ugly packages without description because i am not the author" eggs17:38
J1mThat is your PyPI user id?17:39
ignasno that is my web space on pov server17:39
ignasi would gladly have zope.html, zope.file, zope.mimetype packaged properly, but i can't compose the description as I don't know what they do ...17:39
ignasdependency_links=['', ''] kind of works17:40
*** henri_ has left #zope3-dev17:42
*** henri_ has joined #zope3-dev17:46
*** afd_ has quit IRC17:56
*** alecm has joined #zope3-dev18:06
*** alecm has quit IRC18:07
*** grahal has quit IRC18:10
*** philiKON has quit IRC18:17
*** jkakar has joined #zope3-dev18:18
*** natea has quit IRC18:19
*** grahal has joined #zope3-dev18:20
*** natea has joined #zope3-dev18:21
*** natea has quit IRC18:24
*** philiKON has joined #zope3-dev18:34
*** droogie has quit IRC18:39
*** henri_ has quit IRC18:44
*** natea has joined #zope3-dev18:49
*** natea has quit IRC18:50
*** droogie has joined #Zope3-dev18:56
*** jfroche has joined #zope3-dev19:06
*** dobee has quit IRC19:08
*** schwendinger has quit IRC19:12
*** alecm has joined #zope3-dev19:14
*** faassen has quit IRC19:25
*** harobed has quit IRC19:28
*** natea has joined #zope3-dev19:33
*** jodok has quit IRC19:33
*** natea has quit IRC19:36
*** srichter has quit IRC19:44
*** dunny has joined #zope3-dev19:45
*** srichter has joined #zope3-dev19:48
*** ChanServ sets mode: +o srichter19:48
*** jfroche has quit IRC19:53
*** _projekt01 has left #zope3-dev20:04
*** RaFromBRC has joined #zope3-dev20:22
*** alecm has quit IRC20:28
*** alecm has joined #zope3-dev20:29
*** ignas has quit IRC20:40
*** jfroche has joined #zope3-dev20:54
*** natea has joined #zope3-dev21:06
*** droogie has quit IRC21:06
*** jodok has joined #zope3-dev21:08
*** tomus has quit IRC21:21
*** dobee has joined #zope3-dev21:41
*** schwendinger has joined #zope3-dev21:42
*** whit has quit IRC21:50
*** whit has joined #zope3-dev21:50
*** grahal has quit IRC21:56
*** whit has joined #zope3-dev22:14
*** whitmo has joined #zope3-dev22:17
*** whit has quit IRC22:32
*** rocky is now known as rocky|away22:40
*** alga has quit IRC22:46
*** oferw has joined #zope3-dev22:57
*** schwendinger_ has joined #zope3-dev23:07
*** hazmat has joined #zope3-dev23:11
*** ChanServ sets mode: +o hazmat23:11
*** schwendinger has quit IRC23:25
*** whitmo has quit IRC23:31
*** whit has joined #zope3-dev23:57

Generated by 2.15.1 by Marius Gedminas - find it at!