c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23764
Re: [Bug 777829] Re: [6.1 trunk] : [document_webdav] cannot see content of DAV folders
On 09. 05. 11 17:26, xrg wrote:
> On Monday 09 May 2011, you wrote:
>> On 09. 05. 11 13:49, Amit Parik (OpenERP) wrote:
>>> I have checked your issue. But all are working as expected at my end.
>>> So would you please tell me which end client you have used to access
>>> webdav?
>> before wasting too much of your time, could you please provide me with
>> some proper information on how to configure the module? it might be that
>> i missed something, as not much is said in the official doc.
>>
>> now, i use ubuntu, with firefox.
> ok, now I can answer:
> If you are using a _web browser_ to see the WebDAV folders, you will see
> nothing. That's normal.
>
> You would have to use a webdav client to see them, such as konqueror (with
> webdav:// url, not http:// ) or nautilus etc.
>
> What you are trying to do, ie. GET /webdav/dbname/foldername , makes sense,
> but the webdav protocol requires that we return an empty document (no data)
> for folders (aka. DAV "collections").
> I had thought seriously about violating this part of the protocol and
> returning a html page with the files listing for folders, when I see that the
> client is just a regular html browser. Not implemented yet, though.
>
now that i use konqueror, I have one error in the log, if the address is
like that: webdav://localhost:8069/
[2011-05-09 18:20:42,579][?] INFO:DAV.propfind:PROPFIND: Depth is 0, URI is
[2011-05-09 18:20:44,079][?] INFO:DAV.propfind:PROPFIND: Depth is 1, URI is
[2011-05-09 18:20:44,082][?] ERROR:httpd:Cannot PROPFIND
Traceback (most recent call last):
File "/home/openerp/addons/document_webdav/webdav_server.py", line
531, in do_PROPFIND
DATA = '%s\n' % pf.createResponse()
File "/usr/lib/pymodules/python2.7/DAV/propfind.py", line 93, in
createResponse
df = self.create_prop()
File "/usr/lib/pymodules/python2.7/DAV/propfind.py", line 188, in
create_prop
for newuri in self._dataclass.get_childs(self._uri):
AttributeError: 'dummy_dav_interface' object has no attribute 'get_childs'
[2011-05-09 18:20:44,082][?] ERROR:http:Could not run do_PROPFIND
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/openerp_server-6.1_dev-py2.7.egg/openerp/service/websrv_lib.py",
line 299, in _handle_one_foreign
method()
File "/home/openerp/addons/document_webdav/webdav_server.py", line
531, in do_PROPFIND
DATA = '%s\n' % pf.createResponse()
File "/usr/lib/pymodules/python2.7/DAV/propfind.py", line 93, in
createResponse
df = self.create_prop()
File "/usr/lib/pymodules/python2.7/DAV/propfind.py", line 188, in
create_prop
for newuri in self._dataclass.get_childs(self._uri):
AttributeError: 'dummy_dav_interface' object has no attribute 'get_childs'
[2011-05-09 18:20:44,083][?] ERROR:http:code 500, message Internal error
if i add webdav/ it goes on smoothly
it works, i finally got files, but is sooooo slow :-(
thank you!
bogdan
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/777829
Title:
[6.1 trunk] : [document_webdav] cannot see content of DAV folders
Status in OpenERP Modules (addons):
Incomplete
Bug description:
Hi there,
After installing the module document_webdav and configuring it, I have
the following behaviour:
go to localhost:8069/webdav/dbname/Documents
asked for username and pwd, fill in, click OK
EMPTY page.
Is there any partucular config which in not mentioned?
thank you!
b
References