[Zope] Webdav and emacs, eldav, nd problem.
Chris McDonough
chrism at plope.com
Fri May 20 11:17:44 EDT 2005
Does a (Script) Python object actually get created or is it another
object type like DTML Document when it is initially created? As far as
I can tell, it would have to be the latter, as Python Scripts don't
allow you to change their content-types (at least via the ZMI).
On Fri, 2005-05-20 at 17:05 +0200, Gaute Amundsen wrote:
> Hi.
>
> We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having
> problems with authoring "Script (Python)"
>
> (using ssh tunnel: "ssh -L 2001:localhost:8081 root at remotehost")
>
> I am using emacs, using eldav, using nd.
> I have traced the problem to this command issued by eldav in the process of
> saving changes to a file.
>
> "nd -S -p /localpath/script.py -a Zope
> http://localhost:2001/path/on/remote/server/script.py"
>
> The problem is replicated on the commandline.
>
> What happens is that the python script gets saved as Page Template with
> Content-Type: text/plain.
> ( I have tried nd's -T option, but to no avail )
>
> As nothing else have changed, ( afaik ) I must assume there has been some
> changes made to zopes webdav support.
>
> Any ideas anyone?
>
> Hm.. I notice we have ExternalEditor (0.5) installed.
> Could this have any influence? Perhaps I will try using it :)
>
> Gaute
>
>
>
> _______________________________________________
> Zope maillist - Zope at 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 )
>
More information about the Zope
mailing list