Mailing List Archive

External editor "timing out"
Hello,

when I edit a page template or a dtml method with ExternalEditor I get
the following errors:

------
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.PageTemplates.ZopePageTemplate, line 351, in PUT
Module webdav.Resource, line 175, in dav__simpleifhandler
AttributeError: 'NoneType' object has no attribute 'refresh'
------
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module OFS.DTMLMethod, line 378, in PUT
Module webdav.Resource, line 179, in dav__simpleifhandler
PreconditionFailed: Condition failed.
-----

Please notice the error happen when I try to save the documents after
more or less 10 minutes since the last save. No error happen If I save
the document after a minute or two since I opened it.

Zope Version (2.13.12, python 2.7.1, linux2)
Python Version 2.7.1 (r271:86832, Sep 13 2011, 19:13:17) [GCC 4.4.4
20100726 (Red Hat 4.4.4-13)]
ExternalEditor-1.1.0
ZopeEditManager 0.9.7 Mac osx

Can someone help me up with this issue?

Best regards,

Giampiero

_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: External editor "timing out" [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/17/2012 04:33 AM, Giampiero Benvenuti wrote:
> Hello,
>
> when I edit a page template or a dtml method with ExternalEditor I get
> the following errors:
>
> ------ Traceback (innermost last): Module ZPublisher.Publish, line
> 126, in publish Module ZPublisher.mapply, line 77, in mapply Module
> ZPublisher.Publish, line 46, in call_object Module
> Products.PageTemplates.ZopePageTemplate, line 351, in PUT Module
> webdav.Resource, line 175, in dav__simpleifhandler AttributeError:
> 'NoneType' object has no attribute 'refresh' ------ Traceback
> (innermost last): Module ZPublisher.Publish, line 126, in publish
> Module ZPublisher.mapply, line 77, in mapply Module
> ZPublisher.Publish, line 46, in call_object Module OFS.DTMLMethod,
> line 378, in PUT Module webdav.Resource, line 179, in
> dav__simpleifhandler PreconditionFailed: Condition failed. -----
>
> Please notice the error happen when I try to save the documents after
> more or less 10 minutes since the last save. No error happen If I
> save the document after a minute or two since I opened it.
>
> Zope Version (2.13.12, python 2.7.1, linux2) Python Version 2.7.1
> (r271:86832, Sep 13 2011, 19:13:17) [GCC 4.4.4 20100726 (Red Hat
> 4.4.4-13)] ExternalEditor-1.1.0 ZopeEditManager 0.9.7 Mac osx
>
> Can someone help me up with this issue?

Your locks are timing out. I don't know where the 10 minute lock timeout
is coming from: the default value is 30 minutes.




Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8+bb8ACgkQ+gerLs4ltQ5gwQCbBtv7MXWEx/87eBolxYV5Q/ep
pPkAn2K/t3x8aANpWaGn9Fgr1Pj1yfpN
=0K+i
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )