*** projekt01 has joined #zope3-dev | 00:16 | |
*** alga has joined #zope3-dev | 00:20 | |
*** andrew_m has joined #zope3-dev | 00:32 | |
*** Aiste has quit IRC | 00:39 | |
*** kaczordek has joined #zope3-dev | 00:51 | |
*** J1m has quit IRC | 00:56 | |
*** SureshZ has left #zope3-dev | 00:59 | |
*** projekt01 has quit IRC | 01:14 | |
*** jinty has joined #zope3-dev | 02:00 | |
*** yota_ has quit IRC | 02:03 | |
*** RaFromBRC has quit IRC | 02:54 | |
*** jinty has quit IRC | 03:00 | |
*** tvon has joined #zope3-dev | 03:31 | |
*** bskahan has joined #zope3-dev | 04:22 | |
*** gumpa has joined #zope3-dev | 05:09 | |
*** gumpa_ has joined #zope3-dev | 05:24 | |
*** gumpa__ has joined #zope3-dev | 05:30 | |
*** gumpa has quit IRC | 05:37 | |
*** douglasc has joined #zope3-dev | 05:45 | |
*** gumpa_ has quit IRC | 05:48 | |
*** douglasc has quit IRC | 05:54 | |
*** bskahan has quit IRC | 06:07 | |
*** tvon has quit IRC | 07:10 | |
*** andrew_m has quit IRC | 07:10 | |
*** alga has quit IRC | 07:10 | |
*** BjornT has quit IRC | 07:10 | |
*** srichter has quit IRC | 07:10 | |
*** xerophyte has quit IRC | 07:10 | |
*** Damascene has quit IRC | 07:10 | |
*** vinsci has quit IRC | 07:10 | |
*** srichter has joined #zope3-dev | 07:12 | |
*** tvon has joined #zope3-dev | 07:12 | |
*** andrew_m has joined #zope3-dev | 07:12 | |
*** alga has joined #zope3-dev | 07:12 | |
*** BjornT has joined #zope3-dev | 07:12 | |
*** xerophyte has joined #zope3-dev | 07:12 | |
*** Damascene has joined #zope3-dev | 07:12 | |
*** vinsci has joined #zope3-dev | 07:12 | |
*** irc.freenode.net sets mode: +o srichter | 07:12 | |
*** xerophyte has quit IRC | 07:20 | |
*** srichter has quit IRC | 07:20 | |
*** Damascene has quit IRC | 07:20 | |
*** BjornT has quit IRC | 07:20 | |
*** vinsci has quit IRC | 07:20 | |
*** alga has quit IRC | 07:20 | |
*** andrew_m has quit IRC | 07:20 | |
*** tvon has quit IRC | 07:20 | |
*** srichter has joined #zope3-dev | 07:22 | |
*** tvon has joined #zope3-dev | 07:22 | |
*** andrew_m has joined #zope3-dev | 07:22 | |
*** alga has joined #zope3-dev | 07:22 | |
*** BjornT has joined #zope3-dev | 07:22 | |
*** xerophyte has joined #zope3-dev | 07:22 | |
*** Damascene has joined #zope3-dev | 07:22 | |
*** vinsci has joined #zope3-dev | 07:22 | |
*** irc.freenode.net sets mode: +o srichter | 07:22 | |
*** tvon|x31 has joined #zope3-dev | 07:37 | |
*** tvon has quit IRC | 07:39 | |
*** gumpa___ has joined #zope3-dev | 09:05 | |
*** gumpa__ has quit IRC | 09:23 | |
*** BjornT has quit IRC | 10:51 | |
*** tarek has joined #zope3-dev | 11:30 | |
*** anguenot has joined #zope3-dev | 11:50 | |
*** philiKON has joined #zope3-dev | 11:51 | |
*** efge has joined #zope3-dev | 11:52 | |
VladDrac | mogge | 11:53 |
---|---|---|
*** SteveA has quit IRC | 11:59 | |
*** ciphergoth has quit IRC | 12:13 | |
*** ciphergoth_ has joined #zope3-dev | 12:13 | |
*** kaczordek has quit IRC | 12:52 | |
*** __gotcha has joined #zope3-dev | 13:09 | |
*** yota has joined #zope3-dev | 13:30 | |
*** lunati1 has joined #zope3-dev | 13:52 | |
*** jinty has joined #zope3-dev | 13:59 | |
*** lunati1 has left #zope3-dev | 14:02 | |
*** J1m has joined #zope3-dev | 14:19 | |
*** alga has quit IRC | 14:20 | |
VladDrac | mogge | 15:16 |
*** jinty has quit IRC | 15:24 | |
*** jinty has joined #zope3-dev | 15:25 | |
*** efge has quit IRC | 15:36 | |
*** philiKON has quit IRC | 15:41 | |
*** zagy has quit IRC | 15:47 | |
srichter | anguenot: how did you install the doctest-mode? | 16:18 |
*** efge has joined #zope3-dev | 16:22 | |
*** philiKON has joined #zope3-dev | 16:33 | |
srichter | wow, the doctest mode is very cool | 16:40 |
*** BjornT has joined #zope3-dev | 16:41 | |
philiKON | srichter, yes :) | 16:56 |
VladDrac | heya | 16:56 |
J1m | what is doctest-mode? | 17:00 |
philiKON | J1m, an emacs mode for doctest syntax highlighting | 17:06 |
philiKON | J1m, cvs.sourceforge.net/viewcvs.py/python-mode/python-mode/doctest-mode.el | 17:06 |
*** bskahan has joined #zope3-dev | 17:07 | |
srichter | J1m: it is very nice, except a small bug that if "#" (the comment char) is followed by a Python keyword, then the text is not highlighted as comment | 17:18 |
*** projekt01 has joined #zope3-dev | 17:23 | |
*** J1m has quit IRC | 17:23 | |
*** __gotcha has quit IRC | 17:34 | |
*** jabba2k has joined #zope3-dev | 17:40 | |
jabba2k | hi, I have a question: how do I open a ZODB connection? I've written a simple irc bot in zope3 (local utility, twisted) and everytime it recieves some data it throws an irc event (using notify from zope.event). | 17:45 |
jabba2k | the problem is that I cannot access containers from within an event handler: ZODB.POSException.ConnectionStateError: Shouldn't load state for 0x0406 when the connection is closed | 17:46 |
*** bskahan has quit IRC | 17:47 | |
jabba2k | (or modify their content...) | 17:47 |
*** TresEquis has joined #zope3-dev | 17:48 | |
jabba2k | the calling thead is one of ThreadedAsync (via register_loop_callback) | 17:51 |
srichter | well, what you want to do is to have a location based subscriber | 17:55 |
srichter | to the event | 17:55 |
srichter | so the subscriber should know about a content object | 17:55 |
srichter | imagine you have a IRCLog object | 17:56 |
jabba2k | ok | 17:56 |
srichter | It has a method listen() that you subscribe as a subscriber | 17:56 |
srichter | that said, I am not sure how much work has been done in this regard | 17:56 |
srichter | I am not sure how possible local subscribers are at this point | 17:57 |
jabba2k | hm | 17:57 |
srichter | with that I mean, you will have to do some work to get local subscribers to work | 17:57 |
srichter | you could eventually contribute this back to Zope 3 ;-) | 17:58 |
srichter | (btw, it should not be that hard) | 17:58 |
srichter | we already have local adapters, so local subscribers are not much different | 17:58 |
jabba2k | how are those db connections handled? the http server for example must open (or get acces to) one as well, so that it can access the content for publishing...(?) | 18:01 |
philiKON | srichter, J1m, a thought struck us just now | 18:02 |
philiKON | srichter, J1m, wouldn't it be good to have package-includes/*-overrides.zcml files? | 18:02 |
philiKON | would make deployment of packages that override zope3 default reigstrations a lot easier | 18:03 |
philiKON | it's hard to expect site admins to go and edit overrides.zcml | 18:03 |
*** gumpa____ has joined #zope3-dev | 18:20 | |
*** __gotcha has joined #zope3-dev | 18:24 | |
VladDrac | is it somehow possible to register 'things' under a fictive dotted path that <subscriber>'s handler can handle? | 18:35 |
*** gumpa___ has quit IRC | 18:35 | |
VladDrac | probably not making alot of sense here :) | 18:35 |
srichter | philiKON: sure | 18:36 |
srichter | jabba2k: the advantage a HTTP request has is that it has information about the object in it; i.e. the path to the object | 18:37 |
srichter | the application root is well known to the application and can be easily retrieved | 18:37 |
jabba2k | ah | 18:38 |
jabba2k | you talked about local adapters. who are those registered? | 18:38 |
jabba2k | who=how :P | 18:39 |
projekt01 | there is in the interface ITextIndex a Choice field with a vocabulray like :vocabulary=_("Interfaces"), defined. | 18:42 |
*** jinty has quit IRC | 18:42 | |
projekt01 | why do we translate this vocabulary name? | 18:42 |
philiKON | projekt01, vocabulary names aren't translated | 18:52 |
philiKON | using _() on vocabulary names isn't actually a bug, but it doesn't buy you anything either | 18:52 |
projekt01 | Yes, I think so too, perhaps it's a copy/paste error from the title attribute | 18:52 |
philiKON | i'd presume so | 18:52 |
projekt01 | I go to eat and fix it later, after testing. | 18:53 |
*** andrew_m has quit IRC | 18:54 | |
*** andrew_m has joined #zope3-dev | 19:01 | |
*** __gotcha has quit IRC | 19:55 | |
*** SureshZ has joined #zope3-dev | 19:58 | |
*** TresEquis has left #zope3-dev | 20:15 | |
*** philiKON has quit IRC | 20:23 | |
*** efge has quit IRC | 20:28 | |
*** tarek has quit IRC | 20:30 | |
*** anguenot has left #zope3-dev | 20:32 | |
jabba2k | srichter: transaction.begin() (and stuff) makes me happy for now :) | 20:34 |
*** SteveA has joined #zope3-dev | 20:40 | |
*** Aiste has joined #zope3-dev | 20:47 | |
*** jinty has joined #zope3-dev | 20:50 | |
*** Aiste has quit IRC | 20:56 | |
*** Aiste has joined #zope3-dev | 20:56 | |
*** Aiste has quit IRC | 20:58 | |
*** jinty has quit IRC | 21:45 | |
*** hazmat_ has joined #zope3-dev | 21:49 | |
srichter | projekt01: its not a bug, but imagine you want to display all vocabulary names in the UI; then it might be useful to translate them | 21:51 |
*** jhauser has joined #zope3-dev | 21:59 | |
*** SureshZ has quit IRC | 22:11 | |
*** jhauser_ has quit IRC | 22:12 | |
*** hazmat_ has quit IRC | 22:19 | |
projekt01 | srichter, vocabulary names like named lookups, there is no need for what ever to translate it. Or what do you like to do with the translated name? | 22:25 |
projekt01 | Use a translated vocabulary name will end in a exception? (NotFound or something like that) | 22:25 |
srichter | it is for display only | 22:43 |
srichter | it will not be used for lookup | 22:43 |
projekt01 | Ah, for endusers, for selecting a vocabulary name. I was thinking about the apidoc. | 22:44 |
srichter | yep | 22:44 |
srichter | no, not apidoc, right | 22:44 |
projekt01 | Ok, I see | 22:48 |
*** jabba2k_ has joined #zope3-dev | 23:11 | |
*** jabba2k has quit IRC | 23:29 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!