Re: [Zope] (1 conflicts since startup at 2005-08-04T14:45:39)
Dieter Maurer escribió: Garito wrote at 2005-8-4 14:11 +0200: Our problem is we create some archetypes and in some parts of our structure if we try to create some object the computer cpu grows to 100% and raises 2005-08-04T15:01:02 INFO(0) ZODB conflict error at /VirtualHostBase/the url to the object/createObject (1 conflicts since startup at 2005-08-04T14:45:39) Has someone any idea to solve these issue? Not directly an idea but some hint: A long time ago (months, maybe even a year), I posted a patch that gives more informative error messages for ConflictError. Search the archive, apply the patch and come back with the better message. A search for ConflictError will give you hundreds of posts. Many of them explain that ConflictError are a normal artefact of the ZODB. Nothing to worry about, unless you get too many... Hi Dieter and thank you again The problem that produce these error was a method acquired by an archetype but the data to calculate de algorithm is not acquirable by these archetype (I hope I explain myself) Thanks a lot! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] (1 conflicts since startup at 2005-08-04T14:45:39)
Hi all! We have: Zope Version (Zope 2.7.4-0, python 2.3.4, linux2) Python Version 2.3.4 (#1, May 19 2005, 17:40:30) [GCC 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7. System Platform linux2 and Archetypes 1.3.2-final CMF 1.4.7 Epoz 0.9.0 Our problem is we create some archetypes and in some parts of our structure if we try to create some object the computer cpu grows to 100% and raises 2005-08-04T15:01:02 INFO(0) ZODB conflict error at /VirtualHostBase/the url to the object/createObject (1 conflicts since startup at 2005-08-04T14:45:39) Has someone any idea to solve these issue? On development time nothing of these occurs and when we go to production time these problem begins (for that these question is, for us, urgent) Thank you very much -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] (1 conflicts since startup at 2005-08-04T14:45:39)
Garito wrote at 2005-8-4 14:11 +0200: Our problem is we create some archetypes and in some parts of our structure if we try to create some object the computer cpu grows to 100% and raises 2005-08-04T15:01:02 INFO(0) ZODB conflict error at /VirtualHostBase/the url to the object/createObject (1 conflicts since startup at 2005-08-04T14:45:39) Has someone any idea to solve these issue? Not directly an idea but some hint: A long time ago (months, maybe even a year), I posted a patch that gives more informative error messages for ConflictError. Search the archive, apply the patch and come back with the better message. A search for ConflictError will give you hundreds of posts. Many of them explain that ConflictError are a normal artefact of the ZODB. Nothing to worry about, unless you get too many... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] 1
Hi all. I'm sorry if this is discussed before, but my search thru the archive did not yield any results. Basically, this is what I want: 1. I have a file that I want to upload. That I know how to do. 2. Then I want to use the properties of the file I uploaded (id, size, name and so forth) to make an entry in an external database (MySQL it is, but that is not relevant). 3. Update another entry in the external database, using the beforementioned properties. So, what I do not know, is how I "extract" the information from the file upload, and make it available to my sqlMethod. Does anyone know what I'm talking about? Could anyone point me in the right direction, or, preferably, show me what do do? Thanks in advance, -- Jørn Helge B. Dahl System administrator http://falch.net ___ Zope maillist - [EMAIL PROTECTED] 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 )
[Zope-dev] Tree Tag question: from zope 1.x to zope 2.x
Hello, I want to display the content of a site starting from a folder called 'Site' with a tree tag. I want also to render immediately inside the tree the documents with an ID=='PUBLIC_Doc'. In Zope 1.x I have a working dtml method like this: !--#var standard_html_header-- !--#tree Site branches_expr="objectValues()" sort=id skip_unauthorized-- b!--#var id--/b !--#if "_['id']=='PUBLIC_Doc'"-- ## !--#try-- !--#var "_[_['id']]"-- !--#except-- !--#var Except_Message-- !--#/try-- ## !--#/if-- !--#/tree-- !--#var standard_html_footer-- Unfortunatly for me , with zope 2.1.6 i get an error when I try to render the 'PUBLIC_Doc' document: . PUBLIC_Doc !# Error type:AttributeError Error Message: Error Message:__call__ Error TB:Traceback (innermost last): File "/usr/lib/python1.5/site-packages/DocumentTemplate/DT_Try.py", line 221, in render_try_except result = render_blocks(self.section, md) File "/usr/lib/python1.5/site-packages/DocumentTemplate/DT_Util.py", line 335, in eval return eval(code,globals,d) File "", line 0, in ? File "/usr/lib/python1.5/site-packages/DocumentTemplate/DT_Util.py", line 161, in careful_getitem v=mapping[key] File "/usr/share/zope/lib/python/OFS/DTMLMethod.py", line 146, in __call__ r=apply(HTML.__call__, (self, client, REQUEST), kw) File "/usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py", line 502, in __call__ try: return render_blocks(self._v_blocks, md) AttributeError: __call__ has someone a solution ?? Thanks, Gilles ___ 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 )