*** fdrake has quit IRC | 01:48 | |
*** srichter has quit IRC | 03:12 | |
*** srichter has joined #zodb | 03:49 | |
*** agroszer has joined #zodb | 09:02 | |
*** moo-_- has quit IRC | 10:04 | |
*** moo-_- has joined #zodb | 10:08 | |
*** goschtl has joined #zodb | 11:05 | |
goschtl | hi, i have to export some objects in a z3 environment i do it like this: folder._p_jar.exportFile(obj._p_oid, f=str(fn)) | 11:06 |
---|---|---|
goschtl | but it seems it runs forever because it exports a lot of references to the object | 11:07 |
goschtl | anything i can do? | 11:07 |
goschtl | is it possible to create a simple pickle of the object without the references? | 11:24 |
goschtl | J1m: any idea with that export thing, or a other idea how i can do it? | 11:44 |
*** goschtl has quit IRC | 12:17 | |
*** goschtl1 has joined #zodb | 12:17 | |
*** srichter has quit IRC | 13:03 | |
*** goschtl1 has quit IRC | 13:43 | |
*** fdrake has joined #zodb | 14:53 | |
*** goschtl has joined #zodb | 15:04 | |
*** agroszer has quit IRC | 15:08 | |
J1m | goschtl, it's possible you have circular references, which might cause the entire database to be exported. | 16:09 |
goschtl | i guess i have found the thing | 16:10 |
J1m | the export machinery was written long long ago when we were very careful to avoid circular references. | 16:10 |
goschtl | the __parent__ pointer causes the complete db to download | 16:10 |
J1m | as I said :) | 16:11 |
goschtl | i made a small path to exportimport to remove the parent oid from the oids | 16:11 |
goschtl | this seems to make the trick | 16:11 |
J1m | cool. | 16:11 |
goschtl | sylvain gave me the tip | 16:12 |
*** goschtl has quit IRC | 18:39 | |
*** srichter has joined #zodb | 20:45 | |
*** srichter has quit IRC | 21:38 | |
*** srichter has joined #zodb | 21:38 | |
*** srichter has quit IRC | 22:00 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!