Houston, we just lost our galleries...
2002-02-19T20:12:44 ERROR(200) zdaemon zdaemon: Tue Feb 19 15:12:44 2002: Aiieee! 6947 exited with error code: 139 ------ 2002-02-19T20:12:44 INFO(0) zdaemon zdaemon: Tue Feb 19 15:12:44 2002: Houston, we have forked ------ 2002-02-19T20:12:44 INFO(0) zdaemon zdaemon: Tue Feb 19 15:12:44 2002: Hi, I just forked off a kid: 28824 ------ 2002-02-19T20:12:44 INFO(0) zdaemon zdaemon: Tue Feb 19 15:12:44 2002: Houston, we have forked This happens when I access any sort of image folder (ZPhotoAlbum, CMFPhoto...) Obviously, I'm stymied. Help?
Hi all, Please help me to solve my new problem :( How I can take list of all unique properties in folder with same objects? Example goods/ goods_1 (producer=Type1) goods_2 (producer=Type2) goods_3 (producer=Type1) goods_4 (producer=Type3) goods_5 (producer=Type1) And I wont to receive: producers = ('Type1', 'Type2', 'Type3') -- WBR, Mikhail ZSP Instock (http://www.instock.ru/)
Do something like this: p={} for good in context.objectItems('goods'): #in ('goods') goods is the type of object you are using if(good.hasProperty('producer'): p[good.getProperty('producer')] = 1 producers = p.keys() ----- Original Message ----- From: "Mikhail" <miha@instock.ru> To: <zope@zope.org> Sent: Wednesday, February 20, 2002 6:24 AM Subject: [Zope] Query to ZODB
Hi all,
Please help me to solve my new problem :(
How I can take list of all unique properties in folder with same objects?
Example goods/ goods_1 (producer=Type1) goods_2 (producer=Type2) goods_3 (producer=Type1) goods_4 (producer=Type3) goods_5 (producer=Type1)
And I wont to receive: producers = ('Type1', 'Type2', 'Type3')
-- WBR, Mikhail ZSP Instock (http://www.instock.ru/)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Robin S. Socha writes:
2002-02-19T20:12:44 ERROR(200) zdaemon zdaemon: Tue Feb 19 15:12:44 2002: Aiieee! 6947 exited with error code: 139 This is a SIGSEGV (signal 11, "segmentation violation") together with a core dump.
Your Zope just died and is being restarted by the Zope demon. SIGSEGVs signify serious program faults, usually resulting from uninitialized variables, memory corruption or array boundary violations.
This happens when I access any sort of image folder (ZPhotoAlbum, CMFPhoto...) Apparently, your SIGSEGV is reproducible. That's very good! In this case, you have a very good chance to catch the problem.
Search the mailing list for instruction on how to debug "signal 11" crashes. Dieter
participants (4)
-
Dieter Maurer -
Mikhail -
Robert Rottermann -
Robin S. Socha