IRC log of #zope3-dev for Wednesday, 2005-06-29

*** bradb has quit IRC00:28
*** RaFromBRC has quit IRC00:29
*** yota has quit IRC00:51
*** J1m has quit IRC00:51
*** itamar has quit IRC00:55
*** bradb has joined #zope3-dev01:06
*** SureshZ has left #zope3-dev01:10
*** bradb is now known as bradb-away01:13
*** RaFromBRC has joined #zope3-dev01:47
*** d2m has quit IRC02:58
*** stub has joined #zope3-dev04:31
*** RaFromBRC has quit IRC05:28
*** projekt01 has quit IRC05:29
*** WebMaven has quit IRC08:02
*** b3u has quit IRC09:06
*** hdima has joined #zope3-dev09:29
*** b3u has joined #zope3-dev09:39
*** yota has joined #zope3-dev09:45
*** Theuni has joined #zope3-dev09:48
*** d2m has joined #zope3-dev10:01
*** timte has joined #zope3-dev10:13
*** jhauser has joined #zope3-dev10:25
*** b3u has quit IRC10:30
*** b3u has joined #zope3-dev10:30
*** lunatik has joined #zope3-dev11:15
*** povbot has joined #zope3-dev11:30
*** andrew_m has joined #zope3-dev11:31
*** bradb-away has quit IRC11:32
*** stub has quit IRC11:32
*** Theuni has quit IRC11:32
*** Jim7J1AJH has quit IRC11:32
*** jhauser has joined #zope3-dev11:32
*** Theuni has joined #zope3-dev11:32
*** bradb-away has joined #zope3-dev11:33
*** lunatik has left #zope3-dev11:36
*** b3u has joined #zope3-dev11:37
*** Jim7J1AJH has joined #zope3-dev11:38
*** FarcePest has joined #zope3-dev11:43
*** VladDrac has joined #zope3-dev11:43
*** stub has joined #zope3-dev11:54
*** lunati1 has joined #zope3-dev12:15
*** lunati1 is now known as lunatik12:24
*** lunatik has left #zope3-dev12:48
*** mkerrin has joined #zope3-dev12:50
*** SteveA has joined #zope3-dev12:52
*** SteveA_ has joined #zope3-dev13:18
*** tarek has joined #zope3-dev13:20
*** SteveA_ has quit IRC13:20
*** tarek has quit IRC13:30
*** SteveA has quit IRC13:33
*** J1m has joined #zope3-dev13:44
*** Theuni has quit IRC13:51
*** J1m has quit IRC14:02
*** mkerrin has quit IRC14:02
*** timte has quit IRC14:02
*** yota has quit IRC14:02
*** hdima has quit IRC14:02
*** srichter has quit IRC14:02
*** tvon has quit IRC14:02
*** bcsaller has quit IRC14:02
*** BjornT has quit IRC14:02
*** Damascene has quit IRC14:02
*** vinsci has quit IRC14:02
*** FarcePest has quit IRC14:02
*** srichter has joined #zope3-dev14:02
*** J1m has joined #zope3-dev14:02
*** mkerrin has joined #zope3-dev14:02
*** timte has joined #zope3-dev14:02
*** yota has joined #zope3-dev14:02
*** hdima has joined #zope3-dev14:02
*** tvon has joined #zope3-dev14:02
*** bcsaller has joined #zope3-dev14:02
*** BjornT has joined #zope3-dev14:02
*** Damascene has joined #zope3-dev14:02
*** vinsci has joined #zope3-dev14:02
*** irc.freenode.net sets mode: +o srichter14:02
*** FarcePest has joined #zope3-dev14:03
*** andrew_m has quit IRC14:03
*** andrew_m has joined #zope3-dev14:04
*** Theuni has joined #zope3-dev14:13
*** J1m has quit IRC14:14
*** stub has quit IRC14:20
*** SteveA has joined #zope3-dev15:04
*** SteveA_ has joined #zope3-dev15:15
*** SteveA_ has quit IRC15:18
*** SteveA__ has joined #zope3-dev15:18
*** SteveA has quit IRC15:29
*** bradb-away is now known as bradb15:52
*** Theuni has quit IRC16:03
*** regebro has joined #zope3-dev16:03
*** SureshZ has joined #zope3-dev16:19
*** lunati1 has joined #zope3-dev16:38
*** SteveA__ has quit IRC16:42
*** lunati1 is now known as lunatik17:14
*** J1m has joined #zope3-dev17:26
*** lunatik has left #zope3-dev17:30
*** hdima has quit IRC17:34
*** andrew_m has quit IRC17:51
*** jhauser_ has joined #zope3-dev17:51
*** jhauser has quit IRC18:07
*** jw has joined #zope3-dev18:16
*** regebro has quit IRC18:21
*** elbixio has joined #zope3-dev18:39
*** elbixio has quit IRC18:44
*** SureshZ has left #zope3-dev18:45
*** d2m has quit IRC18:57
*** andrew_m has joined #zope3-dev19:05
*** mozillaman has joined #zope3-dev19:12
* mozillaman hugs everyone19:13
*** zagy has joined #zope3-dev19:13
mozillamanYou guys are using logs2html.py for logging, right?19:13
*** mozillaman has quit IRC19:14
*** bradb is now known as bradb-lunch19:17
*** mkerrin has quit IRC19:56
*** zagy has quit IRC19:57
*** SureshZ has joined #zope3-dev20:08
*** BjornT has quit IRC20:30
*** bradb-lunch is now known as bradb20:36
*** philiKON has joined #zope3-dev21:41
*** sidnei_ has joined #zope3-dev22:02
*** RaFromBRC has joined #zope3-dev22:20
*** jabba2k has joined #zope3-dev22:50
*** tvon has quit IRC22:54
*** sidnei_ has left #zope3-dev22:59
jabba2khow do I open a ZODB connection for a thread?  I get "ZODB.POSException.ConnectionStateError: Shouldn't load state for 0x06d2 when the connection is closed" errors all the time when trying to add stuff to a container...23:00
J1mconnection = theDB.open()23:02
J1mhow are you getting the container?23:02
philiKONhi J1m23:02
J1mhi23:02
jabba2kI have it available via annotations23:02
philiKONEP was cool23:02
J1mjabba2k, how did you get the annotations?23:03
jabba2k:)  I have a twisted reactor and irc connection object that gets called when data arrives...23:03
J1mphiliKON, I thought it went through Friday. Hm.23:04
philiKONno, monday thru wednesday23:04
J1mjabba2k, how did you get the annotations?23:04
jabba2kIAnnotations(context)23:05
jabba2kis that what you mean?23:05
J1mphiliKON, was there much discussion of the zope foundation or Z3ECM?23:05
J1mjabba2k, that's a start23:05
J1mjabba2k, where does context come from?23:05
J1mjabba2k, is this a multi-threaded app?23:06
philiKONJ1m, we had a z3 ecm panel23:06
jabba2k:)  i looked at the messageboard example and kinda copied the mail subscriber thingy, context is a Network container.. i better explain the structure of my app:23:06
philiKONJ1m, i had to leave early for the flight so i missed rob's talk on the foundation23:06
J1mphiliKON, dang23:07
philiKONJ1m, i talked to rob about it for 5 minutes though23:07
J1mphiliKON, about zf? or z3ecm?23:07
jabba2kthe connection gets data and generates an event object incl a network object, then notify'ing it with zope.event.notify. a subscriber that accesses that network object in the event and uses annotations to get a list of subscribers23:07
philiKONmost of the issues and questions were answered during the irc session anyway, though23:07
philiKONabout the zf23:07
philiKONthe z3 ecm panel was technical23:08
J1mjabba2k, are you talking about a zope app?23:09
philiKONmartijn, florent, joel burteon, stevea and me were in it; tres led it23:09
jabba2kyes, I want to create an irc bot within zope23:09
philiKONwe talked about release management, focus of z3 ecm, development cycles and methods, etc.23:09
J1mjabba2k, does this bot run in it's own thread?23:10
jabba2ki'm using ThreadedAsync.register_loop_callback23:10
J1muh23:11
J1mThat just lets you find out when someone starts the async loop.23:11
J1mjabba2k, does this bot run in it's own thread?23:11
srichterjabba2k: you should really wait for the twisted integration or use my twisted branch23:12
jabba2ki'm using twisteds  threadedselectreactor reactor, which wants a callback method. i use ThreadedAsync.register_loop_callback to get those callbacks that drive twisted23:12
jabba2ksrichter: yeah, is there a public viewcvs for your branch?23:13
J1mjabba2k, I can't believe that ThreadedAsync.register_loop_callback has anything to do with what you want, whatever that is.23:13
srichteryeah, go to svn.zope.org; go to the Zope 3 branches and look for twisted23:14
jabba2kJ1m: I need to run the twisted reactor, and as i don't wanted to create my own thread i tought i could use that ;)23:15
J1mAnyay, connections and their persistent objects cannot be shared accross th23:15
J1mdamn23:15
J1mAnyay, connections and their persistent objects cannot be shared accross threads23:15
J1mFurthermore, if you grab some persistent object you got from a web request, you can only use it in that request.23:16
J1mYou can't save it and use it in another request or outside a request.23:16
jabba2kuhh23:17
J1mIf you want to access persistent objects outside of a web request you need to open your own database connection and get the persistent object from that.23:17
jhauser_in zope-2.8 I try to get at the acquisition context in the setter method, but there seems to be no such context, is this a feature of property?23:17
srichterjhauser_: this is a Zope 3 only room23:18
philiKONsrichter, i told jhauser_ to ask j1m here23:18
jhauser_thanks23:18
J1mjhauser_, what is a setter method?23:18
jhauser_data=property(getter, setter)23:19
philiKONfoo = property(getFoo, setFoo) i presume23:19
J1mproperties don't participate in acquisition.23:20
J1m(or, pyt another way, acquisition doesn't mess with properties.23:20
J1m)23:20
jhauser_oh ok, thanks so it is not a problem in my usage23:20
*** BjornT has joined #zope3-dev23:28
*** strichter has joined #zope3-dev23:47
andrew_mis it generally possible that a custom widget can add something to the header of a page (e.g. a <script ..> tag) by filling in some slot or so?23:54
philiKONno, unfortunately not23:55
andrew_mach..23:55
philiKONa pagelet driven skin and form machinery shoudl solve that23:56
andrew_mok, i am using boston which has pagelets23:56
andrew_mthanks23:57
philiKONthen you can register a pagelet that provides some JS23:57
andrew_mok, i'll try that instead23:57

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