*** J1m has quit IRC | 00:04 | |
*** m8 has quit IRC | 00:15 | |
*** fredvd has quit IRC | 00:34 | |
*** alexpilz1 has joined #zope | 00:35 | |
*** alexpilz has quit IRC | 00:37 | |
*** J1m has joined #zope | 00:40 | |
*** thetet has joined #zope | 00:55 | |
*** alecm has quit IRC | 01:17 | |
*** J1m has quit IRC | 01:19 | |
*** alecm has joined #zope | 01:19 | |
*** alecm has joined #zope | 01:19 | |
*** sqwishy has left #zope | 01:24 | |
*** J1m has joined #zope | 01:30 | |
*** AnneGilles has joined #zope | 01:43 | |
*** allisterb has quit IRC | 01:44 | |
*** supton has quit IRC | 01:47 | |
*** mcdonc has joined #zope | 01:55 | |
*** kiorky has quit IRC | 01:55 | |
*** thetet has quit IRC | 01:55 | |
*** _mup_ has quit IRC | 02:00 | |
*** _mup_ has joined #zope | 02:00 | |
*** mcdonc has quit IRC | 02:02 | |
*** kiorky has joined #zope | 02:02 | |
*** lahwran has joined #zope | 02:23 | |
lahwran | is 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 str | 02:24 |
---|---|---|
encolpe | yes | 02:26 |
lahwran | and uh, how would you recommend I do that? | 02:27 |
encolpe | but it's the only answer I can gie to you | 02:27 |
lahwran | oh darn | 02:27 |
encolpe | :p | 02:27 |
encolpe | time to sleep for me | 02:28 |
*** AnneGilles_ has joined #zope | 02:30 | |
*** AnneGilles has quit IRC | 02:32 | |
*** AnneGilles_ is now known as AnneGilles | 02:32 | |
*** frapell has quit IRC | 02:35 | |
*** alexpilz1 has quit IRC | 02:38 | |
*** mcdonc has joined #zope | 02:51 | |
*** J1m has quit IRC | 03:12 | |
*** AnneGilles has quit IRC | 03:20 | |
*** RichyB has quit IRC | 03:25 | |
*** mcdonc has quit IRC | 03:32 | |
*** Spanktar has quit IRC | 03:32 | |
*** tiwula has quit IRC | 03:49 | |
*** tiwula has joined #zope | 04:03 | |
*** daMaestro has quit IRC | 04:10 | |
*** dvschramm is now known as dvschramm|away | 04:31 | |
*** menesis has quit IRC | 04:36 | |
*** dvschramm|away has quit IRC | 04:38 | |
*** J1m has joined #zope | 05:09 | |
*** J1m has quit IRC | 05:23 | |
lahwran | at the end of this: http://docs.zope.org/zope.interface/human.html | 06:40 |
lahwran | why is it asking me to clean out the adapters list? | 06:40 |
lahwran | does it really expect me to add my hook to it any time I need to use my interfaces? | 06:41 |
lahwran | I was planning to put it in and leave it for the runtime of the program | 06:41 |
lahwran | wait no, that wouldn't work, because there is no way for me to say "I don't have a result" from the adapter hook | 06:42 |
lahwran | or is there | 06:42 |
lahwran | gah this is horribly under-documented | 06:42 |
lahwran | I'm considering writing my own interfaces thing just to avoid figuring this nonsense out | 06:43 |
lahwran | okay so yeah, I can return None to indicate no result, but what will registry.lookup1 do if there is no result? | 06:45 |
lahwran | oh it just returns None | 06:48 |
lahwran | wait no it throws an error | 06:48 |
lahwran | https://gist.github.com/2bac294b2649ca04b9e4 | 06:49 |
lahwran | wait no that doesn't happen if I do s.lookup1(IDerp, IFoo, '') | 06:50 |
lahwran | wtf does zope.interface.providedBy do, then? it returns an iterator, but I can't pass in a list? | 06:50 |
lahwran | this is bullshit | 06:51 |
*** River_Rat has joined #zope | 07:45 | |
*** RiverRat has quit IRC | 07:48 | |
*** tiwula has quit IRC | 07:56 | |
*** tisto has joined #zope | 08:46 | |
*** zsh has joined #zope | 08:49 | |
*** __mac__ has joined #zope | 09:03 | |
*** agroszer has joined #zope | 09:09 | |
lahwran | zope.interface.implementer is documented as implementor | 09:38 |
lahwran | http://pypi.python.org/pypi/zope.interface/3.8.0 | 09:38 |
lahwran | scroll down the changelog to 3.6.0 | 09:38 |
*** goschtl has joined #zope | 09:55 | |
*** yvl has joined #zope | 09:59 | |
*** avoinea has joined #zope | 10:04 | |
*** goschtl has quit IRC | 10:06 | |
*** MrTango has joined #zope | 10:22 | |
*** ahinki has joined #zope | 10:45 | |
*** __mac__1 has joined #zope | 10:52 | |
*** __mac__ has quit IRC | 10:55 | |
*** goschtl has joined #zope | 10:56 | |
*** ccomb has joined #zope | 11:00 | |
*** mitchell`off is now known as mitchell` | 11:19 | |
*** alexpilz has joined #zope | 11:27 | |
*** menesis has joined #zope | 11:32 | |
*** sunew has joined #zope | 11:54 | |
*** fredvd has joined #zope | 11:57 | |
*** TomBlockley has joined #zope | 12:01 | |
*** RichyB has joined #zope | 12:08 | |
*** AnneGilles has joined #zope | 12:14 | |
*** teix has joined #zope | 12:17 | |
*** clocktoplone has joined #zope | 12:29 | |
clocktoplone | can someone clarify on usage of clockserver on plone 4 | 12:29 |
betabug | clocktoplone: try #plone | 12:30 |
clocktoplone | http://pastebin.com/dbPxpSku | 12:31 |
clocktoplone | and am getting this error : ERROR ZPublisher BeforeTraverse: Error while invoking hook: "acl_users" | 12:31 |
betabug | clocktoplone: try asking in #plone | 12:32 |
clocktoplone | betabug: isn't this a zope issue? | 12:33 |
clocktoplone | zeoserver and client related if you are familiar | 12:34 |
*** goschtl has quit IRC | 12:34 | |
betabug | did the people in #plone tell you it's a zope issue? | 12:34 |
*** goschtl has joined #zope | 12:40 | |
*** fredvd has quit IRC | 12:41 | |
*** fredvd has joined #zope | 12:42 | |
*** fredvd has quit IRC | 12:44 | |
clocktoplone | betabug: they are unable to solve | 12:51 |
betabug | can 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 #zope | 12:54 | |
clocktoplone | betabug: http://pastebin.com/H6k0EL57 | 12:58 |
betabug | uhmmmm, why do you think it has anything to do with clockserver? | 13:02 |
betabug | I just see that you have a lot of imports failing | 13:02 |
clocktoplone | betabug: but why | 13:02 |
clocktoplone | i have given admin pwd | 13:02 |
betabug | is this a fresh install? | 13:02 |
*** mr_jolly has joined #zope | 13:03 | |
clocktoplone | no | 13:03 |
clocktoplone | the view http://localhost:9999/Plone/updateview is working fine . | 13:03 |
betabug | upgrade? | 13:03 |
clocktoplone | no | 13:03 |
clocktoplone | i had buildout.cfg | 13:03 |
betabug | well, no fresh install, no upgrade? what is it? | 13:03 |
clocktoplone | then i did a buildout with production.cfg for zeoserver with 2 clients | 13:04 |
clocktoplone | one client starts up fine | 13:04 |
clocktoplone | the other client which has this clock server also starts but gives error | 13:04 |
betabug | well, the buildout didn't work for that other client | 13:04 |
betabug | probably the eggs are not installed there | 13:05 |
clocktoplone | where | 13:05 |
betabug | forget about clockserver, that seems to start fine | 13:05 |
betabug | in the instance of the 2nd client | 13:05 |
clocktoplone | but client1 and client2 both have almost similar zope.conf s except for the clockserver part | 13:06 |
betabug | sorry, I don't know that buildout setup - you really should ask this stuff in #plone | 13:06 |
betabug | it's not a zope.conf issue | 13:06 |
betabug | it's a buildout issue | 13:06 |
encolpe | clocktoplone, try to launch the following in a terminal: wget http://admin:admin@localhost:9999/Plone/updateview | 13:09 |
clocktoplone | looks like that only . | 13:09 |
clocktoplone | encolpe: that works | 13:09 |
encolpe | ok | 13:09 |
clocktoplone | actually the sys.path[0:0] = part in client1 and client2 are both very different | 13:10 |
encolpe | remove bin/instance? and rerun bin/buildout | 13:11 |
*** ccomb has quit IRC | 13:13 | |
*** goschtl has quit IRC | 13:17 | |
*** clocktoplone has quit IRC | 13:19 | |
*** encolpe has quit IRC | 13:28 | |
*** encolpe has joined #zope | 13:31 | |
*** tisto is now known as tisto|lunch | 13:50 | |
*** tisto|lunch has quit IRC | 14:07 | |
*** juh has joined #zope | 14:09 | |
*** menesis has quit IRC | 14:18 | |
*** dayne has joined #zope | 14:20 | |
*** J1m has joined #zope | 14:20 | |
*** tisto|lunch has joined #zope | 14:21 | |
*** MrTango has quit IRC | 14:23 | |
*** MrTango has joined #zope | 14:45 | |
*** fredvd has joined #zope | 14:45 | |
*** ccomb has joined #zope | 15:03 | |
*** juh has quit IRC | 15:07 | |
*** encolpe has quit IRC | 15:15 | |
*** menesis has joined #zope | 15:30 | |
*** juh has joined #zope | 15:34 | |
*** benji has quit IRC | 15:58 | |
*** benji has joined #zope | 16:02 | |
*** __mac__1 has quit IRC | 16:04 | |
*** sunew has quit IRC | 16:20 | |
*** alga has quit IRC | 16:26 | |
*** thetet has joined #zope | 16:26 | |
*** frapell has joined #zope | 16:36 | |
*** blobzope has joined #zope | 16:36 | |
blobzope | i have a dictionary object . it will be regularly changing by clockserver . how do i access it from other modules? | 16:38 |
betabug | blobzope: it's stored in the db? | 16:40 |
blobzope | it in a file | 16:40 |
blobzope | like import filedict | 16:41 |
blobzope | filedict.data | 16:41 |
betabug | a file on the file system? | 16:42 |
*** do3cc has joined #zope | 16:42 | |
blobzope | yes in plone folders | 16:42 |
*** eperez has quit IRC | 16:44 | |
*** blobzope has quit IRC | 16:46 | |
*** alga has joined #zope | 16:48 | |
*** blobzope has joined #zope | 16:49 | |
blobzope | betabug : had some n/w problems | 16:49 |
betabug | ok, well, I think you want to ask in #plone or rather read up on how it's done in the plone world then | 16:50 |
betabug | it will be quite different from a stock zope solution | 16:51 |
betabug | at least I guess so :-) | 16:51 |
blobzope | what's the stock zope solution. | 16:52 |
betabug | put it into an object, put that into the db, access it from anywhere :-) | 16:53 |
*** dayne has quit IRC | 16:53 | |
blobzope | betabug: would there be security issue | 16:54 |
blobzope | can i set permissions | 16:54 |
blobzope | to be used from a particular view | 16:54 |
*** dayne has joined #zope | 16:55 | |
betabug | how about you read some books? :-) | 16:57 |
*** sp0cksbeard has quit IRC | 16:59 | |
*** sp0cksbeard has joined #zope | 16:59 | |
*** J1m has quit IRC | 17:00 | |
*** J1m has joined #zope | 17:02 | |
*** zagy1 has quit IRC | 17:04 | |
*** tisto|lunch is now known as tisto | 17:12 | |
*** dayne has quit IRC | 17:19 | |
*** agroszer has quit IRC | 17:27 | |
*** evilbungle has joined #zope | 17:38 | |
*** tiwula has joined #zope | 17:47 | |
*** andreypopp has joined #zope | 17:47 | |
*** fredvd has quit IRC | 17:49 | |
*** ahinki has quit IRC | 17:50 | |
*** andreypopp has quit IRC | 17:57 | |
*** supton has joined #zope | 18:13 | |
*** daMaestro has joined #zope | 18:14 | |
*** andreypopp has joined #zope | 18:21 | |
*** andreypopp has quit IRC | 18:22 | |
blobzope | betabug: ok i went with grok.global_utility but still the object when changed in alternate debug prompts dont change | 18:44 |
betabug | did you commit the transaction? | 18:44 |
blobzope | well the transaction is just reload(module) | 18:45 |
blobzope | did reload in one prompt. the getUtility() gave me the changed value. | 18:46 |
blobzope | in the other prompt there was no change | 18:46 |
*** supton has quit IRC | 18:51 | |
*** kosh has quit IRC | 18:53 | |
blobzope | betabug^ (incase you have highlight on and waiting for it :) ) | 18:54 |
*** kosh has joined #zope | 18:54 | |
*** ccomb has quit IRC | 18:57 | |
*** avoinea has quit IRC | 18:57 | |
*** tisto has quit IRC | 18:58 | |
*** avoinea has joined #zope | 18:58 | |
* mgedmin smells thread-local caches | 19:01 | |
*** J1m has joined #zope | 19:02 | |
mgedmin | reload() is not a very useful thing in Python | 19:02 |
mgedmin | s/useful/reliable/ | 19:02 |
*** avoinea has quit IRC | 19:02 | |
blobzope | mgedmin: i agree | 19:05 |
blobzope | but do we have anything like SetUtility and if yes can we call it by a clockserver | 19:05 |
*** Arfrever has joined #zope | 19:06 | |
*** yvl has quit IRC | 19:06 | |
mgedmin | it sounds like an incredibly bad idea to me | 19:10 |
blobzope | mgedmin : how do i periodically change my global utility | 19:13 |
*** juh has quit IRC | 19:14 | |
*** J1m has quit IRC | 19:14 | |
*** mitchell` is now known as mitchell`off | 19:21 | |
*** J1m has joined #zope | 19:26 | |
*** alga has quit IRC | 19:26 | |
*** goschtl has joined #zope | 19:28 | |
*** alexpilz has quit IRC | 19:31 | |
*** J1m has quit IRC | 19:53 | |
*** mcdonc has joined #zope | 20:18 | |
*** TomBlockley has quit IRC | 20:40 | |
*** J1m has joined #zope | 20:43 | |
*** __mac__ has joined #zope | 20:43 | |
*** MrTango has quit IRC | 20:44 | |
blobzope | how do i periodically change/set/reset global utility | 20:50 |
*** J1m has quit IRC | 20:59 | |
*** J1m has joined #zope | 21:04 | |
*** mcdonc has quit IRC | 21:04 | |
*** __mac__ has quit IRC | 21:07 | |
*** alga has joined #zope | 21:33 | |
*** mcdonc has joined #zope | 21:45 | |
*** mcdonc has quit IRC | 21:46 | |
*** J1m has quit IRC | 22:22 | |
*** J1m has joined #zope | 22:22 | |
*** frapell has quit IRC | 22:24 | |
*** frapell has joined #zope | 22:25 | |
*** frapell has joined #zope | 22:25 | |
*** blobzope has quit IRC | 22:41 | |
*** menesis has quit IRC | 22:49 | |
*** teix has quit IRC | 22:50 | |
*** J1m has joined #zope | 23:39 | |
*** River_Rat is now known as RiverRat | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!