IRC log of #zope3-dev for Wednesday, 2008-04-23

*** reedobrien has quit IRC00:04
*** __mac__ has joined #zope3-dev00:08
*** greenman has joined #zope3-dev00:09
*** alga has quit IRC00:16
*** dobee has quit IRC00:18
*** ignas has joined #zope3-dev00:20
*** edgordon has quit IRC00:27
*** sunew has joined #zope3-dev00:32
*** sunew has quit IRC00:33
*** regebro has quit IRC00:36
*** instantf1o has joined #zope3-dev00:40
*** instantfoo has quit IRC00:40
*** gstratton has joined #zope3-dev00:42
*** MattBowen|work has left #zope3-dev00:42
*** seletz_ has quit IRC00:46
*** seletz has joined #zope3-dev00:47
whitanyone know a way to force a built to use a certain egg?00:55
whitI want to test and see if zodb trunk fixes my issue, but the app recipe forces me to use a 3.8.0b egg00:56
*** jpcw2002 has quit IRC00:58
*** jpcw2002 has joined #zope3-dev00:58
*** seletz has quit IRC01:03
*** jpcw2002 has left #zope3-dev01:11
*** benji has quit IRC01:13
*** dobee has joined #zope3-dev01:17
*** RaFromBRC|lunch is now known as RaFromBRC01:20
*** dobee has quit IRC01:29
*** nathany has quit IRC01:36
J1mwhit, you should be able to list a specific ZODB3 version in your eggs option.01:39
J1mYou can also use a develop egg.01:39
*** jsadjohnson has quit IRC01:39
*** malthe has joined #zope3-dev01:39
*** gstratton has quit IRC01:43
*** faassen has quit IRC01:45
*** sp0cksbeard has quit IRC01:47
*** malthe is now known as malthe|Zzzz01:56
whitJ1m: I've tried both of those and it tells me require version != to 43.8.0b02:03
whit3.8.0b02:03
J1mCan you share your buildout.cfg?02:04
whitsure... one sec02:04
*** lucielejard has quit IRC02:06
whitJ1m: http://almanac.opengeo.org/resource/dist/buildout.cfg02:06
whitcurrent I'm not pointing to the devel copy in src02:08
*** ignas has quit IRC02:08
whitbut I did try that too02:08
J1madd:02:08
J1m[versions]02:08
J1mZODB3 =02:08
J1m02:08
whitah!02:08
J1mThis will cancel the versions spec you're getting from grok.02:09
whitthanks J1m02:09
J1mI'm *almost* convinced that develop eggs found in the develop-eggs directory should override the versions section.02:10
J1m:)02:10
whitJ1m: someone been working on you about that one?02:10
J1mYes, Martijn02:10
*** gberdyshev has joined #zope3-dev02:11
*** J1m has quit IRC02:12
*** gstratton has joined #zope3-dev02:17
*** jamur2 has quit IRC02:22
*** alexdb has joined #zope3-dev02:28
*** quodt has quit IRC02:37
*** b52laptop has quit IRC02:37
*** instantf1o has quit IRC02:45
*** instantfoo has joined #zope3-dev02:45
*** junkafarian has quit IRC02:46
*** rmarianski has quit IRC02:51
*** salfield has quit IRC02:52
*** instantfoo has quit IRC02:53
*** jsadjohnson has joined #zope3-dev02:56
*** greenman has quit IRC02:58
*** sm has quit IRC03:02
*** jamur2 has joined #zope3-dev03:05
*** sm has joined #zope3-dev03:05
*** norro has quit IRC03:06
*** sm has quit IRC03:06
*** jamur2 has quit IRC03:06
*** sm has joined #zope3-dev03:06
*** pcardune has quit IRC03:22
*** srichter has quit IRC03:22
*** alexdb has left #zope3-dev03:37
*** pcardune has joined #zope3-dev04:00
*** derek|laptop has joined #zope3-dev04:36
*** gberdyshev has quit IRC04:37
derek|laptopwhat is the proper replacement for zExceptions.NotFound in zope3?04:38
pcardunederek|laptop: zope.publisher.interfaces.NotFound I think04:45
derek|laptopsounds right. there were multiple, so I was unsure. thanks!04:45
*** lucielejard has joined #zope3-dev04:46
*** fcorrea has left #zope3-dev04:49
*** edgordon has joined #zope3-dev04:52
derek|laptopwhy would the zope 3.3.1 svn checkout fail on an unknown directive 'role' in namespace 'zope' in 'parts/instance/etc/securitypolicy.zcml' ? That doesn't look like something I did, but I'm assuming it is and I just don't know what... the only google hit is a complaint without a resolution. :(04:52
pcardunemmm... zope 3.3.1 checkout... sounds ominous04:55
* pcardune doesn't use big zope checkout anymore04:55
derek|laptoppcardune: well, it's from the tag. I figured it should work. baby steps into the future.04:55
pcardunederek|laptop: If you are just trying to get started with Zope3, I think a better place to start would be zopeproject04:56
derek|laptopright, I'm actually just trying to get a library cleansed so that it's z3-compatible. it's close, but I just need tests to pass. not actually trying to write a zope3 application.04:57
derek|laptopso, I'm using buildout to get zope3 and the testrunner so I can test my library. a better approach would be cool.04:57
pcardunederek|laptop:04:58
pcardunederek|laptop: ah, i see.  Then I have no suggestions :/04:58
derek|laptopbummer. oh well. maybe someone else will check in. thanks!04:59
derek|laptopdoes zopeproject leave the buildout.cfg when it's done? maybe I could pirate it. ;)05:00
* derek|laptop will run zopeproject to find out, if he must, but would prefer to know before he tries05:01
pcarduneI think the answer to your question, if I understand the question correctly, is yes05:02
pcardunethat is, after running zopeproject, you will have a minimal zope application setup using some standard zope core packages, with a more or less standard buildout script.05:02
derek|laptopcool. will try. thanks.05:03
*** projekt01 has joined #zope3-dev05:13
*** RaFromBRC has quit IRC05:19
*** pcardune has left #zope3-dev05:27
*** pcardune_vm_ has joined #zope3-dev05:27
*** pcardune_vm_ is now known as pcardune05:27
*** pcardune has quit IRC05:28
*** pcardune has joined #zope3-dev05:28
*** rcrafton has quit IRC05:51
*** niemeyer has quit IRC05:55
*** srichter has joined #zope3-dev06:06
*** sm has quit IRC06:10
derek|laptopok, got that working. next problem: what package do I need to make the 'zope:subscriber' zcml directive make sense to the machine?06:18
pcardunederek|laptop: make sure zope.component meta.zcml is included06:27
derek|laptopbingo! thanks!06:31
derek|laptopis there a master reference of zcml directives -> packages? because i don't like asking one-by-one. the next one, btw, is zope:class.06:32
derek|laptop'zope3 class', btw, turned up what I assume is your website on the first hit. :)06:33
derek|laptopnm, found the apidoc06:37
*** lucielejard has quit IRC06:38
*** stub has joined #zope3-dev06:46
derek|laptopthis one has me stumped: what's up with zope.app.form.metaconfigure? http://paste.plone.org/2092606:47
*** sm has joined #zope3-dev06:53
derek|laptopd'oh. made it go away, somehow. now I'm wondering where the zmi_views module needed by zope.app.securitypolicy.browser's configure.zcml lives...06:59
*** ChanServ sets mode: +o srichter07:00
derek|laptop'Invalid value for', 'menu', "ImportError: Couldn't import zmi_views, No module named zmi_views"  --- when including the zope.app.securitypolicy configure.zcml07:04
*** redir has joined #zope3-dev07:35
*** alecm has quit IRC07:38
*** redir has quit IRC07:39
*** baijum has joined #zope3-dev07:59
*** stub has quit IRC08:00
*** dobee has joined #zope3-dev08:08
*** romanofski has quit IRC08:11
*** jayaraj has joined #zope3-dev08:15
*** jukart has joined #zope3-dev08:31
*** stub has joined #zope3-dev08:37
*** pyqwer has joined #zope3-dev08:45
*** timte has joined #zope3-dev08:48
*** hdima has joined #zope3-dev08:49
*** jodok has quit IRC09:08
*** instantfoo has joined #zope3-dev09:08
*** srichter has quit IRC09:25
*** philiKON has joined #zope3-dev09:26
*** romanofski has joined #zope3-dev09:32
*** jpcw2002 has joined #zope3-dev09:39
*** ignas has joined #zope3-dev09:40
*** philiKON_ has quit IRC09:41
*** tarek has joined #zope3-dev09:53
*** mcdonc has quit IRC10:07
*** mcdonc has joined #zope3-dev10:08
*** edgordon has quit IRC10:10
*** edgordon has joined #zope3-dev10:10
*** edgordon has quit IRC10:14
*** edgordon has joined #zope3-dev10:15
*** pcardune has quit IRC10:19
*** edgordon has quit IRC10:24
*** edgordon has joined #zope3-dev10:25
*** quodt has joined #zope3-dev10:26
*** MJ|nickcollision has joined #zope3-dev10:35
*** MJ|nickcollision is now known as MJ10:36
*** alecghica has joined #zope3-dev10:36
*** goschtl has joined #zope3-dev10:40
*** afd_ has joined #zope3-dev10:42
*** alga has joined #zope3-dev10:42
*** toutpt has joined #zope3-dev10:44
*** norro has joined #zope3-dev10:50
zagymalthe|Zzzz: I've released zope.cachedescriptor 3.4.110:52
*** seletz has joined #zope3-dev10:54
*** junkafarian has joined #zope3-dev10:55
*** gstratton has quit IRC11:11
*** mkerrin has joined #zope3-dev11:20
*** yvl has joined #zope3-dev11:21
*** yvl has left #zope3-dev11:21
*** maurits has joined #zope3-dev11:25
*** xenru has quit IRC11:30
*** xenru has joined #zope3-dev11:39
*** goschtl has quit IRC11:45
*** goschtl has joined #zope3-dev11:54
*** goschtl has quit IRC11:55
*** goschtl has joined #zope3-dev12:05
*** Subdino has quit IRC12:05
*** gstratton has joined #zope3-dev12:19
*** salfield has joined #zope3-dev12:19
*** mcdonc has quit IRC12:22
*** mcdonc has joined #zope3-dev12:22
*** mcdonc has joined #zope3-dev12:23
*** agroszer has joined #zope3-dev12:23
*** malthe|Zzzz is now known as malthe12:24
malthezagy: great12:25
*** edgordon has quit IRC12:55
*** edgordon has joined #zope3-dev12:56
*** b52laptop has joined #zope3-dev12:57
*** jodok has joined #zope3-dev13:04
*** gstratton_ has joined #zope3-dev13:11
*** gstratton has quit IRC13:11
*** jodok has quit IRC13:17
*** jodok has joined #zope3-dev13:19
*** jodok has quit IRC13:26
*** jodok has joined #zope3-dev13:27
*** jodok has quit IRC13:39
*** jodok has joined #zope3-dev13:39
*** sunew has joined #zope3-dev13:42
*** philiKON has quit IRC13:44
*** regebro has joined #zope3-dev13:47
*** gstratton has joined #zope3-dev13:51
*** gstratton_ has quit IRC13:51
*** stub has quit IRC13:51
*** J1m has joined #zope3-dev13:56
*** jodok has quit IRC13:58
*** ktwilight has joined #zope3-dev14:00
*** projekt01 has quit IRC14:00
*** redir has joined #zope3-dev14:10
*** edgordon_ has joined #zope3-dev14:13
*** faassen has joined #zope3-dev14:15
*** stub has joined #zope3-dev14:16
*** ktwilight_ has quit IRC14:16
*** mcdonc has quit IRC14:35
*** mcdonc has joined #zope3-dev14:36
*** mcdonc has quit IRC14:36
*** mcdonc has joined #zope3-dev14:36
*** edgordon has quit IRC14:37
*** MJ is now known as MJ|lunch14:37
*** gstratton_ has joined #zope3-dev14:42
*** gstratton has quit IRC14:42
*** toutpt has quit IRC14:48
*** stub has quit IRC14:59
*** dunny has quit IRC15:16
*** sunew is now known as sunew|away15:16
*** benji has joined #zope3-dev15:17
*** dunny has joined #zope3-dev15:18
*** jodok has joined #zope3-dev15:19
*** redir has quit IRC15:20
*** vimes656 has joined #zope3-dev15:23
*** MJ|lunch is now known as MJ15:38
*** gstratton_ has quit IRC15:38
*** gstratton has joined #zope3-dev15:39
*** niemeyer has joined #zope3-dev15:43
*** gstratton_ has joined #zope3-dev15:46
*** gstratton has quit IRC15:46
*** vimes656 has quit IRC15:47
*** gstratton has joined #zope3-dev15:49
*** gstratton_ has quit IRC15:49
*** afd_ has quit IRC15:51
*** toutpt has joined #zope3-dev15:54
*** vimes656 has joined #zope3-dev15:54
*** gstratton has quit IRC15:58
*** MattBowen|work has joined #zope3-dev16:02
derek|laptophow do I get the module "zmi_views" in my zope app so that zope.app.securitypolicy.browser's configure.zcml will be happy?16:12
*** sp0cksbeard has joined #zope3-dev16:12
*** harobed has joined #zope3-dev16:13
*** lucielejard has joined #zope3-dev16:17
*** mgedmin has joined #zope3-dev16:17
*** redir has joined #zope3-dev16:18
*** reedobrien has joined #zope3-dev16:20
*** gberdyshev_ has joined #zope3-dev16:22
*** jodok has quit IRC16:24
*** norro has quit IRC16:30
*** `ro has joined #zope3-dev16:31
*** rcrafton has joined #zope3-dev16:31
*** rcrafton has left #zope3-dev16:31
*** rcrafton has joined #zope3-dev16:32
*** redir has quit IRC16:36
*** reedobrien has quit IRC16:38
*** norro has joined #zope3-dev16:38
*** fcorrea has joined #zope3-dev16:39
*** avoinea has joined #zope3-dev16:48
*** mcdonc has quit IRC16:48
*** jodok has joined #zope3-dev16:49
*** mcdonc has joined #zope3-dev16:49
*** MJ has quit IRC16:50
*** vimes656 has quit IRC16:54
*** avoinea has quit IRC16:54
*** `ro has quit IRC17:01
*** redir has joined #zope3-dev17:01
*** hdima has quit IRC17:04
*** ChrisW has joined #zope3-dev17:09
*** markusleist has joined #zope3-dev17:09
ChrisWis there still a channel for Five?17:09
*** jayaraj has quit IRC17:12
*** goschtl has quit IRC17:24
*** jamur2 has joined #zope3-dev17:26
*** toutpt has quit IRC17:27
*** sunew|away is now known as sunew17:29
*** reco has joined #zope3-dev17:31
faassenChrisW: there used to be #z3-base, but I think it's semi-retired17:36
ChrisW*nods*17:38
ChrisWI think I may have a Five issue, but not sure if it is or not or where to ask...17:38
ChrisWwhat's the replacement for z3=base?17:39
*** baijum has quit IRC17:40
*** toutpt has joined #zope3-dev17:44
*** toutpt has left #zope3-dev17:45
Theuniccomb: ping17:47
faassenChrisW: I don't know whether there's a replacement. you might want to check #zope, or of course the zope-dev list.17:55
ChrisW*nods*17:55
*** timte has quit IRC17:55
*** srichter has joined #zope3-dev17:58
*** ChanServ sets mode: +o srichter18:00
*** jukart has quit IRC18:03
*** b52laptop has quit IRC18:03
*** b52laptop has joined #zope3-dev18:04
*** vimes656 has joined #zope3-dev18:11
pyqwerDoes someone know how to setup ftesting.zcml so that everything used in my zope3 environment is available for testing, such as for the real application?18:17
pyqwerPerhaps there is some magic "include"?18:17
srichterlook at z3c.form18:19
srichterI usually create an application.zcml file that is used for applications tartup (a la site.zcml)18:19
srichterI then include that file in my ftesting.zcml18:20
srichterlook at z3c.formdemo (I meant)18:20
*** ChrisW has left #zope3-dev18:21
*** whit has quit IRC18:21
pyqwerAh yes, thanks. Hmmm, there's quite a lot included here, however some bits seem to be missing. Can I perhaps simply include "site.zcml"? Or is that a bad idea?18:22
srichteryou can do this too18:23
srichterbut usually site.zcml lives outside the package structure, so it is hard to get to18:23
pyqwersrichter: If I do that, will I have everything available that I have at my running zope instance?18:23
srichterare you using eggs or a Zope 3 tar ball?18:24
pyqwerThe tarball. (Still)18:24
srichterthen you do not need to mess with layers at all18:24
srichterthe functionaldocfilesuite should load the correct ZCML file for you18:24
pyqwersrichter: Hmmm, not really, I already use that, but things like this happen: ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/mail', u'smtpMailer')18:26
srichterso the zope.sendmail meta.zcml does not seem to be loaded18:27
srichteradd this to you ftesting.zcml (should be in the root dir)18:27
*** whit has joined #zope3-dev18:27
agroszerhey srichter18:30
srichteragroszer: good mroning :-)18:30
agroszersrichter, coverage is driving me crazy18:30
*** rmarianski has joined #zope3-dev18:31
agroszerit misses stuff like imports, and declarations18:31
agroszerbut takes the code inbetween...18:32
*** jodok has quit IRC18:33
agroszerany idea what to do?18:33
pyqwersrichter: Ah, ok, it was really only the sendmail package. One other thing: Do you know if the doctest "setUp()" function is called before the registration of all the ZCML files or afterwards?18:36
pyqwerBecause, for my test I want to setup my site, whereas my setup routine has some subscribers (e.g. add SiteManager). It seems, it does not work.18:37
agroszerpyqwer, I'd bet the layer gets setup then each test is run with it's own setup+teardown18:39
srichteragroszer: no :-(18:39
srichteragroszer: it sometimes drives me crazy too18:40
*** lucielejard has quit IRC18:40
agroszer:-/18:40
srichterpyqwer: afterwards18:40
srichterpyqwer: adam is right18:40
pyqwerAh, ok, that's the reason. So I have to do the site setup in my doctest in order to work properly.18:42
srichterfor functional tests, it brings up an entire ZODB18:43
pyqwersrichter: Yes, that's what I need.18:43
srichterwhich you can access on a Python level using zope.app.testing.functional.getRootFolder()18:43
srichterotherwise you use something like zope.testbrowser to call your server18:44
pyqwerAh, ok.18:44
pyqwerBtw., I think I found a bug in the Zope3 publisher, regarding virtual hosts. What should I do?18:47
smreport it in launchpad ?18:49
*** lucielejard has joined #zope3-dev18:49
*** vimes656 has quit IRC18:49
smor ask about it here or on zope-dev list18:49
pyqwerWell, yes, but first I'd like to know if it's really a bug or if things are thought out that way.18:50
* sm nods18:50
*** pcardune has joined #zope3-dev18:50
*** dobee has quit IRC18:50
pyqwerOk, here's the problem: The request object has two list objects, "_app_names" and "_traversed_names".18:52
pyqwerI'd assume that all names such as "++lang++" and the like go into "_app_names".18:52
pyqwerThey normally do, however if I use virtual hosts, they do not. Instead, they are in the traversal stack only.18:52
pyqwerIn my case I need to assemble an URL out of _app_names and _traversed_names and redirect to it. For a virtual host scenario this fails.18:53
*** __mac__ has quit IRC18:53
pyqwerSo my question is if it's perfectly normal that application names don't go into _app_names in case of virtual hosts or if this is a bug.18:55
*** jodok has joined #zope3-dev18:57
*** quodt has quit IRC19:04
*** harobed has quit IRC19:06
*** nathany has joined #zope3-dev19:19
*** alecm has joined #zope3-dev19:20
mgedminagroszer: talk to me about test coverage19:21
agroszerhey mgedmin19:21
mgedminI've been fighting it for quite a while19:21
agroszerit's what you can read above19:22
*** rmarians` has joined #zope3-dev19:22
*** rmarianski has quit IRC19:22
agroszerskips declarations, takes code between those declarations19:22
*** quodt has joined #zope3-dev19:22
mgedminthis happens when module import happens outside coverage19:22
mgedminIIRC zope.testing used to do that in ancient times19:23
mgedminbut it should be fixed now19:23
agroszerahhh19:23
*** rmarians` is now known as rmarianski19:23
agroszerI'm doing some stuff in the script that's generated by buildout19:23
mgedminbefore invoking the test runner?19:23
mgedminthat's it then19:23
*** andres_f has joined #zope3-dev19:24
mgedminmaybe del sys.modules['my.app'] in your wrapper19:24
agroszeryep, setting some defaults and stuff19:24
mgedminto force re-import with correct coverageing19:24
mgedminbut... then your setting of defaults will get lost19:24
mgedmincan't you set up those defaults in your test fixtures?19:24
agroszerit's about using a different mysql server19:25
agroszerfirst I'll try to remove those "initialization = "19:26
agroszerlet's see what happens19:26
agroszerthanks for the pointer19:26
*** b52laptop has quit IRC19:27
*** markusleist has quit IRC19:29
*** jodok has quit IRC19:30
agroszermgedmin, that was it! thanks again19:33
*** andres has quit IRC19:40
*** jpcw2002 has left #zope3-dev19:54
*** faassen has quit IRC20:00
*** ignas has quit IRC20:02
*** seletz has quit IRC20:06
*** seletz has joined #zope3-dev20:08
*** sunew has quit IRC20:08
*** sunew has joined #zope3-dev20:09
*** jpcw2002 has joined #zope3-dev20:16
*** RaFromBRC has joined #zope3-dev20:22
*** sunew has quit IRC20:23
*** seletz has quit IRC20:26
*** ignas has joined #zope3-dev20:39
*** mkerrin has quit IRC20:43
*** fcorrea has left #zope3-dev20:48
*** tarek has quit IRC20:51
*** alecghica has quit IRC20:53
*** jodok has joined #zope3-dev20:58
*** agroszer has quit IRC20:59
*** nathany is now known as nathany_mtg21:04
*** maurits has quit IRC21:11
*** alga has quit IRC21:17
*** gberdyshev_ has quit IRC21:23
*** seletz has joined #zope3-dev21:32
*** mgedmin has quit IRC21:37
*** nathany_mtg is now known as nathany_is_watch21:38
*** nathany_is_watch is now known as nathany21:38
*** sunew has joined #zope3-dev21:50
*** sunew has quit IRC21:54
*** dunny has quit IRC21:57
*** lgs has joined #zope3-dev22:03
*** tarek has joined #zope3-dev22:04
*** tarek has left #zope3-dev22:06
*** alga has joined #zope3-dev22:06
*** jpcw2002 has quit IRC22:09
*** jpcw2002 has joined #zope3-dev22:19
*** norro_ has joined #zope3-dev22:22
*** b52laptop has joined #zope3-dev22:32
lgsdoes anybody knows what zope.app.zapi.servicenames is? I can't find it in the zope.app.zapi package but zope.app.onlinehelp is using it22:36
lgsyou can see it here: http://svn.zope.org/zope.app.onlinehelp/trunk/src/zope/app/onlinehelp/onlinehelptopic.py?rev=75349&view=auto22:37
lgsI know the Service concept was used in Zope 3.X but it was discarded long time ago. So I guess this code is a little bit rotten22:38
*** seletz has left #zope3-dev22:40
*** tarek has joined #zope3-dev22:44
*** andres_f is now known as andres22:46
*** tarek has quit IRC22:50
*** RaFromBRC has quit IRC22:54
*** RaFromBRC has joined #zope3-dev22:57
*** dunny has joined #zope3-dev22:58
*** sunew has joined #zope3-dev23:03
*** tarek has joined #zope3-dev23:25
*** norro_ has quit IRC23:27
*** pyqwer has quit IRC23:29
*** tarek has quit IRC23:32
*** norro has quit IRC23:44
*** b52lap has joined #zope3-dev23:57
*** lgs has left #zope3-dev23:57
*** b52laptop has quit IRC23:57

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