IRC log of #zope3-dev for Saturday, 2005-06-25

*** projekt01 has joined #zope3-dev00:16
*** alga has joined #zope3-dev00:20
*** andrew_m has joined #zope3-dev00:32
*** Aiste has quit IRC00:39
*** kaczordek has joined #zope3-dev00:51
*** J1m has quit IRC00:56
*** SureshZ has left #zope3-dev00:59
*** projekt01 has quit IRC01:14
*** jinty has joined #zope3-dev02:00
*** yota_ has quit IRC02:03
*** RaFromBRC has quit IRC02:54
*** jinty has quit IRC03:00
*** tvon has joined #zope3-dev03:31
*** bskahan has joined #zope3-dev04:22
*** gumpa has joined #zope3-dev05:09
*** gumpa_ has joined #zope3-dev05:24
*** gumpa__ has joined #zope3-dev05:30
*** gumpa has quit IRC05:37
*** douglasc has joined #zope3-dev05:45
*** gumpa_ has quit IRC05:48
*** douglasc has quit IRC05:54
*** bskahan has quit IRC06:07
*** tvon has quit IRC07:10
*** andrew_m has quit IRC07:10
*** alga has quit IRC07:10
*** BjornT has quit IRC07:10
*** srichter has quit IRC07:10
*** xerophyte has quit IRC07:10
*** Damascene has quit IRC07:10
*** vinsci has quit IRC07:10
*** srichter has joined #zope3-dev07:12
*** tvon has joined #zope3-dev07:12
*** andrew_m has joined #zope3-dev07:12
*** alga has joined #zope3-dev07:12
*** BjornT has joined #zope3-dev07:12
*** xerophyte has joined #zope3-dev07:12
*** Damascene has joined #zope3-dev07:12
*** vinsci has joined #zope3-dev07:12
*** irc.freenode.net sets mode: +o srichter07:12
*** xerophyte has quit IRC07:20
*** srichter has quit IRC07:20
*** Damascene has quit IRC07:20
*** BjornT has quit IRC07:20
*** vinsci has quit IRC07:20
*** alga has quit IRC07:20
*** andrew_m has quit IRC07:20
*** tvon has quit IRC07:20
*** srichter has joined #zope3-dev07:22
*** tvon has joined #zope3-dev07:22
*** andrew_m has joined #zope3-dev07:22
*** alga has joined #zope3-dev07:22
*** BjornT has joined #zope3-dev07:22
*** xerophyte has joined #zope3-dev07:22
*** Damascene has joined #zope3-dev07:22
*** vinsci has joined #zope3-dev07:22
*** irc.freenode.net sets mode: +o srichter07:22
*** tvon|x31 has joined #zope3-dev07:37
*** tvon has quit IRC07:39
*** gumpa___ has joined #zope3-dev09:05
*** gumpa__ has quit IRC09:23
*** BjornT has quit IRC10:51
*** tarek has joined #zope3-dev11:30
*** anguenot has joined #zope3-dev11:50
*** philiKON has joined #zope3-dev11:51
*** efge has joined #zope3-dev11:52
VladDracmogge11:53
*** SteveA has quit IRC11:59
*** ciphergoth has quit IRC12:13
*** ciphergoth_ has joined #zope3-dev12:13
*** kaczordek has quit IRC12:52
*** __gotcha has joined #zope3-dev13:09
*** yota has joined #zope3-dev13:30
*** lunati1 has joined #zope3-dev13:52
*** jinty has joined #zope3-dev13:59
*** lunati1 has left #zope3-dev14:02
*** J1m has joined #zope3-dev14:19
*** alga has quit IRC14:20
VladDracmogge15:16
*** jinty has quit IRC15:24
*** jinty has joined #zope3-dev15:25
*** efge has quit IRC15:36
*** philiKON has quit IRC15:41
*** zagy has quit IRC15:47
srichteranguenot: how did you install the doctest-mode?16:18
*** efge has joined #zope3-dev16:22
*** philiKON has joined #zope3-dev16:33
srichterwow, the doctest mode is very cool16:40
*** BjornT has joined #zope3-dev16:41
philiKONsrichter, yes :)16:56
VladDracheya16:56
J1mwhat is doctest-mode?17:00
philiKONJ1m, an emacs mode for doctest syntax highlighting17:06
philiKONJ1m, cvs.sourceforge.net/viewcvs.py/python-mode/python-mode/doctest-mode.el17:06
*** bskahan has joined #zope3-dev17:07
srichterJ1m: 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 comment17:18
*** projekt01 has joined #zope3-dev17:23
*** J1m has quit IRC17:23
*** __gotcha has quit IRC17:34
*** jabba2k has joined #zope3-dev17:40
jabba2khi, 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
jabba2kthe 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 closed17:46
*** bskahan has quit IRC17:47
jabba2k(or modify their content...)17:47
*** TresEquis has joined #zope3-dev17:48
jabba2kthe calling thead is one of ThreadedAsync (via register_loop_callback)17:51
srichterwell, what you want to do is to have a location based subscriber17:55
srichterto the event17:55
srichterso the subscriber should know about a content object17:55
srichterimagine you have a IRCLog object17:56
jabba2kok17:56
srichterIt has a method listen() that you subscribe as a subscriber17:56
srichterthat said, I am not sure how much work has been done in this regard17:56
srichterI am not sure how possible local subscribers are at this point17:57
jabba2khm17:57
srichterwith that I mean, you will have to do some work to get local subscribers to work17:57
srichteryou could eventually contribute this back to Zope 3 ;-)17:58
srichter(btw, it should not be that hard)17:58
srichterwe already have local adapters, so local subscribers are not much different17:58
jabba2khow 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
philiKONsrichter, J1m, a thought struck us just now18:02
philiKONsrichter, J1m, wouldn't it be good to have package-includes/*-overrides.zcml files?18:02
philiKONwould make deployment of packages that override zope3 default reigstrations a lot easier18:03
philiKONit's hard to expect site admins to go and edit overrides.zcml18:03
*** gumpa____ has joined #zope3-dev18:20
*** __gotcha has joined #zope3-dev18:24
VladDracis it somehow possible to register 'things' under a fictive dotted path that <subscriber>'s handler can handle?18:35
*** gumpa___ has quit IRC18:35
VladDracprobably not making alot of sense here :)18:35
srichterphiliKON: sure18:36
srichterjabba2k: the advantage a HTTP request has is that it has information about the object in it; i.e. the path to the object18:37
srichterthe application root is well known to the application and can be easily retrieved18:37
jabba2kah18:38
jabba2kyou talked about local adapters. who are those registered?18:38
jabba2kwho=how :P18:39
projekt01there is in the interface ITextIndex a Choice field with a vocabulray like :vocabulary=_("Interfaces"), defined.18:42
*** jinty has quit IRC18:42
projekt01why do we translate this vocabulary name?18:42
philiKONprojekt01, vocabulary names aren't translated18:52
philiKONusing _() on vocabulary names isn't actually a bug, but it doesn't buy you anything either18:52
projekt01Yes, I think so too, perhaps it's a copy/paste error from the title attribute18:52
philiKONi'd presume so18:52
projekt01I go to eat and fix it later, after testing.18:53
*** andrew_m has quit IRC18:54
*** andrew_m has joined #zope3-dev19:01
*** __gotcha has quit IRC19:55
*** SureshZ has joined #zope3-dev19:58
*** TresEquis has left #zope3-dev20:15
*** philiKON has quit IRC20:23
*** efge has quit IRC20:28
*** tarek has quit IRC20:30
*** anguenot has left #zope3-dev20:32
jabba2ksrichter: transaction.begin() (and stuff) makes me happy for now :)20:34
*** SteveA has joined #zope3-dev20:40
*** Aiste has joined #zope3-dev20:47
*** jinty has joined #zope3-dev20:50
*** Aiste has quit IRC20:56
*** Aiste has joined #zope3-dev20:56
*** Aiste has quit IRC20:58
*** jinty has quit IRC21:45
*** hazmat_ has joined #zope3-dev21:49
srichterprojekt01: its not a bug, but imagine you want to display all vocabulary names in the UI; then it might be useful to translate them21:51
*** jhauser has joined #zope3-dev21:59
*** SureshZ has quit IRC22:11
*** jhauser_ has quit IRC22:12
*** hazmat_ has quit IRC22:19
projekt01srichter, 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
projekt01Use a translated vocabulary name will end in a exception? (NotFound or something like that)22:25
srichterit is for display only22:43
srichterit will not be used for lookup22:43
projekt01Ah, for endusers, for selecting a vocabulary name. I was thinking about the apidoc.22:44
srichteryep22:44
srichterno, not apidoc, right22:44
projekt01Ok, I see22:48
*** jabba2k_ has joined #zope3-dev23:11
*** jabba2k has quit IRC23:29

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