IRC log of #zope3-dev for Friday, 2008-04-11

*** lucielejard has quit IRC00:00
*** sm has quit IRC00:15
*** lucielejard has joined #zope3-dev00:29
*** malthe has joined #zope3-dev00:32
*** RaFromBRC is now known as RaFromBRC|lunch00:33
*** romanofski has quit IRC00:40
*** rmarianski has quit IRC00:42
*** chtp has quit IRC00:45
*** norro has quit IRC00:48
*** benji has quit IRC01:14
*** d2m has quit IRC01:16
*** dobee has quit IRC01:17
*** BjornT_ has joined #zope3-dev01:17
*** BjornT has quit IRC01:18
*** djohnson has quit IRC01:27
*** RaFromBRC|lunch is now known as RaFromBRC01:49
*** ktwilight_ has joined #zope3-dev02:06
*** harobed has quit IRC02:07
*** ktwilight has quit IRC02:20
*** J1m has quit IRC02:28
*** sm has joined #zope3-dev02:43
*** dunny has quit IRC02:44
*** sp0cksbeard has quit IRC03:01
*** b52laptop has quit IRC03:11
*** dunny has joined #zope3-dev03:17
*** malthe has quit IRC03:45
*** sm has quit IRC03:46
*** sm has joined #zope3-dev04:02
*** greenman has joined #zope3-dev04:08
*** rcrafton has quit IRC04:13
*** srichter has quit IRC04:17
*** alecm has quit IRC05:11
*** greenman has quit IRC05:35
*** RaFromBRC has quit IRC05:43
*** niemeyer has quit IRC06:04
*** rcrafton has joined #zope3-dev06:22
*** rcrafton has quit IRC06:24
*** redir has joined #zope3-dev06:50
*** redir has quit IRC06:54
*** afd_ has joined #zope3-dev07:00
*** hazmat has quit IRC07:17
*** greenman has joined #zope3-dev07:32
*** greenman has quit IRC07:36
*** kursor has joined #zope3-dev07:37
*** afd_ has quit IRC07:50
*** sm_ has joined #zope3-dev07:50
*** jukart has joined #zope3-dev07:51
*** baijum has joined #zope3-dev07:59
*** jayaraj has joined #zope3-dev08:01
*** sm has quit IRC08:14
*** afd_ has joined #zope3-dev08:45
*** jodok has joined #zope3-dev08:50
*** dobee has joined #zope3-dev08:54
*** jukart has quit IRC08:56
*** sm_ has quit IRC08:58
*** kursor has quit IRC09:03
*** zagy_ has quit IRC09:11
*** zagy has joined #zope3-dev09:11
*** timte has joined #zope3-dev09:13
*** philiKON has joined #zope3-dev09:22
*** baijum has quit IRC09:23
*** zagy_ has joined #zope3-dev09:28
*** zagy has quit IRC09:28
*** sorindregan has joined #zope3-dev09:30
*** baijum has joined #zope3-dev09:30
*** dobee has quit IRC09:32
*** dobee has joined #zope3-dev09:34
*** jukart has joined #zope3-dev09:34
*** philiKON_ has quit IRC09:37
*** quodt has joined #zope3-dev09:40
*** goschtl has joined #zope3-dev09:47
*** whit has quit IRC09:56
*** __mac__ has joined #zope3-dev09:56
*** whit has joined #zope3-dev10:27
regebroMorning all. Just a wild idea: Should there be a Zope conference?10:29
regebroI mean, there is to few Zope people at PyCon/EuroPython, and the Plone Conference is.... well. PLone.10:30
*** norro has joined #zope3-dev10:30
regebroI'm asking here before I blog about it, because maybe it's a really stupid idea for some reason. :)10:30
*** tarek has joined #zope3-dev10:33
*** kursor has joined #zope3-dev10:34
*** greenman has joined #zope3-dev10:43
*** MJ has joined #zope3-dev10:43
*** jpcw2002 has joined #zope3-dev10:45
*** alga has joined #zope3-dev10:53
*** whit has quit IRC11:03
*** maurits has joined #zope3-dev11:18
ktwilight_regebro, would be great if there's a zope conference :)11:22
baijumregebro, +1 for a "Zope Conference"11:36
regebroCool, so far so good. :)11:37
timteregebro: hmm, you added me on twitter, that is just a test twitter though, I never use it  :)11:38
regebrotimte: OK. :)11:38
regebroThat just means I won't see any updates, so. :)11:41
timteregebro: just so you don't get dissapointed when you wonder why you don't get to know what timte is doing every other hour  :)11:43
regebrono pb. :)11:43
*** toutpt has joined #zope3-dev11:45
*** pjd_ has left #zope3-dev11:59
*** malthe has joined #zope3-dev12:06
*** whit has joined #zope3-dev12:10
*** vimes656 has joined #zope3-dev12:19
*** Theuni has quit IRC12:20
*** zagy has joined #zope3-dev12:21
*** __mac___ has joined #zope3-dev12:21
*** zagy_ has quit IRC12:22
*** __mac__ has quit IRC12:22
*** Theuni has joined #zope3-dev12:25
*** timte has quit IRC12:36
*** timte has joined #zope3-dev12:37
*** b52laptop has joined #zope3-dev12:41
*** romanofski has joined #zope3-dev12:44
*** timte_ has joined #zope3-dev12:45
*** timte has quit IRC12:45
*** djohnson has joined #zope3-dev12:46
*** mkerrin has joined #zope3-dev12:50
*** salfield has joined #zope3-dev12:51
*** timte_ has quit IRC12:53
*** timte has joined #zope3-dev12:53
*** maurits has quit IRC12:58
*** tarek has quit IRC12:58
*** sorindregan has quit IRC12:58
*** alecghica has quit IRC12:58
*** tlotze has quit IRC12:58
*** djohnson has quit IRC12:58
*** goschtl has quit IRC12:58
*** philiKON has quit IRC12:58
*** jodok has quit IRC12:58
*** lisppaste6 has quit IRC12:58
*** instantfoo has quit IRC12:58
*** jfkw has quit IRC12:58
*** jfroche has quit IRC12:58
*** kursor has quit IRC12:58
*** jayaraj has quit IRC12:58
*** regebro has quit IRC12:58
*** alex_smith has quit IRC12:58
*** acsr has quit IRC12:58
*** baijum has quit IRC12:58
*** djohnson has joined #zope3-dev12:59
*** maurits has joined #zope3-dev12:59
*** kursor has joined #zope3-dev12:59
*** tarek has joined #zope3-dev12:59
*** goschtl has joined #zope3-dev12:59
*** sorindregan has joined #zope3-dev12:59
*** philiKON has joined #zope3-dev12:59
*** jodok has joined #zope3-dev12:59
*** jayaraj has joined #zope3-dev12:59
*** lisppaste6 has joined #zope3-dev12:59
*** regebro has joined #zope3-dev12:59
*** alecghica has joined #zope3-dev12:59
*** alex_smith has joined #zope3-dev12:59
*** acsr has joined #zope3-dev12:59
*** jfkw has joined #zope3-dev12:59
*** instantfoo has joined #zope3-dev12:59
*** jfroche has joined #zope3-dev12:59
*** tlotze has joined #zope3-dev12:59
*** goschtl has quit IRC13:09
*** timte_ has joined #zope3-dev13:12
*** timte has quit IRC13:13
*** timte_ has quit IRC13:18
*** timte has joined #zope3-dev13:19
*** toutpt has quit IRC13:23
*** projekt01 has joined #zope3-dev13:32
*** greenman has quit IRC13:48
*** vimes656 has quit IRC13:50
*** greenman has joined #zope3-dev13:50
*** ignas has joined #zope3-dev13:58
*** MJ is now known as MJ|lunch14:01
*** __mac___ has quit IRC14:01
*** __mac__ has joined #zope3-dev14:01
*** menesis has joined #zope3-dev14:06
*** vimes656 has joined #zope3-dev14:16
*** b52laptop has quit IRC14:16
*** b52laptop has joined #zope3-dev14:17
*** dunny has quit IRC14:20
*** zagy has quit IRC14:33
*** zagy has joined #zope3-dev14:34
*** zagy has quit IRC14:34
*** zagy has joined #zope3-dev14:35
*** zagy has quit IRC14:36
*** jpcw2002 has quit IRC14:38
*** zagy has joined #zope3-dev14:40
*** jayaraj has quit IRC14:41
*** zagy has joined #zope3-dev14:42
*** zagy has quit IRC14:42
*** zagy has joined #zope3-dev14:43
*** zagy has joined #zope3-dev14:43
*** zagy has quit IRC14:44
*** zagy has joined #zope3-dev14:44
*** jayaraj has joined #zope3-dev14:44
*** djohnson_ has joined #zope3-dev14:47
*** zagy has quit IRC14:47
*** zagy has joined #zope3-dev14:47
*** zagy has joined #zope3-dev14:48
*** redir has joined #zope3-dev14:48
*** zagy_ has joined #zope3-dev14:51
*** zagy has quit IRC14:51
*** MJ|lunch is now known as MJ14:51
*** zagy has joined #zope3-dev14:53
*** zagy_ has quit IRC14:53
*** zagy has quit IRC14:53
*** zagy has joined #zope3-dev14:54
*** zagy has quit IRC14:54
*** zagy has joined #zope3-dev14:55
*** rcrafton has joined #zope3-dev14:58
*** kursor has quit IRC14:59
*** jpcw2002 has joined #zope3-dev15:02
*** zagy_ has joined #zope3-dev15:05
*** zagy has quit IRC15:05
*** zagy_ has quit IRC15:06
*** djohnson has quit IRC15:06
*** zagy has joined #zope3-dev15:06
*** zagy has joined #zope3-dev15:07
*** afd_ has quit IRC15:08
*** zagy has quit IRC15:08
*** zagy has joined #zope3-dev15:08
*** zagy has quit IRC15:11
*** zagy has joined #zope3-dev15:12
*** zagy has quit IRC15:12
*** zagy has joined #zope3-dev15:13
*** zagy has quit IRC15:13
*** zagy has joined #zope3-dev15:14
*** benji_ has joined #zope3-dev15:14
*** zagy has quit IRC15:14
*** zagy has joined #zope3-dev15:15
*** zagy has quit IRC15:15
*** zagy has joined #zope3-dev15:16
*** zagy has quit IRC15:16
*** zagy has joined #zope3-dev15:17
*** zagy has quit IRC15:17
*** afd_ has joined #zope3-dev15:17
*** zagy has joined #zope3-dev15:18
*** zagy has quit IRC15:18
*** zagy has joined #zope3-dev15:18
*** zagy has quit IRC15:19
*** zagy has joined #zope3-dev15:19
*** zagy has quit IRC15:20
*** zagy has joined #zope3-dev15:20
*** zagy has quit IRC15:21
*** zagy has joined #zope3-dev15:21
*** zagy_ has joined #zope3-dev15:23
*** zagy has quit IRC15:23
*** zagy_ has quit IRC15:23
*** niemeyer has joined #zope3-dev15:24
*** zagy has joined #zope3-dev15:24
*** zagy has quit IRC15:24
*** zagy has joined #zope3-dev15:25
*** zagy has joined #zope3-dev15:26
*** zagy has joined #zope3-dev15:27
*** zagy has quit IRC15:27
*** zagy has joined #zope3-dev15:28
*** zagy has joined #zope3-dev15:28
*** zagy has joined #zope3-dev15:29
*** zagy has joined #zope3-dev15:30
*** zagy has joined #zope3-dev15:31
*** djohnson_ has quit IRC15:34
*** zagy has quit IRC15:34
*** zagy has joined #zope3-dev15:34
*** zagy has quit IRC15:34
*** zagy has joined #zope3-dev15:35
*** zagy has joined #zope3-dev15:36
benji_zagy, you seem to be having problems :)15:36
*** zagy has quit IRC15:36
*** benji_ is now known as benji15:37
*** zagy has joined #zope3-dev15:37
zagyargh15:38
*** zagy has quit IRC15:38
*** zagy has joined #zope3-dev15:39
zagyhope that's stable now :/15:39
zagysorry for the traffic15:39
benjiheh; no problem15:40
*** yvl has joined #zope3-dev15:42
*** greenman has quit IRC15:48
jayarajhi guys is there any way to know in which .fs (or the zodb name) an object is stored? i am in the middle of a prototype illustrating the multiple db files in zope3...15:49
*** djohnson has joined #zope3-dev15:50
*** dobee has quit IRC15:51
timtejayaraj: do you use zeo?15:52
jayarajnope15:52
jayarajand wot if i use zeo?15:52
timteout of the box zope only uses one Data.fs file15:53
timtedo you use mount points?15:53
*** J1m has joined #zope3-dev15:54
jayarajAFAIK  in zope3 we dont need mount points15:54
jayarajits a zope2 thing15:54
timtejayaraj: then, what .fs are you talking about?15:54
jayaraji have configured another in my zope.conf15:55
jayarajlike...15:55
jayarajoh currently i am using zeo... thats right15:56
jayarajbut i need to try multiple .fs without zeo15:57
timtewithout zeo you can only have one15:58
jayarajtimte are you sure? :(15:58
timtejayaraj: what are you trying to achieve?15:59
jayarajmy plan is to get rid of zeo... and will be using the data.fs over nfs15:59
bigkevmcdto what benefit?16:00
jayarajfault tolerance!16:00
benjijayaraj: that... will likely be painful16:00
benjias to your original question, here's how you find the name of the DB an object is stored in: obj._p_jar.db().database_name16:01
jayarajeven if we have identical multiple zeo clients zeo server is a one point16:02
*** jsadjohnson has joined #zope3-dev16:02
*** mgedmin has joined #zope3-dev16:02
jayarajyea i have been looking at persistance module.. so i was in the right dirrection thank you benji16:03
timteI'm not sure what solutions there are for fault tolerance. But perhaps geocept.ZEORaid would be something.16:05
benjijayaraj: if you need hot backups of your ZODB(s), you should look into ZRS and (the still very, very new) zeoraid16:05
benjijayaraj: oh, and there's the ever-popular rsync-the-Data.fs-once-in-a-while16:07
jayaraji am looking for the options i can have16:08
bigkevmcdI guess it's not for very big Data.fs files?16:08
jayarajand dont you feel ... that a zeo server is vulnerable to crash ?16:09
benjijayaraj: no more (or less) than any other machine; that's why I use ZRS ;)16:09
timteof course it is, but it's very rare and you take backups16:09
timteand if you cache most of your pages anonymous will see your site even if the backend is down16:10
timteso you need to have high demands if you need to replicate16:10
benjibigkevmcd: rsync?  I don't use it much so don't know much about its limitations, just including it because I hear of people using it for this purpose16:11
bigkevmcdrsync is great16:11
bigkevmcdbut, loading large Data.fs files over NFS wouldn't be much fun16:11
jayarajZRS is not open source!16:11
ktwilight_bigkevmcd, why's that?16:11
benjibigkevmcd: regarding NFS, very true16:11
*** afd_ has quit IRC16:12
benjijayaraj: I know, my company sells it ;)16:12
jayaraj:)16:12
jayarajwhy NFS is not good to handle big D.fs16:14
timtetakes forever16:15
zagyjayaraj: also, how would you let multiple zope clients use the data.fs?16:15
timtecopying data over network takes a while, even copying on the harddirsk is slow16:15
ktwilight_timte, on a 100mbit port? any optimisations made?16:15
jayarajyea i see some locking problems...16:16
bigkevmcdZEO handles the locking for you16:16
jayarajyea thats right16:17
*** jukart has quit IRC16:17
* zagy still wonders what the problem with zeo is16:17
zagyI even use zeo if the database is on the very same server16:17
jayarajzagy how can we assure fault tolerance with one instances of zeo server16:20
zagyhow can we assure fault tolerance with one instance of nfs server?16:20
jayarajbingo ..good questine16:21
bigkevmcdthis sounds like a brave attempt at overarchitecting a solution16:21
ktwilight_nfs is just a simple system that has many shortcomings16:22
ktwilight_our goal is to build a cluster as a failover solution. nfs doesn't provide it per se, but glusterfs (a system similar to nfs) can be the solution, and that's what we are trying to test16:23
jayarajwell let us be optimistic...is there any way to have multiple zeo server to handle same data.fs16:23
zagyyou *can't* use multiple zopes on one data.fs at teh same time16:23
zagyfor fault tolerance there use ZRS or try zeoraid16:23
zagyor just make frequent backups with a hotfailover16:24
ktwilight_yup, those are definitely considered.16:24
bigkevmcdktwilight_: are you and jayaraj working on the same thing?16:24
ktwilight_bigkevmcd, yup ;)16:24
bigkevmcdahhh...16:25
jayarajyea16:25
jayaraj:)16:25
bigkevmcdI'd setup a failover Zeo server, that was synchronising the data.fs from the primary zeo server16:25
bigkevmcduse a shared-ip, and have the zeo clients connect to that16:25
*** jodok has quit IRC16:26
jayarajthat sounds good16:26
*** jodok has joined #zope3-dev16:26
benjiyou can specify more than one zeo server for a DB and all will be tried, no need for shared IP16:27
ktwilight_benji, yup, that's also considered16:27
jayarajbut syncing is expensive when the db is large16:27
*** lucielejard has joined #zope3-dev16:28
benjitrue, moving lots of data is expensive; it's best to keep it continuously synced16:29
ktwilight_:)16:29
bigkevmcdjayaraj: rsync minimises the data16:29
jayarajmmm16:29
timteso you should go with ZRS, right benji?  :)16:29
benjitimte: if I had important data and even a little bit of money16:30
bigkevmcdif you've got the budget, a shared disk would be good, as long as the secondary zeo server does a STONITH16:30
*** thruflo has joined #zope3-dev16:31
*** lucielejard has quit IRC16:31
jayarajso syncronization is the only way.... and we may need to come up with an effective soln for that....16:40
benji"only" is a strong word, but without knowing much more about your needs, it's the most obvious thing to do16:43
*** rcrafton has quit IRC16:46
ktwilight_benji, spot on :)16:48
bigkevmcdHow big is the Data.fs currently?16:48
ktwilight_we havent got that far yet, but we are expecting over 500GB16:50
bigkevmcdBased upon what metrics?16:51
ktwilight_on the metrics that we've found, of course.16:52
*** lucielejard has joined #zope3-dev16:52
benjiheh16:52
ktwilight_we'll be harvesting a lot of data, it's part of our needs16:52
ktwilight_maybe we are over-estimating, but we should at least be prepared, rather than sitting in the dark hitting walls in the future.16:53
benjiktwilight_: if any of the individual data items are going to be very large, you'll probably want to check out the blob support in the up-coming ZODB 3.9 release16:53
ktwilight_hence the whole experiments that we are doing.16:53
J1mbenji, blobs are available in 3.8.16:54
ktwilight_benji, great! thanks for the heads up :)16:54
benjiJ1m: oh, really? didn't know16:54
J1myes16:54
benjioh, I'm thinking of the new pack code16:54
*** djohnson has quit IRC16:54
*** __mac__ has quit IRC16:55
ktwilight_another main concern is, it's possible that zodb will not be able to cater to our needs for metadata storage and proecssing. which we may need to use other database types like vertica16:56
ktwilight_so yea, lots of considerations are in the pipeline :)16:57
*** rcrafton has joined #zope3-dev17:04
*** hazmat has joined #zope3-dev17:07
*** ChanServ sets mode: +o hazmat17:07
*** redir has quit IRC17:13
*** zagy has quit IRC17:20
*** zagy has joined #zope3-dev17:20
*** menesis has quit IRC17:25
*** toutpt has joined #zope3-dev17:26
*** edgordon has quit IRC17:27
*** sorindregan has quit IRC17:32
*** MJ has quit IRC17:45
vimes656is it possible in Zope3 to access an item of a container directly from ZPT?17:47
vimes656if I try context/key in ZPT I get forbidden attribute: get17:49
*** timte has quit IRC17:53
*** zagy has quit IRC17:54
ccomb´╗┐vimes656´╗┐ you're probably missing a permission on IReadContainer17:55
*** srichter has joined #zope3-dev17:57
malthewth Upload failed (403): You are not allowed to edit 'z3c.formwidget.query' package information18:06
malthetarek: do you know what this means?18:09
maltheI'm using ``mupload``.18:09
*** projekt01 has quit IRC18:12
vimes656ccomb: thanks, now I don't get the forbidden attribute error but I still can't do what I want18:14
*** sm has joined #zope3-dev18:15
vimes656ccomb: I would something like container/a/b to be container['a'].b18:16
vimes656ccomb:  have to read more about ZPT syntax or use a python expression18:17
*** thruflo_ has joined #zope3-dev18:19
ignasvimes656: emm, do you have <class> in the zcml for the object you are trying to access "b" on?18:20
vimes656ignas: no... I have only the container18:21
ignasit probably is not a zpt problem, but rather a permission problem, forbiden attributes are thrown when you are trying to access an attribute that has no security information defined for it18:21
ignas<disclaimer>i can be totaly wrong though</disclaimer>18:21
vimes656ignas: actually I didn't want to make interfaces for the objects in the container because I have too many objects18:23
vimes656ignas: is it possible to declare permissions in zcml for object which don't have interfaces?18:24
ignasvimes656: yes, you will have to list all the attributes you want to allow access to though18:25
*** ChanServ sets mode: +o srichter18:25
*** zagy has joined #zope3-dev18:25
vimes656ignas: ok, I'll try18:26
*** mkerrin has quit IRC18:28
*** thruflo has quit IRC18:33
*** edgordon has joined #zope3-dev18:33
*** MJ has joined #zope3-dev18:38
*** zagy has quit IRC18:38
*** MJ has quit IRC18:39
*** dobee has joined #zope3-dev18:39
*** zagy has joined #zope3-dev18:45
*** reco has joined #zope3-dev18:48
vimes656ignas: I did as you told me and it's working, thanks18:52
*** rmarianski has joined #zope3-dev18:52
*** sp0cksbeard has joined #zope3-dev18:56
*** zagy has quit IRC18:57
*** jukart has joined #zope3-dev18:59
*** romanofski has quit IRC18:59
*** b52laptop has quit IRC19:01
*** J1m has quit IRC19:02
*** nathany has joined #zope3-dev19:12
*** alecghica has quit IRC19:13
*** maurits has quit IRC19:19
*** toutpt has quit IRC19:20
*** jpcw2002 has left #zope3-dev19:21
tarekmalthe, back19:24
*** zagy has joined #zope3-dev19:24
malthetarek: so it's quite funny19:24
tareklooks like your are not the package owner19:24
maltheif you put, say, Alpha instead of Beta in your setup.py, --- you get a 403.19:25
malthein the classification section19:25
malthebecause appearently alpha is not a state or whatever19:25
malthecompletely misleading error; I only knew because I tried manually to register my PKG_INFO on pypi19:25
tarekoh i see, the classifier did not exists19:26
tarek?19:26
maltheyeah that's it19:26
maltheit's a first upload, so I would always be the owner.19:26
tarekPyPI is hard on this, it raises an error yeah19:26
maltheyes, but a completely wrong error19:26
malthesomeone probably put a bare except19:26
tarekoh I see19:27
tarekmaybe so19:27
tarekI am trying to make this change to a simple warning although19:27
tarekso the package gets registered and the given classifier ignored19:27
maltheyeah19:27
tarekso does mupload/mregister works fine, besides ?19:27
* mgedmin hates vocabularies19:28
malthemgedmin: :-)19:28
malthetarek: yes, works great19:28
mgedminwhat do you mean I can't put the same value twice under different titles and tokens?19:28
maltheI use it always19:28
* mgedmin screams19:28
* mgedmin screams abuse19:28
mgedminwell, I guess there's a good reason19:29
tarekmalthe, cool ! my patch is still waiting for being included in python 2.6 but hopefully mupload and mregister will be merged in the regular commands one day19:29
*** rocky has quit IRC19:29
malthethat will be a good day in python land19:29
tarekmalthe, do you use another egg server beside pypi at this time ?19:30
maltheyes, we have an internal egg server here19:30
maltheworks very well with PSC19:30
tarekok19:30
*** rocky has joined #zope3-dev19:31
tarekI have an extra "release" command in another package that decides, upon the egg name where to register and upload it (a list of pypi server, using a regexpr)19:32
tarekso the same package can be released in several place in one command19:32
tarekdo you think this could be useful, added in iw.dist ?19:32
tarekthe idea is to define rules in a global cfg file, to define where thing goes19:33
*** whitmo has joined #zope3-dev19:35
*** dobee has quit IRC19:41
*** zagy has quit IRC19:42
*** whit has quit IRC19:44
*** jodok has quit IRC19:45
jayarajhey guys can any one tell me wots wrong in this code... i was trying to access multiple dbs ..http://rafb.net/p/aWH9G018.html19:46
jayarajhttp://rafb.net/p/aWH9G018.html19:46
jayaraji get this.... 'InvalidObjectReference: A new object is reachable from multiple databases. Won't try to guess which one was correct!' wot does it mean...19:47
*** J1m has joined #zope3-dev19:48
ignasjayaraj: so you get site manager from connection1, then add folder from connection2 to the site manager19:55
jayaraji am just trying to make a folder in db '2' and register it  as a utility19:58
ignasas a local utility19:58
jayarajyea19:58
*** sm has quit IRC19:58
ignasso in db1 you have a reference to an object in db219:58
ignaseither add a proxy object in db1 that will be the real local utility while retrieving folder from db2 by name instead of by reference19:59
jayarajbut it happens only when i register it ... but the error is in the get_connection line20:00
ignassiteManager is an object, and it has to keep references to all the local utilities one way or another20:00
ignaswhy do you think so?20:00
ignasi can't see the get_connection line in the traceback20:00
jayaraji commented rest of the lines and tested it20:01
ignasyou get the error during the commit20:01
jayarajyea thats true too20:01
ignasi think you are getting the connection in some weird way20:02
ignasdid you find it in the documentation?20:02
ignasmaybe getUtility(IDatabase, name="2")20:03
jayarajyea i have looked at the IRC chat history... and i followed wot j1m said to srichter http://zope3.pov.lt/irclogs/%23zope3-dev.2007-10-01.log.html20:03
ignaswould be a bit better20:03
ignasbut i don't really know anything about that20:05
jayarajyea in another conversation i saw him saying conn.get_connection('2') is the right way20:05
*** thruflo_ has quit IRC20:05
ignashmm, it seems that this way of doing it updates the db connections of the object20:05
*** quodt has quit IRC20:06
*** RaFromBRC has joined #zope3-dev20:07
jayarajignas http://apidoc.zope.org/++apidoc++/Book/zodb/crossref/show.html20:07
*** jpcw2002 has joined #zope3-dev20:09
*** whit has joined #zope3-dev20:11
ignashmm, very strange20:11
ignasbut i am not really sure why just opening the connection number 2 breaks it20:11
jayarajyea i just dont get any idea20:12
*** whitmo has quit IRC20:15
*** jpcw2002 has left #zope3-dev20:16
*** vimes656 has quit IRC20:16
*** sm has joined #zope3-dev20:16
*** agroszer has joined #zope3-dev20:18
*** redir has joined #zope3-dev20:20
jayarajJ1m, is there any thing wrong in this... i am just trying to connect to anoter db...  http://rafb.net/p/aWH9G018.html20:21
J1mthere error message says it all. Read it. If it's too confusing, don't use multiple databases.20:22
*** vimes656 has joined #zope3-dev20:22
*** alga has quit IRC20:24
ignasjayaraj: you should remove the code that is not being executed20:24
ignasJ1m: his problem is that even if he is not adding any objects, he still gets the error it seems20:25
J1mThat is impossible.20:25
jayarajbut its wots happening with me20:25
ignasi thought so but jayaraj is telling that he is getting the error with only the code that does get_connection('2')20:26
J1mObviouslu, he;s wrong.20:27
J1mlook at the trace back.20:27
*** pcardune has joined #zope3-dev20:27
*** jukart has quit IRC20:28
ignasjayaraj: are you restarting your application after you remove the lines after get_connection?20:28
jayarajof course... i even removed the old db.fs files20:29
*** sm has quit IRC20:32
*** malthe has quit IRC20:32
*** sm has joined #zope3-dev20:32
*** tarek has quit IRC20:36
*** sm has quit IRC20:37
jayarajhttp://rafb.net/p/yRUEgd23.html20:39
jayarajignas ^20:39
ignaswhat is the context of the view ?20:40
jayarajyea mean the obj?20:40
jayarajyou*20:40
*** sm has joined #zope3-dev20:41
ignasthe object you are registering the debug view for20:41
*** sm has quit IRC20:41
jayarajyea its a browserpage object20:42
ignasno, not the view itself20:42
ignascould you paste the zcml declaration for the view20:42
ignaslisppaste6: url20:43
lisppaste6To use the lisppaste bot, visit http://paste.lisp.org/new/zope3-dev and enter your paste.20:43
ignasit's a bit more convenient, because it puts the url into the channel automatically20:44
jayarajignas, i think its some where else.... and its very late... bye 4 now thanks alot... and will be telling you if i find it...21:00
*** sm has joined #zope3-dev21:01
*** jayaraj has quit IRC21:06
*** reedobrien has joined #zope3-dev21:07
*** redir has quit IRC21:08
*** MrTopf has joined #zope3-dev21:10
*** bigkevmcd has quit IRC21:11
*** afd_ has joined #zope3-dev21:14
*** salfield has quit IRC21:15
*** ignas has quit IRC21:16
*** edgordon has quit IRC21:22
*** reco has quit IRC21:24
*** tarek has joined #zope3-dev21:28
*** whitmo has joined #zope3-dev21:31
*** tarek has quit IRC21:33
*** whit has quit IRC21:38
*** djohnson has joined #zope3-dev21:39
*** rmarianski has quit IRC21:42
*** rmarianski has joined #zope3-dev21:43
*** quodt has joined #zope3-dev21:51
*** agroszer_ has joined #zope3-dev21:51
*** dunny has joined #zope3-dev22:02
*** agroszer has quit IRC22:03
*** mgedmin has quit IRC22:05
*** jukart has joined #zope3-dev22:09
*** quodt has quit IRC22:21
*** djohnson_ has joined #zope3-dev22:26
*** djohnson__ has joined #zope3-dev22:27
*** quodt has joined #zope3-dev22:30
*** quodt has quit IRC22:31
regebroTake the Zope conference survey: http://www.surveymonkey.com/s.aspx?sm=1QRKEu8eTs2gNjiYPOCsBA_3d_3d22:31
*** MJ has joined #zope3-dev22:41
*** djohnson has quit IRC22:43
*** djohnson_ has quit IRC22:44
J1mregebro, I hope lots of people respond!22:48
J1mI did.22:48
regebroJ1m: Cool!22:49
regebroI got 20 responses so far. It's a free account, so I can only take a 100 responses anyway. :)22:49
regebroIf I get 50 I think we can say that it's a useful size to draw good conclusions.22:50
J1mI should have added in the comments that I'd prefer a dedicated conference to a separate track.  I tend to think of the Plone conference as a dedicated Zope conference. :)22:53
J1mseparate track at pycon, that is.22:53
*** rcrafton has quit IRC22:54
*** djohnson__ has quit IRC22:57
*** jukart has quit IRC22:58
*** timte has joined #zope3-dev23:09
*** djohnson has joined #zope3-dev23:18
*** MJ has quit IRC23:19
*** agroszer_ has quit IRC23:26
*** afd_ has quit IRC23:28
*** `ro has joined #zope3-dev23:29
*** tarek has joined #zope3-dev23:37
*** reedobrien has quit IRC23:38
*** projekt01 has joined #zope3-dev23:46
*** vimes656 has quit IRC23:54

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