IRC log of #zope for Friday, 2012-03-09

*** J1m has quit IRC00:04
*** m8 has quit IRC00:15
*** fredvd has quit IRC00:34
*** alexpilz1 has joined #zope00:35
*** alexpilz has quit IRC00:37
*** J1m has joined #zope00:40
*** thetet has joined #zope00:55
*** alecm has quit IRC01:17
*** J1m has quit IRC01:19
*** alecm has joined #zope01:19
*** alecm has joined #zope01:19
*** sqwishy has left #zope01:24
*** J1m has joined #zope01:30
*** AnneGilles has joined #zope01:43
*** allisterb has quit IRC01:44
*** supton has quit IRC01:47
*** mcdonc has joined #zope01:55
*** kiorky has quit IRC01:55
*** thetet has quit IRC01:55
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:00
*** mcdonc has quit IRC02:02
*** kiorky has joined #zope02:02
*** lahwran has joined #zope02:23
lahwranis this the right place to ask about zope.interface? I'm curious how best to make an adapters that work with tuple, list, dict, and str02:24
encolpeyes02:26
lahwranand uh, how would you recommend I do that?02:27
encolpebut it's the only answer I can gie to you02:27
lahwranoh darn02:27
encolpe:p02:27
encolpetime to sleep for me02:28
*** AnneGilles_ has joined #zope02:30
*** AnneGilles has quit IRC02:32
*** AnneGilles_ is now known as AnneGilles02:32
*** frapell has quit IRC02:35
*** alexpilz1 has quit IRC02:38
*** mcdonc has joined #zope02:51
*** J1m has quit IRC03:12
*** AnneGilles has quit IRC03:20
*** RichyB has quit IRC03:25
*** mcdonc has quit IRC03:32
*** Spanktar has quit IRC03:32
*** tiwula has quit IRC03:49
*** tiwula has joined #zope04:03
*** daMaestro has quit IRC04:10
*** dvschramm is now known as dvschramm|away04:31
*** menesis has quit IRC04:36
*** dvschramm|away has quit IRC04:38
*** J1m has joined #zope05:09
*** J1m has quit IRC05:23
lahwranat the end of this: http://docs.zope.org/zope.interface/human.html06:40
lahwranwhy is it asking me to clean out the adapters list?06:40
lahwrandoes it really expect me to add my hook to it any time I need to use my interfaces?06:41
lahwranI was planning to put it in and leave it for the runtime of the program06:41
lahwranwait no, that wouldn't work, because there is no way for me to say "I don't have a result" from the adapter hook06:42
lahwranor is there06:42
lahwrangah this is horribly under-documented06:42
lahwranI'm considering writing my own interfaces thing just to avoid figuring this nonsense out06:43
lahwranokay so yeah, I can return None to indicate no result, but what will registry.lookup1 do if there is no result?06:45
lahwranoh it just returns None06:48
lahwranwait no it throws an error06:48
lahwranhttps://gist.github.com/2bac294b2649ca04b9e406:49
lahwranwait no that doesn't happen if I do s.lookup1(IDerp, IFoo, '')06:50
lahwranwtf does zope.interface.providedBy do, then? it returns an iterator, but I can't pass in a list?06:50
lahwranthis is bullshit06:51
*** River_Rat has joined #zope07:45
*** RiverRat has quit IRC07:48
*** tiwula has quit IRC07:56
*** tisto has joined #zope08:46
*** zsh has joined #zope08:49
*** __mac__ has joined #zope09:03
*** agroszer has joined #zope09:09
lahwranzope.interface.implementer is documented as implementor09:38
lahwranhttp://pypi.python.org/pypi/zope.interface/3.8.009:38
lahwranscroll down the changelog to 3.6.009:38
*** goschtl has joined #zope09:55
*** yvl has joined #zope09:59
*** avoinea has joined #zope10:04
*** goschtl has quit IRC10:06
*** MrTango has joined #zope10:22
*** ahinki has joined #zope10:45
*** __mac__1 has joined #zope10:52
*** __mac__ has quit IRC10:55
*** goschtl has joined #zope10:56
*** ccomb has joined #zope11:00
*** mitchell`off is now known as mitchell`11:19
*** alexpilz has joined #zope11:27
*** menesis has joined #zope11:32
*** sunew has joined #zope11:54
*** fredvd has joined #zope11:57
*** TomBlockley has joined #zope12:01
*** RichyB has joined #zope12:08
*** AnneGilles has joined #zope12:14
*** teix has joined #zope12:17
*** clocktoplone has joined #zope12:29
clocktoplonecan someone clarify on usage of clockserver on plone 412:29
betabugclocktoplone: try #plone12:30
clocktoplonehttp://pastebin.com/dbPxpSku12:31
clocktoploneand am getting this error : ERROR ZPublisher BeforeTraverse: Error while invoking hook: "acl_users"12:31
betabugclocktoplone: try asking in #plone12:32
clocktoplonebetabug: isn't this a zope issue?12:33
clocktoplonezeoserver and client related if you are familiar12:34
*** goschtl has quit IRC12:34
betabugdid the people in #plone tell you it's a zope issue?12:34
*** goschtl has joined #zope12:40
*** fredvd has quit IRC12:41
*** fredvd has joined #zope12:42
*** fredvd has quit IRC12:44
clocktoplonebetabug: they are unable to solve12:51
betabugcan you put the full traceback on a pastebin too?12:51
betabug(I don't have much time, but I could take a quick look)12:51
*** alga has joined #zope12:54
clocktoplonebetabug: http://pastebin.com/H6k0EL5712:58
betabuguhmmmm, why do you think it has anything to do with clockserver?13:02
betabugI just see that you have a lot of imports failing13:02
clocktoplonebetabug: but why13:02
clocktoplonei have given admin pwd13:02
betabugis this a fresh install?13:02
*** mr_jolly has joined #zope13:03
clocktoploneno13:03
clocktoplonethe view http://localhost:9999/Plone/updateview is working fine .13:03
betabugupgrade?13:03
clocktoploneno13:03
clocktoplonei had buildout.cfg13:03
betabugwell, no fresh install, no upgrade? what is it?13:03
clocktoplonethen i did a buildout with production.cfg for zeoserver with 2 clients13:04
clocktoploneone client starts up fine13:04
clocktoplonethe other client which has this clock server also starts but gives error13:04
betabugwell, the buildout didn't work for that other client13:04
betabugprobably the eggs are not installed there13:05
clocktoplonewhere13:05
betabugforget about clockserver, that seems to start fine13:05
betabugin the instance of the 2nd client13:05
clocktoplonebut client1 and client2 both have almost similar zope.conf s except for the clockserver part13:06
betabugsorry, I don't know that buildout setup - you really should ask this stuff in #plone13:06
betabugit's not a zope.conf issue13:06
betabugit's a buildout issue13:06
encolpeclocktoplone, try to launch the following in a terminal: wget http://admin:admin@localhost:9999/Plone/updateview13:09
clocktoplonelooks like that only .13:09
clocktoploneencolpe: that works13:09
encolpeok13:09
clocktoploneactually the sys.path[0:0] =  part in client1 and client2 are both very different13:10
encolperemove bin/instance? and rerun bin/buildout13:11
*** ccomb has quit IRC13:13
*** goschtl has quit IRC13:17
*** clocktoplone has quit IRC13:19
*** encolpe has quit IRC13:28
*** encolpe has joined #zope13:31
*** tisto is now known as tisto|lunch13:50
*** tisto|lunch has quit IRC14:07
*** juh has joined #zope14:09
*** menesis has quit IRC14:18
*** dayne has joined #zope14:20
*** J1m has joined #zope14:20
*** tisto|lunch has joined #zope14:21
*** MrTango has quit IRC14:23
*** MrTango has joined #zope14:45
*** fredvd has joined #zope14:45
*** ccomb has joined #zope15:03
*** juh has quit IRC15:07
*** encolpe has quit IRC15:15
*** menesis has joined #zope15:30
*** juh has joined #zope15:34
*** benji has quit IRC15:58
*** benji has joined #zope16:02
*** __mac__1 has quit IRC16:04
*** sunew has quit IRC16:20
*** alga has quit IRC16:26
*** thetet has joined #zope16:26
*** frapell has joined #zope16:36
*** blobzope has joined #zope16:36
blobzopei have a dictionary object . it will be regularly changing by clockserver . how do i access it from other modules?16:38
betabugblobzope: it's stored in the db?16:40
blobzopeit in a file16:40
blobzopelike import filedict16:41
blobzopefiledict.data16:41
betabuga file on the file system?16:42
*** do3cc has joined #zope16:42
blobzopeyes in plone folders16:42
*** eperez has quit IRC16:44
*** blobzope has quit IRC16:46
*** alga has joined #zope16:48
*** blobzope has joined #zope16:49
blobzopebetabug : had some n/w problems16:49
betabugok, well, I think you want to ask in #plone or rather read up on how it's done in the plone world then16:50
betabugit will be quite different from a stock zope solution16:51
betabugat least I guess so :-)16:51
blobzopewhat's the stock zope solution.16:52
betabugput it into an object, put that into the db, access it from anywhere :-)16:53
*** dayne has quit IRC16:53
blobzopebetabug: would there be security issue16:54
blobzopecan i set permissions16:54
blobzopeto be used from a particular view16:54
*** dayne has joined #zope16:55
betabughow about you read some books? :-)16:57
*** sp0cksbeard has quit IRC16:59
*** sp0cksbeard has joined #zope16:59
*** J1m has quit IRC17:00
*** J1m has joined #zope17:02
*** zagy1 has quit IRC17:04
*** tisto|lunch is now known as tisto17:12
*** dayne has quit IRC17:19
*** agroszer has quit IRC17:27
*** evilbungle has joined #zope17:38
*** tiwula has joined #zope17:47
*** andreypopp has joined #zope17:47
*** fredvd has quit IRC17:49
*** ahinki has quit IRC17:50
*** andreypopp has quit IRC17:57
*** supton has joined #zope18:13
*** daMaestro has joined #zope18:14
*** andreypopp has joined #zope18:21
*** andreypopp has quit IRC18:22
blobzopebetabug: ok i went with grok.global_utility but still the object when changed in alternate debug prompts dont change18:44
betabugdid you commit the transaction?18:44
blobzopewell the transaction is just reload(module)18:45
blobzopedid reload in one prompt. the getUtility() gave me the changed value.18:46
blobzopein the other prompt there was no change18:46
*** supton has quit IRC18:51
*** kosh has quit IRC18:53
blobzopebetabug^ (incase you have highlight on and waiting for it :) )18:54
*** kosh has joined #zope18:54
*** ccomb has quit IRC18:57
*** avoinea has quit IRC18:57
*** tisto has quit IRC18:58
*** avoinea has joined #zope18:58
* mgedmin smells thread-local caches19:01
*** J1m has joined #zope19:02
mgedminreload() is not a very useful thing in Python19:02
mgedmins/useful/reliable/19:02
*** avoinea has quit IRC19:02
blobzopemgedmin: i agree19:05
blobzopebut do we have anything like SetUtility and if yes can we call it by a clockserver19:05
*** Arfrever has joined #zope19:06
*** yvl has quit IRC19:06
mgedminit sounds like an incredibly bad idea to me19:10
blobzopemgedmin : how do i periodically change my global utility19:13
*** juh has quit IRC19:14
*** J1m has quit IRC19:14
*** mitchell` is now known as mitchell`off19:21
*** J1m has joined #zope19:26
*** alga has quit IRC19:26
*** goschtl has joined #zope19:28
*** alexpilz has quit IRC19:31
*** J1m has quit IRC19:53
*** mcdonc has joined #zope20:18
*** TomBlockley has quit IRC20:40
*** J1m has joined #zope20:43
*** __mac__ has joined #zope20:43
*** MrTango has quit IRC20:44
blobzopehow do i periodically change/set/reset global utility20:50
*** J1m has quit IRC20:59
*** J1m has joined #zope21:04
*** mcdonc has quit IRC21:04
*** __mac__ has quit IRC21:07
*** alga has joined #zope21:33
*** mcdonc has joined #zope21:45
*** mcdonc has quit IRC21:46
*** J1m has quit IRC22:22
*** J1m has joined #zope22:22
*** frapell has quit IRC22:24
*** frapell has joined #zope22:25
*** frapell has joined #zope22:25
*** blobzope has quit IRC22:41
*** menesis has quit IRC22:49
*** teix has quit IRC22:50
*** J1m has joined #zope23:39
*** River_Rat is now known as RiverRat23:56

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