[Zope-dev] [Zope Crash Solution] Positive Report
Hi Zopers! Thanks all for your time, especially to Matthew and Leonardo. My patched Python/Zope systems run well now in multi-threads mode. I tested with very hard Python Scripts too and my report is at all positive. My relief is great, like many others zopers, I think ; ) Thanks again and Happy Easter! Stefano -- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: [EMAIL PROTECTED] Web: http://www.noze.it -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope crash problem
Hi My experiences with zope 2.5.1b1 and python 2.1.2 crashes are now only with CMF 1.1 installed. The new system with plugin indexes implemented in zope 2.4.x (with text fields plugin splitters compiled in c as python modules for optimization) is a diff with stable zope 2.3.3 platform.. Can splitter modules (or eventually other python module .so of zope core) crash zope 2.5.1b1 ? How can I test this? Thanks Stefano -- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: [EMAIL PROTECTED] Web: http://www.noze.it -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope 2.5.1b1 and Python 2.1 with LDAP
Hi, running Zope 2.5.1b1 and Python 2.1.2 with CMF 1.1, LDAPUserFolder 1.1, CMFLDAP 1.2, CoreSessionTracking 0.9, DCWorkflow 0.4.1, CMFOptions 1.11, PIL 1.1.2, MySQL-python-0.9.0, python-ldap-1.10alpha3 (compiled with libldap 1.0.0 and liblber 1.0.0) on Linux Trustix 1.5 distribution, Zope crash and auto-restart randomly while a cmf member o reviewer use cmf services. Zope Version (Zope 2.5.1b1 (source release, python 2.1, linux2), python 2.1.2, linux2) Python Version 2.1.2 (#1, Mar 5 2002, 14:39:29) [GCC 2.95.3 20010315 (release)] System Platform linux2 All packages compiled from sources. Anyone help me? Thanks, Stefano -- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: [EMAIL PROTECTED] Web: http://www.noze.it -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again
Hi, With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved? Thanks Stefano -- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: [EMAIL PROTECTED] Web: http://www.noze.it -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope vs. Cocoon
Oliver Bleutgen wrote: Very niceinteresting thread ... Stefano Mazzocchi wrote: Craeg K. Strong wrote: - Because of acquisition, you can add behavior to objects without changing their class definitions. Can you please elaborate more on this? I'm sure Craeg can and will, but there's IMO a very nice explanation about that from Dieter Maurer, take a look at http://www.handshake.de/~dieter/pyprojects/zope/book/chap3.html#acquisition cheers, oliver Uh, thanks, very nice info. I'll drink it all ASAIK. Ciao -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. [EMAIL PROTECTED] Friedrich Nietzsche ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Zope vs. Cocoon
that way? No, I will look more seriously into the technical details, although I would probably be more interested from Zope3 than from Zope2. I'll post my impressions after getting my hands dirty with more Python (which I like, but since I couldn't write Avalon in Python, it would not be interested in learning more of it... also, there is no very little WORA concept in Python, which scares me to death!) Anyway, I'll see how Zope solves the design and architectural issues we are currently designing (expecially how it deals with flows and resource mapping). But my point is: comparing Cocoon and Zope is an serious architectural mistake. I agree they were created to solve different problems.However, there are many reasons why developers may want to compare the two technologies: - both are leading open-source platforms for building websites it's cool that people start to think this way. - other major open source alternatives may no longer be as attractive (recent demise of arsdigita, enhydra's problems, ...) yes - XSLT is becoming more mainstream (why Zopers might want to consider Cocoon) :) - Inclusion of Lucene + Xindice with Cocoon narrows the gap And I'm sure you'll see the gap narrowing a lot in the future... and hopefully provide serious alternatives. In general, based on my assessment of the architectural directions of both projects, they are likely to provide more and more similar functionality as time goes on. Oh, I'm sure about that. When it comes right down to it, I believe the slash-dotters were correct when they said that the main issue may be choice of programming language. If you have a development shop full of Java programmers, are you really going to expect them to learn Python and Zope? (Of course, that is precisely what ArielPartners did :-) If this was so, it would be sad. I would love to see people switching to Cocoon because they found it better to work with and more intellectually rewarding than other solutions. Using the marketing power of Java and XML to bring more people to the Cocoon front is not what I want: I want people to understand the design choices behind cocoon and use them only if they appreciate them, not because their boss forced them to use it. But anyway, thanks for the good talk. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. [EMAIL PROTECTED] Friedrich Nietzsche ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope vs. Cocoon
that there is *way* too much magick in Zope. That is the main motivator behind Zope3, which is entirely component-driven. Architecturally, it is *excellent*, and I'm very excited about it. I could wax on for hours, but I won't right now. Suffice to say everyone in the community has learned a lot from Zope2, and we're eager to build on that experience. See the link Craeg mentioned for more detail. It's great to know this. I really with you guys best luck with the new refactoring: from past experience, I can tell you that is a long and painful process and might create lots of forking frictions inside the community, but if done right (and from what I read, you guys are on the right track), it could give you *lots* of rewarding, both intellectually and from the community. This is what Cocoon did on the transition between 1.x and 2.x and I still have to hear a single individual that didn't like the evolution. I'm pretty sure this will happen for Zope as well. Take care. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. [EMAIL PROTECTED] Friedrich Nietzsche ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Very serious problem with Zope 2.4.x !!
Hi, I've a very serious problem with Zope 2.4.x and Python 2.1/2.1.1/2.2b2 running on linux. Zope auto restart when I call a simple python script with this contents: --start-- province = [('AG','Agrigento'),('AL','Alessandria'),('AN','Ancona'),('AO','Aosta'),('AR ','Arezzo'),('AP','Ascoli Piceno'),('AT','Asti'),('AV','Avellino'),('BA','Bari'),('BL','Belluno'),('BN ','Benevento'),('BG','Bergamo'),('BI','Biella'),('BO','Bologna'),('BZ','Bolz ano'),('BS','Brescia'),('BR','Brindisi'),('CA','Cagliari'),('CL','Caltanisse tta'),('CB','Campobasso'),('CE','Caserta'),('CT','Catania'),('CZ','Catanzaro '),('CH','Chieti'),('CO','Como'),('CS','Cosenza'),('CR','Cremona'),('KR','Cr otone'),('CN','Cuneo'),('EN','Enna'),('FE','Ferrara'),('FI','Firenze'),('FG' ,'Foggia'),('FO','Forlì'),('FR','Frosinone'),('GE','Genova'),('GO','Gorizia' ),('GR','Grosseto'),('IM','Imperia'),('IS','Isernia'),('AQ',L'Aquila),('SP ','La Spezia'),('LT','Latina'),('LE','Lecce'),('LC','Lecco'),('LI','Livorno'),('LO ','Lodi'),('LU','Lucca'),('MC','Macerata'),('MN','Mantova'),('MS','Massa Carrara'),('MT','Matera'),('ME','Messina'),('MI','Milano'),('MO','Modena'),( 'NA','Napoli'),('NO','Novara'),('NU','Nuoro'),('OR','Oristano'),('PD','Padov a'),('PA','Palermo'),('PR','Parma'),('PV','Pavia'),('PG','Perugia'),('PS','P esaro e Urbino'),('PE','Pescara'),('PC','Piacenza'),('PI','Pisa'),('PT','Pistoia'),( 'PN','Pordenone'),('PZ','Potenza'),('PO','Prato'),('RG','Ragusa'),('RA','Rav enna'),('RC','Reggio Calabria'),('RE','Reggio Emilia'),('RI','Rieti'),('RN','Rimini'),('RM','Roma'),('RO','Rovigo'),('SA', 'Salerno'),('SS','Sassari'),('SV','Savona'),('SI','Siena'),('SR','Siracusa') ,('SO','Sondrio'),('TA','Taranto'),('TE','Teramo'),('TR','Terni'),('TO','Tor ino'),('TP','Trapani'),('TN','Trento'),('TV','Treviso'),('TS','Trieste'),('U D','Udine'),('VA','Varese'),('VE','Venezia'),('VB','Verbania'),('VC','Vercel li'),('VR','Verona'),('VV','Vibo Valentia'),('VI','Vicenza'),('VT','Viterbo'),('EE','Stato Estero')] return province --end--- Zope restart with a DTML Method version of this script too. It's a very serious problem because Zope restart with a segmentation fault. I've tested this bug in Zope 2.4.1, 2.4.2, 2.4.3, 2.5.x... the same result. ; ( I've posted this bug in Zope Collector ( http://collector.zope.org/Zope/76 ) but I've got no reply.. I suppose it's a problem of Restricted Python machinery that PythonScript and DTML share. Compiling python with --without-pymalloc option Zope autorestart itself with a minor frequency.. but it restart.. ; (( IMPORTANT: I tested it with a NEW Zope instance with simply only one PythonScript in the root folder with the content I specified.. It restart!! Solutions? -- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: [EMAIL PROTECTED] Web: http://www.noze.it -= Whatever you like it to be, it will be =- -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
R: [Zope-dev] Playing with DateTime
Hello well, my idea was, as I said, to create a pubblic interface called DateTime, and then wrap mxDateTime or other forms behind it. This will make it fully compatible with the existing DC implementation. Then if soembody like me needs a more flexible implementation, as in my case a class that accepts and returns things in the central european format, then he/she can decide whatever or not use this implementation. Best regards Stefano -Messaggio originale- Da: Brian Lloyd [mailto:[EMAIL PROTECTED]] Inviato: venerd 16 marzo 2001 20.09 A: Christian Scholz; Casey Duncan Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Oggetto: RE: [Zope-dev] Playing with DateTime IMHO, the best approach would be to make mxDateTime available separately from DateTime in the _ variable. That would avoid breaking any code, but allow anyone who wanted to use mxDateTime that option from within Zope. I think a product that adds mxDateTime to the _ variable would be your best bet. Well, my opinion, too. On the long run this might get the preferred way of dealing with time stuff so that the use of DateTime gets depreceated. But I guess DC needs to decide this.. I also dunno if there are any problems with mxDateTime being used (e.g. security concerns, whatever) as I havent't looked to closely at this. Note the "DC needs to decide..." only applies to what we decide to integrate (and thus sign up to maintain, at some level) into the core. One of the key goals of our long-term strategy of becoming much more component-oriented is that the "marketplace" (aka the community) decides what the best component is for a given task. And we do not have to wait for the full component story to land for this to happen; as noted, I'm sure someone could come up with a product that "componentizes" mxDateTime in some way so that people who prefer it can use it easily. Time and de facto usage would then tell whether we (DC) should consider some sort of transition - and we can learn whether that would be a good idea without inconveniencing those who prefer to continue using the built-in DateTime in the meantime. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] (Newbie Alert)- How to change multiple properties from aselection list
Hi, I am trying to assign more than one property from a form selection list. I have a ZClass "Course Description" that holds ..a course description (title, learning objectives, agenda, prerequisites,link to docs,etc.) and another ZClass "Course session" that holds the course time and space related data(start date, end date, summary,location, etc.) Trainers create courses and course managers (CM) decide when and where to have these courses. Once the CM wants to set up a session, he adds a Course session, selects the course title from a selection list and decides when and where to have this course. The selection list is generated by a catalog search. What I would like to do, is the following: Since the title is not unique, what the CM really chooses is the Course id. Based on the selected id I would like to : copy the title property of the Course Description to the title property of Course Session. update the "link to Agenda" property of the Course Session with the path to the selected Course Description. I know how to do this singularly, but not all at hte same time. Any Idea? Here follows some code I am using for the selection list thTitle of event/th tdselect name="id1:int" dtml-in "Catalog(meta_type='Course Description')" OPTION value='dtml-var data_record_id_'dtml-var title/OPTION /dtml-in /select /td Thank you very much, Stefano ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Automatic conversion to pdf format
Newbie Alert I am currently setting up a support website using Knowledge Kit. I would like to integrate it with ZpdfDocument, so that some documents could be automatically converted to pdf, without the need to cut and paste from Knowledge Kit to ZpdfDocument. Since I am a Zope newbie I did not find a way to make it work. I would really appreciate your help, Stefano Ciccarelli ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )