IRC log of #zope3-dev for Monday, 2009-03-02

*** rocky has quit IRC00:02
*** rocky has joined #zope3-dev00:02
*** J1m has joined #zope3-dev00:03
fcorrea_kobold: http://mail.zope.org/pipermail/zope3-users/2008-August/008151.html00:05
*** fcorrea_ is now known as fcorrea00:05
*** harobed has quit IRC00:12
*** J1m has quit IRC00:23
*** romanofski has quit IRC00:33
*** J1m has joined #zope3-dev00:58
*** J1m has quit IRC01:04
*** greenman has quit IRC01:04
*** aaronv has quit IRC01:21
*** yota has quit IRC01:28
*** greenman has joined #zope3-dev02:07
*** romanofski has joined #zope3-dev02:22
*** kaeru has joined #zope3-dev02:49
*** fcorrea has quit IRC02:55
*** troter has joined #zope3-dev03:09
*** pcardune has quit IRC04:13
*** regebro has quit IRC04:13
*** SteveA has quit IRC04:13
*** pcardune has joined #zope3-dev04:13
*** regebro has joined #zope3-dev04:13
*** SteveA has joined #zope3-dev04:13
*** redir has quit IRC04:20
*** junkafarian_ has quit IRC04:32
*** greenman has quit IRC05:04
*** greenman has joined #zope3-dev05:32
*** greenman has quit IRC06:29
*** hazmat has joined #zope3-dev06:51
*** ChanServ sets mode: +o hazmat06:51
*** hexsprite has joined #zope3-dev06:53
*** tarek_ has quit IRC06:58
*** davisagli has joined #zope3-dev07:01
*** davisagli has left #zope3-dev07:12
*** redir has joined #zope3-dev07:15
*** tarek has joined #zope3-dev07:31
*** jfkw has quit IRC07:32
*** tarek has quit IRC07:43
*** malthe has joined #zope3-dev08:09
*** jukart has joined #zope3-dev08:15
*** greenman has joined #zope3-dev08:23
*** afd_ has joined #zope3-dev08:25
*** redir has quit IRC08:29
*** zagy has joined #zope3-dev08:33
*** JaRoel|4D has quit IRC08:56
*** afd__ has joined #zope3-dev09:00
*** __mac__ has joined #zope3-dev09:06
*** basti__ has joined #zope3-dev09:09
*** afd_ has quit IRC09:18
*** pyqwer has joined #zope3-dev09:20
*** romanofski has quit IRC09:21
*** JaRoel|4D has joined #zope3-dev09:37
*** pcardune has quit IRC09:38
*** goschtl has joined #zope3-dev09:45
*** MJ has joined #zope3-dev09:51
*** zagy_ has joined #zope3-dev09:55
*** agroszer has joined #zope3-dev09:58
*** zagy has quit IRC10:00
*** goschtl has quit IRC10:02
*** goschtl has joined #zope3-dev10:04
*** philiKON has quit IRC10:06
*** afd___ has joined #zope3-dev10:21
*** El_Rolando has joined #zope3-dev10:22
*** JaRoel|4_ has joined #zope3-dev10:22
*** markusleist has quit IRC10:27
*** JaRoel|4D has quit IRC10:31
*** Theuni1 has joined #zope3-dev10:31
*** Theuni has quit IRC10:32
*** tarek has joined #zope3-dev10:34
*** harobed has joined #zope3-dev10:34
*** gc_basti has joined #zope3-dev10:35
*** basti__ has quit IRC10:35
*** mkerrin has joined #zope3-dev10:37
*** regebro has quit IRC10:37
*** regebro has joined #zope3-dev10:38
*** iham has quit IRC10:38
*** jpcw has joined #zope3-dev10:38
*** afd__ has quit IRC10:41
*** JaRoel|4_ is now known as JaRoel|4D10:41
*** baijum has joined #zope3-dev10:45
*** basti__ has joined #zope3-dev10:46
*** tarek has quit IRC10:46
*** tarek has joined #zope3-dev10:47
*** gc_basti_ has joined #zope3-dev10:49
*** gc_basti has quit IRC10:49
*** basti__ has quit IRC10:53
*** ccomb has joined #zope3-dev11:01
*** dunny has quit IRC11:01
*** menesis has joined #zope3-dev11:10
*** junkafarian_ has joined #zope3-dev11:10
*** mgedmin has joined #zope3-dev11:21
*** Aiste has joined #zope3-dev11:26
*** junkafarian_ has quit IRC11:30
*** mgedmin_ has joined #zope3-dev11:43
*** mgedmin has quit IRC11:43
*** mgedmin_ is now known as mgedmin11:43
*** MJ has quit IRC11:44
*** imgrey has joined #zope3-dev11:48
imgreyhi #zope3-dev11:48
*** tarek has quit IRC11:49
*** tarek has joined #zope3-dev11:51
imgreyis it possible to make zodb to store data in RAM ?11:51
*** tarek has quit IRC11:52
mgedminyou could use MappingStorage11:54
*** tarek has joined #zope3-dev11:57
*** menesis has quit IRC11:57
*** tarek has quit IRC11:58
*** tarek has joined #zope3-dev12:06
*** MrTopf has joined #zope3-dev12:09
*** quodt has joined #zope3-dev12:09
*** tarek has quit IRC12:10
*** tarek has joined #zope3-dev12:16
*** flox has joined #zope3-dev12:18
*** MJ has joined #zope3-dev12:40
*** MrTopf has quit IRC12:42
*** kaeru has quit IRC12:47
*** kaeru has joined #zope3-dev12:48
*** MrTopf has joined #zope3-dev12:51
*** projekt01 has joined #zope3-dev13:01
*** tarek has quit IRC13:09
*** greenman has quit IRC13:11
*** mintsauce has joined #zope3-dev13:11
*** tarek has joined #zope3-dev13:12
*** alga has joined #zope3-dev13:26
*** nyo has joined #zope3-dev13:28
*** markusleist has joined #zope3-dev13:33
*** nyo has quit IRC13:35
*** tarek has quit IRC13:46
*** agroszer has quit IRC13:50
*** aaronv has joined #zope3-dev13:51
*** agroszer has joined #zope3-dev13:51
*** ignas has joined #zope3-dev13:53
*** mintsauce has quit IRC13:56
*** hazmat has quit IRC14:12
*** hazmat has joined #zope3-dev14:14
*** ChanServ sets mode: +o hazmat14:14
*** J1m has joined #zope3-dev14:16
*** troter has quit IRC14:23
*** zagy_ is now known as zagy14:38
*** philiKON has joined #zope3-dev14:39
*** philiKON_ has joined #zope3-dev14:41
*** tarek has joined #zope3-dev14:42
*** philiKON has quit IRC14:45
*** nyo has joined #zope3-dev14:49
*** J1m has quit IRC15:03
*** malthe_ has joined #zope3-dev15:04
*** malthe has quit IRC15:04
*** J1m has joined #zope3-dev15:07
*** redir has joined #zope3-dev15:11
*** El_Rolando has quit IRC15:18
*** iham has joined #zope3-dev15:32
*** philiKON has joined #zope3-dev15:32
*** hazmat has quit IRC15:33
*** philiKON has quit IRC15:34
*** iham has quit IRC15:37
*** baijum has quit IRC15:37
*** sp0cksbeard has joined #zope3-dev15:41
*** philiKON_ has quit IRC15:49
*** gc_basti_ has quit IRC15:50
*** sp0cksbeard_ has joined #zope3-dev15:55
*** iham has joined #zope3-dev15:57
*** sunoano has quit IRC16:00
*** sp0cksbeard has quit IRC16:01
*** jamur2 has joined #zope3-dev16:02
*** sunoano has joined #zope3-dev16:04
*** hazmat has joined #zope3-dev16:05
*** ChanServ sets mode: +o hazmat16:05
*** benji has joined #zope3-dev16:06
*** jamur2_ has joined #zope3-dev16:07
*** lurkymclurkleton has joined #zope3-dev16:07
*** jamur2_ has joined #zope3-dev16:07
*** jamur2 has quit IRC16:07
*** jayaraj has joined #zope3-dev16:09
*** afd_ has joined #zope3-dev16:09
*** benji has quit IRC16:16
*** jamur2_ has quit IRC16:16
*** benji has joined #zope3-dev16:16
*** jamur2 has joined #zope3-dev16:17
*** afd___ has quit IRC16:25
*** redir_ has joined #zope3-dev16:26
*** lucielejard has joined #zope3-dev16:31
*** redir has quit IRC16:33
*** lurkymclurkleton has quit IRC16:35
*** lurkymclurkleton has joined #zope3-dev16:35
*** El_Rolando has joined #zope3-dev16:38
*** markusleist has quit IRC16:41
*** stub has joined #zope3-dev16:46
nyowho is maintaining docs.zope.org?16:54
*** __mac__ has quit IRC16:58
Theuni1nyo: jens vagelpohl17:02
nyoTheuni1: tnx17:04
*** iham has quit IRC17:12
*** jamur2 has quit IRC17:20
*** jamur2 has joined #zope3-dev17:20
imgreymgedmin, I do not see a way to use it with ZEO17:20
*** jamur2_ has joined #zope3-dev17:20
mgedminimgrey: what exactly are you trying to accomplish?17:20
*** jamur2_ has quit IRC17:21
mgedminMappingStorage is intended for throwaway data such as used for functional tests (although DemoStorage may be more convenient there)17:21
*** jamur2_ has joined #zope3-dev17:21
*** davisagli has joined #zope3-dev17:21
mgedminfrom your questions it sounds like you're reinventing memcached17:21
*** markusleist has joined #zope3-dev17:23
imgreymgedmin, right. ZODB was an option. probably it will be better to use memcache17:23
* mgedmin is, actually, surprised that you cannot use mapping storage as a zeo backend, and wonders why that is17:24
Theuni1mgedmin: usually you use mappingstorage and demostorage together17:25
Theuni1actually i think you should be able to use it with zeo17:25
imgreymgedmin, do you know how to configure zeo to use MappingStorage ?17:25
Theuni1but i've gotta run now17:25
mgedminisn't it just a matter of saying <mappingstorage /> in zeo.conf?17:25
* mgedmin not familiar with zeo configuration details, actually17:26
imgreymgedmin, seems runzeo script wont read any configuration files17:28
imgreytried with strace17:28
mgedminhm17:28
mgedminwhy do I see zeo.confs around then?17:28
mgedminwith <filestorage> in them17:29
mgedminactually, <filestorage 1>17:29
mgedminin zope.conf it's ZConfig magic that lets you use pluggable storage backends, so I wouldn't be surprised if the same thing were being used here17:29
mgedmindoes runzeo fork?  did you run strace with -f?17:30
*** nathany has joined #zope3-dev17:30
imgreymgedmin, could you pls show your zeo.conf ?17:30
imgreymgedmin, yes, with -f17:30
mgedminor does zeoctl read the .conf file and convert the settings into command-line args for runzeo?17:30
mgedminin which case <mappingstorage> is not likely to work17:30
* mgedmin doesn't have a zeo.conf, me found one in the root of his Zope 3 checkout17:30
*** menesis has joined #zope3-dev17:31
imgreythis is my zope.conf: http://dpaste.com/4634/17:32
imgreyI've found out the source of problem17:33
imgreythere's two 'runzeo' scripts. one in ./ZEO/ and another in ./ZEO/scripts/17:34
*** rocky has quit IRC17:36
*** benji has quit IRC17:36
*** rocky has joined #zope3-dev17:37
*** jamur2 has quit IRC17:37
*** jamur2_ is now known as jamur217:39
*** rocky1 has joined #zope3-dev17:42
*** benji has joined #zope3-dev17:43
*** srichter has quit IRC17:44
*** davisagli has left #zope3-dev17:46
*** srichter has joined #zope3-dev17:46
*** MJ has quit IRC17:48
*** rocky has quit IRC17:51
*** rocky1 is now known as rocky17:51
*** ChanServ sets mode: +o srichter17:57
*** tarek is now known as tarek|away18:06
*** zagy has quit IRC18:07
*** harobed has quit IRC18:10
imgreydamn18:10
imgreycould someone tell svn url of zope3 trunk ?18:10
imgrey\svn: Repository moved permanently to '/Zope3/'; please relocate\18:10
*** redir_ is now known as redir18:11
*** sp0cksbeard_ has quit IRC18:12
afd_imgrey: svn://svn.zope.org/repos/main18:14
afd_and then the svn module, Zope3/trunk18:14
imgreyafd_, thanks18:14
*** thetet has joined #zope3-dev18:18
*** Theuni1 has quit IRC18:20
*** Theuni has joined #zope3-dev18:21
*** imgrey_ has joined #zope3-dev18:23
*** cbcunc has joined #zope3-dev18:24
*** imgrey has quit IRC18:26
*** goschtl has left #zope3-dev18:31
*** alga has quit IRC18:33
*** jukart has quit IRC18:36
*** davisagli has joined #zope3-dev18:36
*** srichter has quit IRC18:37
*** srichter has joined #zope3-dev18:37
*** nyo has quit IRC18:40
*** hazmat has quit IRC18:40
*** malthe_ has quit IRC18:41
*** hazmat has joined #zope3-dev18:44
*** ChanServ sets mode: +o hazmat18:44
*** JaRoel|4D has quit IRC18:44
*** srichter has quit IRC18:46
*** srichter has joined #zope3-dev18:46
*** philiKON has joined #zope3-dev18:50
*** baijum has joined #zope3-dev18:51
*** ignas has quit IRC19:00
*** strichter has joined #zope3-dev19:04
*** afd__ has joined #zope3-dev19:05
*** jukart has joined #zope3-dev19:18
*** jukart has quit IRC19:21
*** afd_ has quit IRC19:21
*** __mac__ has joined #zope3-dev19:23
*** projekt01 has quit IRC19:24
*** zagy has joined #zope3-dev19:24
*** srichter has quit IRC19:24
*** pyqwer has quit IRC19:25
*** Aiste has quit IRC19:27
*** brandon_rhodes has joined #zope3-dev19:28
*** baijum has quit IRC19:28
*** __mac__ has quit IRC19:29
*** El_Rolando has quit IRC19:29
*** flox has quit IRC19:30
*** agroszer_ has joined #zope3-dev19:31
*** __mac__ has joined #zope3-dev19:31
*** tarek|away has quit IRC19:33
junkafariani have a BTreeContainer object with a PersistentDict attribute is there any reason for it not to be persisting?19:34
*** philiKON has quit IRC19:34
junkafariani am ensuring i do a transaction.commit() whenever changing values to be on the safe side19:34
zagyjunkafarian: wah, commit should be done by the publisher19:35
zagyjunkafarian: this should be persistent, indeed19:35
imgrey_what does this mean: """Error: no matching section defined for type='zodb', name='None'""" ?19:35
imgrey_cannot understand how to run zeo correctly19:35
imgrey_not specifying options from command line19:35
junkafariani am able to access the contents fine while the service is still running but if i restart the process it purges the data19:35
imgrey_is it even possible ?19:35
imgrey_because I haven't seen anything working19:36
zagyjunkafarian: are you using zodb just by itself?19:36
japimgrey_: do you have a correct configfile?19:36
junkafarianw/o zeo? yeah19:36
mgedminimgrey_: that error means you don't have a <zodb> section in the config file19:36
zagyjunkafarian: w/o zope?19:36
imgrey_jap, how I can check ?19:36
junkafarianwith zope19:37
junkafariantis where it gets the BTreeContainer from19:37
mgedminjunkafarian: show us the code please19:37
imgrey_mgedmin, http://dpaste.com/4701/19:37
imgrey_there's <zodb> section19:37
mgedmindpaste.com is slow19:38
mgedminstill slow19:38
mgedmineither that, or my internet died19:38
imgrey_tried to leave only this: """<zodb><mappingstorage /></zodb>"""19:38
japimgrey_: http://pastebin.com/d682b822319:38
mgedmin*tap* *tap* can anybo..19:38
imgrey_the same19:38
mgedminok, loaded ;)19:38
japis a working setup for me ;)19:38
jap(for the server)19:39
mgedminimgrey_: that looks like a zope.conf19:39
mgedminbut you said you were trying to run zeo, and not zope?19:39
junkafarianmgedmin / zagy: http://pastebin.com/d47a9648d19:39
*** jukart has joined #zope3-dev19:39
mgedminaren't threaded conversations fun?19:39
japlove it :)19:39
junkafarianmultitasking :P19:39
mgedminjunkafarian: do you know the difference between class attributes and instance attributes?19:40
mgedminlearning it will save you much headaches in the future19:40
mgedminsummary: your PersistentDict() instance is never stored, because there are no references to it from any ZODB objects19:40
imgrey_mgedmin, how to configure ZEO then ?19:40
japimgrey_: see the zeo conf i just pasted19:41
imgrey_and descript mappingstorage and filestorage19:41
mgedminthere's an indirect reference from through your btree's __class__, which itself is a non-persistent class object19:41
imgrey_jap, the thing is that I need mappingstorage19:41
mgedminimgrey_: take jap's zeo.conf, replace <blobstorage 1> with <mappingstorage 1> and see what happens19:41
junkafarianmgedmin: how do i push the attribute on the persistant instances then?19:41
mgedminjunkafarian: write a __init__ method19:41
zagyjunkafarian: __init__19:41
mgedminnever ever have mutable class attributes19:41
mgedmin(unless you really need them)19:41
imgrey_mgedmin, tried19:42
junkafarianhmmm, i see19:42
mgedminimgrey_: and?19:42
imgrey_mgedmin, I wouldnt aske if not tried19:42
imgrey_mgedmin, Error: no matching section defined for type='mappingstorage', name='None'19:42
*** pcardune has joined #zope3-dev19:42
japimgrey_: and you run it like bin/runzeo -C etc/zeo.config start ?19:42
imgrey_mgedmin, http://dpaste.com/4705/19:42
imgrey_jamur2, yes19:42
imgrey_jamur2, without 'start'19:43
japehm yep drop the start19:43
jamur2imgrey_: wrong tab completion?19:43
junkafarianmgedmin: do i need to specify the attr in the class for interface convenience?19:43
japwhat if you remove the inner mappingstorage?19:43
imgrey_jamur2, no tabs or spaces at all19:43
japimgrey_: he's probably refering to his nick being completed instead of mine19:44
mgedminjamur2: pass the messages over to jap, I think ;)19:44
mgedminjunkafarian: what?19:44
mgedminwhat does 'interface convenience' mean?19:44
imgrey_jap, without <mappingstorage /> it starts19:44
junkafarianshould i specify pending_credit_card_refs = {} in the class and then self.pending_credit_card_refs = PersistentDict()?19:44
imgrey_"""StorageServer created RW with storages: 1:RW:Mapping Storage"""19:45
mgedminjunkafarian: no19:45
imgrey_seems it started19:45
japhmm, and making the monitor-address different from the normal address?19:45
junkafarianok, will give it a go19:45
mgedminthat would be potentially dangerous even19:45
mgedminobjects loaded from old databases would get the class attribute, while new objects would each get a separate new shiny persistent dict19:46
mgedminhello, hard to debug problems19:46
imgrey_hmm. why this is not working: http://dpaste.com/4709/ ?19:46
*** agroszer has quit IRC19:46
mgedminzodb is hard19:46
imgrey_|Error: None is not an allowed name for 'zodb.storage' sections|19:46
mgedminbut pretends to be easy19:46
japimgrey_: try <filestorage 2> , that's how you give it a name19:46
mgedminno19:47
mgedminit's <$storagetype $name>19:47
mgedminI suspect imgrey found a bug19:47
junkafarianmgedmin: i need to add the attribute to an existing object?19:47
imgrey_jap, thanks19:47
imgrey_how to reference these storages fron application now ?19:47
mgedminjunkafarian: just rm Data.fs before you continue, if you can afford to do that19:48
mgedminsimplest way19:48
imgrey_here: ZEO.ClientStorage.ClientStorage(('127.0.0.1', 9100)) ?19:48
junkafarianmgedmin: i cant :P19:48
junkafarianits dev work for an existing production site19:48
mgedminthen you'll have to learn about evolution scripts19:48
mgedminI'm sure they're documented somewhere19:48
mgedminperhaps even stephan's book?19:48
mgedminyou have a schema manager already set up for your app, right?19:49
*** quodt has quit IRC19:49
junkafarianschema manager?19:49
* mgedmin digs up http://mg.pov.lt/blog/zope3-generations.html19:50
mgedminsorry, gotta go19:50
*** mgedmin has quit IRC19:50
japimgrey_: that should work19:51
japand then ......(addr=('127.0.0.1', 9100), storage='2') to get to your filestorage19:53
imgrey_jap, yes, thanks. I've figured out )19:54
imgrey_maybe it is even possible to run it in daemon mode ?19:54
japthe zeo server?19:54
imgrey_yes19:55
japyou can do that using zdaemon19:55
japthat's where my "start" came from ;)19:55
japbin/zdaemon -p "bin/runzeo -C etc/zeo.config" start19:55
japshould do the trick19:55
imgrey_canot find zdaemon in my ZODB19:57
*** sawdog has joined #zope3-dev19:57
*** MrTopf has quit IRC19:58
*** mkerrin has quit IRC20:00
*** strichter is now known as srichter20:01
*** ChanServ sets mode: +o srichter20:01
japhm, then I'm wonderig where that came from in my setup20:01
japah, there's a zdaemon egg installed in my virtual env whihc probably caused that20:02
imgrey_hmm, there's no fine zdaemon in zdaemon egg20:04
imgrey_zdaemon-2.0.220:04
japthat's the one20:04
japweird20:05
imgrey_ah, ok it has installed in /usr/bin20:05
*** pcardune has quit IRC20:07
imgrey_what is the correct way to download eggs to separate directory ?20:09
imgrey_not systems /usr/lib/python/site-packages20:09
*** __mac__ has quit IRC20:10
imgrey_zc.buildout I suppose ?20:11
*** jukart has quit IRC20:14
*** JaRoel|4D has joined #zope3-dev20:25
*** thetet has quit IRC20:26
*** iham has joined #zope3-dev20:29
*** thetet has joined #zope3-dev20:48
*** TresEquis has joined #zope3-dev20:51
*** philiKON has joined #zope3-dev20:52
*** tarek has joined #zope3-dev20:58
*** greenman has joined #zope3-dev21:01
*** flox has joined #zope3-dev21:01
*** pcardune has joined #zope3-dev21:02
*** tarek has quit IRC21:06
*** tarek has joined #zope3-dev21:12
*** dunny has joined #zope3-dev21:13
*** Theuni has quit IRC21:14
*** jukart has joined #zope3-dev21:15
*** jfkw has joined #zope3-dev21:18
*** tarek has quit IRC21:23
*** __mac__ has joined #zope3-dev21:26
*** tarek has joined #zope3-dev21:27
*** greenman has quit IRC21:36
*** agroszer_ has quit IRC21:51
*** tarek has quit IRC21:51
*** thekryz has joined #zope3-dev21:57
*** thetet has quit IRC22:00
*** jpcw has quit IRC22:01
*** tarek has joined #zope3-dev22:06
*** junkafarian has quit IRC22:07
*** jpcw has joined #zope3-dev22:09
*** afd__ has quit IRC22:13
*** __mac__ has quit IRC22:13
*** alecm has joined #zope3-dev22:15
*** jukart has quit IRC22:17
*** thekryz has quit IRC22:19
*** tarek has quit IRC22:23
*** hazmat has quit IRC22:24
*** yota has joined #zope3-dev22:27
*** jukart has joined #zope3-dev22:27
*** jukart has quit IRC22:38
*** junkafarian has joined #zope3-dev22:38
*** ktwilight__ has quit IRC22:38
*** ktwilight__ has joined #zope3-dev22:40
*** aaronv has quit IRC22:42
*** J1m has quit IRC22:43
*** ignas has joined #zope3-dev22:49
*** lucielejard has quit IRC22:51
*** regebro has quit IRC23:06
*** menesis has quit IRC23:13
*** menesis has joined #zope3-dev23:22
*** J1m has joined #zope3-dev23:28
*** replaceafill has joined #zope3-dev23:28
*** menesis has left #zope3-dev23:48
*** menesis has joined #zope3-dev23:49

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