(microsoft) webdav and zope 2.8.4
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another." the traceback on zope is: 2006-03-02T15:48:41 ERROR Zope.SiteErrorLog http://www.hf.ntnu.no:8181/_vti_inf.html Traceback (most recent call last): File "/var/zope/zope284/lib/python/ZPublisher/Publish.py", line 104, in publish object=request.traverse(path, validated_hook=validated_hook) File "/var/zope/zope284/lib/python/ZPublisher/BaseRequest.py", line 316, in traverse else: return response.forbiddenError(entry_name) File "/var/zope/zope284/lib/python/ZPublisher/HTTPResponse.py", line 643, in notFoundError "Sorry, the requested resource does not exist." + NotFound: (Zope errormessage) ------ 2006-03-02T15:48:41 ERROR Zope.SiteErrorLog http://www.hf.ntnu.no:8181/_vti_bin Traceback (most recent call last): File "/var/zope/zope284/lib/python/ZPublisher/Publish.py", line 104, in publish object=request.traverse(path, validated_hook=validated_hook) File "/var/zope/zope284/lib/python/ZPublisher/BaseRequest.py", line 316, in traverse else: return response.forbiddenError(entry_name) File "/var/zope/zope284/lib/python/ZPublisher/HTTPResponse.py", line 643, in notFoundError "Sorry, the requested resource does not exist." + NotFound: (zope errormessage) -- -- Einar Næss Jensen http://einar.nidelven-it.no/einarblog http://www.homemade.no tlf: +47 90990249 (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination.
On 2 Mar 2006, at 14:50, Einar Næss Jensen wrote:
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another."
If you're trying to use the M$ WebFolder-stuff you might as well give up immediately. It simply does not work right. jens
Jens Vagelpohl wrote at 2006-3-2 14:53 +0000:
... If you're trying to use the M$ WebFolder-stuff you might as well give up immediately. It simply does not work right.
We are using it -- quite successfully :-) We had to fix some bugs in Zope's WebDAV support, e.g. properties may not be pure ASCII. Zope did not recode them into UTF-8. -- Dieter
On 2 Mar 2006, at 18:35, Dieter Maurer wrote:
Jens Vagelpohl wrote at 2006-3-2 14:53 +0000:
... If you're trying to use the M$ WebFolder-stuff you might as well give up immediately. It simply does not work right.
We are using it -- quite successfully :-)
We had to fix some bugs in Zope's WebDAV support, e.g. properties may not be pure ASCII. Zope did not recode them into UTF-8.
Are those fixes available somewhere, maybe as a patch attached to a collector issue? jens
Jens Vagelpohl wrote at 2006-3-2 21:06 +0000:
...
We had to fix some bugs in Zope's WebDAV support, e.g. properties may not be pure ASCII. Zope did not recode them into UTF-8.
Are those fixes available somewhere, maybe as a patch attached to a collector issue?
I think that I have filed collector issues... At least for the badly escaped URLs. The standard set of properties supported by Zope usually contains only ASCII. As we use an extended Zope allowing ids to contain non-ASCII, the second error surfaced. I may not have reported this problem because it is probably not relevant for the core Zope (until either to allow ids to contain non-ASCII or you define your own WebDAV properties). -- Dieter
Dieter Maurer wrote:
Jens Vagelpohl wrote at 2006-3-2 14:53 +0000:
... If you're trying to use the M$ WebFolder-stuff you might as well give up immediately. It simply does not work right.
We are using it -- quite successfully :-)
We had to fix some bugs in Zope's WebDAV support, e.g. properties may not be pure ASCII. Zope did not recode them into UTF-8.
I believe you've signed a contributor agreement now... it would be nice if you fed those changes back ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote at 2006-3-3 17:11 +0000:
... I believe you've signed a contributor agreement now...
As often, your belief is wrong ;-) I think the foundation is not yet ready and I am not yet invited (you need an invitation to become a contributor). -- Dieter
--On 3. März 2006 13:01:45 +0100 Dieter Maurer <dieter@handshake.de> wrote:
Chris Withers wrote at 2006-3-3 17:11 +0000:
... I believe you've signed a contributor agreement now...
As often, your belief is wrong ;-)
I think the foundation is not yet ready and I am not yet invited (you need an invitation to become a contributor).
That sounds that you would like to be invited as soon as the ZF is ready? -aj
--On 4. März 2006 12:24:16 +0100 Dieter Maurer <dieter@handshake.de> wrote:
Andreas Jung wrote at 2006-3-4 01:29 +0100:
... That sounds that you would like to be invited as soon as the ZF is ready?
In fact, I expect to get one at least for ZODB development. and maybe, for Zope development.
Excellent :-) -aj
Dieter Maurer wrote:
Chris Withers wrote at 2006-3-3 17:11 +0000:
... I believe you've signed a contributor agreement now...
As often, your belief is wrong ;-)
I think the foundation is not yet ready and I am not yet invited (you need an invitation to become a contributor).
nevertheless I am *extremely* interested in your changes. robert
Dieter Maurer wrote:
I think the foundation is not yet ready and I am not yet invited (you need an invitation to become a contributor).
Really? I thought the contributor agreement had already been changed to remove the clauses you find offensive? I'd be very surprised and disappointed if you needed to be "invited" to contribute code! cheers, Chis -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
r --On 6. März 2006 08:48:44 +0000 Chris Withers <chris@simplistix.co.uk> wrote:
Dieter Maurer wrote:
I think the foundation is not yet ready and I am not yet invited (you need an invitation to become a contributor).
Really? I thought the contributor agreement had already been changed to remove the clauses you find offensive?
I'd be very surprised and disappointed if you needed to be "invited" to contribute code!
This must be a misunderstanding. The new agreement will replace the current one as soon as the ZF exists (means Rob Page raises the WE-ARE-READY sign). One of the first actions of the ZF should be to invite the current contributors to join the ZF under the new agreement to elect an initial board or to support the ZF bootstrapping process. Since Dieter won't contribute directly under the terms of the current agreement he can not be invited to join directly. However as soon as the ZF exists he can join directly under the terms of the new agreement...sounds insane but I think that would be the right way. -aj
Chris Withers wrote at 2006-3-6 08:48 +0000:
... Really? I thought the contributor agreement had already been changed to remove the clauses you find offensive?
These are still proposals -- still not effective.
I'd be very surprised and disappointed if you needed to be "invited" to contribute code!
If your read the foundation's policy you will find something like: Becoming a contributor is an honour.... ... You need to be invited. ... Intially, the foundation assigns initial contributors who may invite additional ones. That does not mean that you cannot contribute code -- e.g. as patches attached to bug reports or feature requests (as I already do). It simply means that you do not get write access to the code repository. -- Dieter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dieter Maurer wrote:
Chris Withers wrote at 2006-3-6 08:48 +0000:
... Really? I thought the contributor agreement had already been changed to remove the clauses you find offensive?
These are still proposals -- still not effective.
I'd be very surprised and disappointed if you needed to be "invited" to contribute code!
If your read the foundation's policy you will find something like:
Becoming a contributor is an honour.... ... You need to be invited. ... Intially, the foundation assigns initial contributors who may invite additional ones.
That does not mean that you cannot contribute code -- e.g. as patches attached to bug reports or feature requests (as I already do). It simply means that you do not get write access to the code repository.
I will note that all the ZC folks I have spoken with agree that the *initial* invitations will go out to current contributors; it is quite conceivable that others, such as yourself, would be included as well, even in that initial bootstrapping phase. I for one think your contributions to the Zope ecology are very significant, and look forward to the day when we can collaborate more directly in the source tree. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEDKDw+gerLs4ltQ4RAkvQAJ48LExh0rOIzbL55Pmci/YSzhzL8QCeNJvG RBzyUQPMiq8fnYMzfDFGYdc= =FY1l -----END PGP SIGNATURE-----
Dieter Maurer wrote:
Really? I thought the contributor agreement had already been changed to remove the clauses you find offensive?
These are still proposals -- still not effective.
*sigh* So while everyone is busy talking about "visions" on a dev list, important stuff like getting you to be able to commit feels like it's getting sidelined :-(
If your read the foundation's policy you will find something like:
Becoming a contributor is an honour.... ... You need to be invited. ... Intially, the foundation assigns initial contributors who may invite additional ones.
Well, if no-one else does, _I'll_ damn well invite you :-D Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On 3/2/06, Einar Næss Jensen <einar.nass.jensen@gmail.com> wrote:
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another."
And the question is: What may I do to enable microsoft client to talk to my zope server? I want to transfer a large amount of images into the zodb, and need an easy way of doing this (from windows). -- Einar Næss Jensen http://einar.nidelven-it.no/einarblog http://www.homemade.no tlf: +47 90990249 (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination.
On 2 Mar 2006, at 14:55, Einar Næss Jensen wrote:
On 3/2/06, Einar Næss Jensen <einar.nass.jensen@gmail.com> wrote:
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another."
And the question is: What may I do to enable microsoft client to talk to my zope server? I want to transfer a large amount of images into the zodb, and need an easy way of doing this (from windows).
Either use something that is not WebDAV (a FTP client, for example) or buy software like WebDrive, which is known to work well. jens
On 3/2/06, Einar Næss Jensen <einar.nass.jensen@gmail.com> wrote:
On 3/2/06, Einar Næss Jensen <einar.nass.jensen@gmail.com> wrote:
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another."
And the question is: What may I do to enable microsoft client to talk to my zope server? I want to transfer a large amount of images into the zodb, and need an easy way of doing this (from windows).
Check this http://www.zope.org/Collectors/Zope/1441 Then apply the following patches to Zope/lib/python/webdav/Resource.py : diff -c Resource.py Resource.py-patched *** Resource.py Thu Mar 2 16:37:27 2006 --- Resource.py-patched Thu Mar 2 16:37:25 2006 *************** *** 71,76 **** --- 71,77 ---- if not hasattr(response, '_server_version'): response.setHeader('Connection', 'close') response.setHeader('Date', rfc1123_date(), 1) + response.setHeader('MS-Author-Via', 'DAV') # HTTP Range support if HTTPRangeInterface.isImplementedBy(self): Then the following to Resource.py : bash-3.00$ diff -c Resource.py Resource.py-patched *** Resource.py Thu Mar 2 16:37:27 2006 --- Resource.py-patched Thu Mar 2 16:37:25 2006 *************** *** 71,76 **** --- 71,77 ---- if not hasattr(response, '_server_version'): response.setHeader('Connection', 'close') response.setHeader('Date', rfc1123_date(), 1) + response.setHeader('MS-Author-Via', 'DAV') # HTTP Range support if HTTPRangeInterface.isImplementedBy(self): Works for me with Office 2003 products. PS: Just noticed Tres' comment about comming up with a patch which makes the header addition configurable. I'll try do that on my next Zope upgrade. Regards, Patrick.
On 3/2/06, Patrick Decat <pdecat@gmail.com> wrote:
PS: Just noticed Tres' comment about comming up with a patch which makes the header addition configurable. I'll try do that on my next Zope upgrade.
Regards, Patrick.
I just upgraded from Zope 2.9.0 to Zope 2.9.1 and submitted a patch ( http://www.zope.org/Collectors/Zope/1441 ) that makes the 'MS-Author-Via' header configurable. Regards, Patrick.
At Thursday 2/3/2006 11:55, Einar Næss Jensen wrote:
I want to transfer a large amount of images into the zodb, and need an easy way of doing this (from windows).
Look at load_site.py inside your Zope bin directory. Gabriel Genellina Softlab SRL
Einar Næss Jensen wrote at 2006-3-2 15:50 +0100:
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another."
the traceback on zope is: 2006-03-02T15:48:41 ERROR Zope.SiteErrorLog http://www.hf.ntnu.no:8181/_vti_inf.html ... NotFound: (Zope errormessage)
Zope will refuse to traverse to any object the id of which starts with "_". For some unknown reason, you try to traverse to such an object. The error messages of MS WebDAV are completely horrible: you always get the same error message independently of what goes wrong I had to use different WebDAV clients or even use TCP loggers to analyse such cases. In all cases, Zope was to blame (it failed to recode property values with non ascii content (generating invalid XML) and its URL quoting was wrong) -- but a better error message from MS WebDAV had significantly facilitated the problem analysis... -- Dieter
participants (9)
-
Andreas Jung -
Chris Withers -
Dieter Maurer -
Einar Næss Jensen -
Gabriel Genellina -
Jens Vagelpohl -
Patrick Decat -
robert rottermann -
Tres Seaver