← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 556273] Re: Python-XML still used in document_webdav

 

Hello,

we are using "PyWebDAV" for webdav server and we removed DAV stuff from document_webdav module.
so I'm closed this bug.

Thanks

** Changed in: openobject-addons/trunk
       Status: Confirmed => Fix Released

-- 
Python-XML still used in document_webdav
https://bugs.launchpad.net/bugs/556273
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: Fix Released
Status in OpenObject Addons trunk series: Fix Released

Bug description:
Trying to install document_webdav on the latest trunk (revid codehost@crowberry-20100406040120-ce71kl30h2qvczxq), I get the following traceback in the server log:

[2010-04-06 09:35:42,491] CRITICAL:init:Couldn't load module document_webdav
[2010-04-06 09:35:42,491] CRITICAL:init:cannot import name ext
[2010-04-06 09:35:42,493] ERROR:web-services:[01]: Traceback (most recent call last):
[2010-04-06 09:35:42,493] ERROR:web-services:[02]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/osv/osv.py", line 57, in wrapper
[2010-04-06 09:35:42,493] ERROR:web-services:[03]:     return f(self, dbname, *args, **kwargs)
[2010-04-06 09:35:42,493] ERROR:web-services:[04]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/osv/osv.py", line 120, in execute
[2010-04-06 09:35:42,493] ERROR:web-services:[05]:     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2010-04-06 09:35:42,493] ERROR:web-services:[06]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/osv/osv.py", line 110, in execute_cr
[2010-04-06 09:35:42,493] ERROR:web-services:[07]:     return getattr(object, method)(cr, uid, *args, **kw)
[2010-04-06 09:35:42,494] ERROR:web-services:[08]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/addons/base/res/res_config.py", line 154, in action_next
[2010-04-06 09:35:42,494] ERROR:web-services:[09]:     next = self.execute(cr, uid, ids, context=None)
[2010-04-06 09:35:42,494] ERROR:web-services:[10]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/addons/base/res/res_config.py", line 384, in execute
[2010-04-06 09:35:42,494] ERROR:web-services:[11]:     pooler.restart_pool(cr.dbname, update_module=True)
[2010-04-06 09:35:42,494] ERROR:web-services:[12]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/pooler.py", line 61, in restart_pool
[2010-04-06 09:35:42,494] ERROR:web-services:[13]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2010-04-06 09:35:42,494] ERROR:web-services:[14]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/pooler.py", line 39, in get_db_and_pool
[2010-04-06 09:35:42,494] ERROR:web-services:[15]:     addons.load_modules(db, force_demo, status, update_module)
[2010-04-06 09:35:42,495] ERROR:web-services:[16]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/addons/__init__.py", line 781, in load_modules
[2010-04-06 09:35:42,495] ERROR:web-services:[17]:     r = load_module_graph(cr, graph, status, report=report)
[2010-04-06 09:35:42,495] ERROR:web-services:[18]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/addons/__init__.py", line 613, in load_module_graph
[2010-04-06 09:35:42,495] ERROR:web-services:[19]:     register_class(package.name)
[2010-04-06 09:35:42,495] ERROR:web-services:[20]:   File "/Users/masklinn/projects/tiny/server/trunk/bin/addons/__init__.py", line 433, in register_class
[2010-04-06 09:35:42,495] ERROR:web-services:[21]:     imp.load_module(m, *fm)
[2010-04-06 09:35:42,495] ERROR:web-services:[22]:   File "/Users/masklinn/projects/tiny/addons/trunk/document_webdav/__init__.py", line 29, in <module>
[2010-04-06 09:35:42,495] ERROR:web-services:[23]:     import webdav_server
[2010-04-06 09:35:42,495] ERROR:web-services:[24]:   File "/Users/masklinn/projects/tiny/addons/trunk/document_webdav/webdav_server.py", line 31, in <module>
[2010-04-06 09:35:42,496] ERROR:web-services:[25]:     from dav_fs import tinydav_handler
[2010-04-06 09:35:42,496] ERROR:web-services:[26]:   File "/Users/masklinn/projects/tiny/addons/trunk/document_webdav/dav_fs.py", line 48, in <module>
[2010-04-06 09:35:42,496] ERROR:web-services:[27]:     from DAV.davcmd import copyone, copytree, moveone, movetree, delone, deltree
[2010-04-06 09:35:42,496] ERROR:web-services:[28]:   File "/Users/masklinn/projects/tiny/addons/trunk/document_webdav/DAV/davcmd.py", line 14, in <module>
[2010-04-06 09:35:42,496] ERROR:web-services:[29]:     from utils import create_treelist, is_prefix
[2010-04-06 09:35:42,496] ERROR:web-services:[30]:   File "/Users/masklinn/projects/tiny/addons/trunk/document_webdav/DAV/utils.py", line 11, in <module>
[2010-04-06 09:35:42,496] ERROR:web-services:[31]:     from xml.dom import ext
[2010-04-06 09:35:42,496] ERROR:web-services:[32]: ImportError: cannot import name ext

xml.dom.ext is part of python-xml, which is supposed to have been removed from everything.