Re: Frage zu ConflictErrors
Benjamin Hedrich <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Hi Sascha, mein(e) Request/Transaktion hat ~1,5h gedauert. Habe das Problem jetzt mit Subtransaktionen -> import transaction; transaction.commit() beseitigt bekommen. Aber vielen Dank für die Infos. Gruß, Benjamin -- Benjamin Hedrich Software-Entwicklung e-laborat Osloer Straße 12 13359 Berlin Germany M +49 (0) 176 - 21 66 91 44 T +49 (0) 30 - 53 16 59 32 [email protected] www.e-laborat.de On 07/21/2011 02:28 PM, Gottfried Sascha wrote: > Hi Benjamin, > laut Doku sind ConflictErrors übliche Begleiter von Schreiboperationen in der ZODB. Die nicht aufgelösten (unresolved) sollten deine Aufmerksamkeit bekommen. Den Hinweis auf die Methode '_p_resolveConflict' hast du vielleicht schon selbst gefunden. > > In der Doku "ZODB.pdf" im Abschnitt "Transactions" findest du noch ein paar Worte von Lawrence Rowe zu ConflictErrors. > > Quellen: > ConflictErrors/_p_resolveConflict > http://docs.zope.org/zope2/zdgbook/ZODBPersistentComponents.html#threads-and-conflict-errors > ZODB.pdf > http://plone.org/documentation/kb/introduction-to-the-zodb/An%20introduction%20to%20the%20ZODB.pdf/view > > Ich hoffe, ich konnte dir etwas helfen. > Gruß, > Sascha > > > > IAS Institut fuer Arbeits- und Sozialhygiene Stiftung > Steinhäuserstraße 19, D-76135 Karlsruhe > > Vorstand: Arndt Kempen, Dr. Peter Wrogemann > Vorsitzender des Kuratoriums: Prof. Dr. Dr. Norbert Gross > > Sitz der Stiftung: Karlsruhe, USt-IdNr.: DE 143609069 > Eingetragen ins Stiftungsverzeichnis des Regierungspräsidiums Karlsruhe > > Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > > -----Ursprüngliche Nachricht----- > Von:[email protected] [mailto:[email protected]] Im Auftrag von Benjamin Hedrich > Gesendet: Mittwoch, 20. Juli 2011 12:58 > An:[email protected] > Betreff: [dzug-zope] Frage zu ConflictErrors > > Hallo liebe Liste, > > wie kann ich debuggen, wo ConflictErrors auftreten und wie soll man mit > diesen Fehlern umgehen? > > > 2011-07-20T12:41:15 INFO ZPublisher.Conflict ConflictError at > /VirtualHostBase/http/--:80/sites/--/VirtualHostRoot/emlsys/companies: > database conflict error (oid 0x14f42e, class > emlsys.content.company.Company) (2 conflicts (0 unresolved) since > startup at Tue Jul 19 15:32:46 2011) > > > Beste Grüße, > -- > Benjamin Hedrich > Software-Entwicklung > > e-laborat > Osloer Straße 12 > 13359 Berlin > Germany > > M +49 (0) 176 - 21 66 91 44 > T +49 (0) 30 - 53 16 59 32 > > [email protected] > www.e-laborat.de > > > > > _______________________________________________ > zope mailing list > [email protected] > https://mail.dzug.org/mailman/listinfo/zope > > > _______________________________________________ > zope mailing list > [email protected] > https://mail.dzug.org/mailman/listinfo/zope _______________________________________________ zope mailing list [email protected] https://mail.dzug.org/mailman/listinfo/zope