You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2005/10/07 15:25:46 UTC

WebDAV problem nearly solved

Hi

I just realized that the data is being uploaded, but I never receive

Uploading changes to `/default/authoring/links_en.html'
Progress: [=============================>] 100.0% of 25126 bytes failed:
500 Internal Server Error
Try uploading again (y/n)? n

Is it possible that because of the switch from 200 to 500 in the case of
errors Cadaver now has a problem, resp. there was always an error which
didn't get noticed because it didn't really matter?

Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: WebDAV problem nearly solved

Posted by Doug Chestnut <dh...@virginia.edu>.
Looks like a problem in the webdav.js script:

[...]
</script><div class="lenya-box"><div class="lenya-box-title">An error 
occured.</div><div class="lenya-box-body"><p>"url" is not 
defined.</p><p>org.apache.cocoon.ProcessingException: Error calling 
flowscript function put
	at [EcmaError] - 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js:290:0
	at 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js:290:-1
	at 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js:53:-1
	at &lt;map:call&gt; - 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap:225:36
	at 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js:45:-1
	at &lt;map:call&gt; - 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap:122:43
	at &lt;map:mount&gt; - 
file:/lv1/local/lenya-live/build/lenya/webapp/lenya/pubs/default/sitemap.xmap:54:136
	at &lt;map:mount&gt; - 
file:/lv1/local/lenya-live/build/lenya/webapp/global-sitemap.xmap:408:113
[...]

Doug Chestnut wrote:
> Hi Michi,
> Yeah, I am seeing the same problem now after doing a clean build on a 
> publication that I have been working with.
> 
> I am not really sure why a 500 code is being returned.  Looking at it now.
> 
> --Doug
> 
> Michael Wechner wrote:
> 
>> Hi
>>
>> I just realized that the data is being uploaded, but I never receive
>>
>> Uploading changes to `/default/authoring/links_en.html'
>> Progress: [=============================>] 100.0% of 25126 bytes failed:
>> 500 Internal Server Error
>> Try uploading again (y/n)? n
>>
>> Is it possible that because of the switch from 200 to 500 in the case of
>> errors Cadaver now has a problem, resp. there was always an error which
>> didn't get noticed because it didn't really matter?
>>
>> Thanks
>>
>> Michi
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: WebDAV problem nearly solved

Posted by Doug Chestnut <dh...@virginia.edu>.

Michael Wechner wrote:
> Doug Chestnut wrote:
> 
>> The webdav.js commit seems to have fixed the problem.
> 
> 
> 
> very cool
> 
>>   Sorry about that, guess debugging is a bonus from fixing the 
>> response codes :).
> 
> 
> 
> yes ;-)
> 
> So I can remove the useragent, right?

If that is what shows up in your headers ("gnome-vfs/2.10.0 
neon/0.24.7") then you will want to leave it there (you might want to 
remove the version though).

My cadaver user-agent shows up on mac osx as (matches on the dav browser):
cadaver/0.19.1 neon/0.18.5
> 
> Thanks
> 
> Michi
> 
>>
>>
>> --Doug
>>
>> Michael Wechner wrote:
>>
>>> Doug Chestnut wrote:
>>>
>>>> Hi Michi,
>>>> Yeah, I am seeing the same problem now after doing a clean build on 
>>>> a publication that I have been working with.
>>>>
>>>> I am not really sure why a 500 code is being returned.  Looking at 
>>>> it now.
>>>
>>>
>>>
>>>
>>>
>>> cool, thanks. I am not sure but it might have something to do with 
>>> the "missing" useragent within src/confpatch/selectors.xmap
>>>
>>> Michi
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: WebDAV problem nearly solved

Posted by Michael Wechner <mi...@wyona.com>.
Doug Chestnut wrote:

> The webdav.js commit seems to have fixed the problem.


very cool

>   Sorry about that, guess debugging is a bonus from fixing the 
> response codes :).


yes ;-)

So I can remove the useragent, right?

Thanks

Michi

>
>
> --Doug
>
> Michael Wechner wrote:
>
>> Doug Chestnut wrote:
>>
>>> Hi Michi,
>>> Yeah, I am seeing the same problem now after doing a clean build on 
>>> a publication that I have been working with.
>>>
>>> I am not really sure why a 500 code is being returned.  Looking at 
>>> it now.
>>
>>
>>
>>
>> cool, thanks. I am not sure but it might have something to do with 
>> the "missing" useragent within src/confpatch/selectors.xmap
>>
>> Michi
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: WebDAV problem nearly solved

Posted by Doug Chestnut <dh...@virginia.edu>.
The webdav.js commit seems to have fixed the problem.  Sorry about that, 
guess debugging is a bonus from fixing the response codes :).

--Doug

Michael Wechner wrote:
> Doug Chestnut wrote:
> 
>> Hi Michi,
>> Yeah, I am seeing the same problem now after doing a clean build on a 
>> publication that I have been working with.
>>
>> I am not really sure why a 500 code is being returned.  Looking at it 
>> now.
> 
> 
> 
> cool, thanks. I am not sure but it might have something to do with the 
> "missing" useragent within src/confpatch/selectors.xmap
> 
> Michi
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: WebDAV problem nearly solved

Posted by Michael Wechner <mi...@wyona.com>.
Doug Chestnut wrote:

> Hi Michi,
> Yeah, I am seeing the same problem now after doing a clean build on a 
> publication that I have been working with.
>
> I am not really sure why a 500 code is being returned.  Looking at it now.


cool, thanks. I am not sure but it might have something to do with the 
"missing" useragent within src/confpatch/selectors.xmap

Michi


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: WebDAV problem nearly solved

Posted by Doug Chestnut <dh...@virginia.edu>.
Hi Michi,
Yeah, I am seeing the same problem now after doing a clean build on a 
publication that I have been working with.

I am not really sure why a 500 code is being returned.  Looking at it now.

--Doug

Michael Wechner wrote:
> Hi
> 
> I just realized that the data is being uploaded, but I never receive
> 
> Uploading changes to `/default/authoring/links_en.html'
> Progress: [=============================>] 100.0% of 25126 bytes failed:
> 500 Internal Server Error
> Try uploading again (y/n)? n
> 
> Is it possible that because of the switch from 200 to 500 in the case of
> errors Cadaver now has a problem, resp. there was always an error which
> didn't get noticed because it didn't really matter?
> 
> Thanks
> 
> Michi
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org