cannot concatenate 'str' and 'lxml.etree._LogEntry' objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Christophe Simonis (OpenERP) |
Bug Description
When developing I made a mistake and got the following error:
[2009-08-14 15:07:08,315] ERROR:web-
[2009-08-14 15:07:08,316] ERROR:web-
[2009-08-14 15:07:08,317] ERROR:web-
[2009-08-14 15:07:08,318] ERROR:web-
[2009-08-14 15:07:08,319] ERROR:web-
[2009-08-14 15:07:08,320] ERROR:web-
[2009-08-14 15:07:08,321] ERROR:web-
[2009-08-14 15:07:08,324] ERROR:web-
[2009-08-14 15:07:08,325] ERROR:web-
[2009-08-14 15:07:08,326] ERROR:web-
[2009-08-14 15:07:08,326] ERROR:web-
[2009-08-14 15:07:08,327] ERROR:web-
[2009-08-14 15:07:08,328] ERROR:web-
[2009-08-14 15:07:08,329] ERROR:web-
[2009-08-14 15:07:08,330] ERROR:web-
[2009-08-14 15:07:08,331] ERROR:web-
[2009-08-14 15:07:08,332] ERROR:web-
[2009-08-14 15:07:08,333] ERROR:web-
[2009-08-14 15:07:08,334] ERROR:web-
[2009-08-14 15:07:08,335] ERROR:web-
[2009-08-14 15:07:08,336] ERROR:web-
[2009-08-14 15:07:08,337] ERROR:web-
[2009-08-14 15:07:08,340] ERROR:web-
[2009-08-14 15:07:08,341] ERROR:web-
[2009-08-14 15:07:08,342] ERROR:web-
The following patch fixes it for me:
=== modified file 'bin/netsvc.py'
--- bin/netsvc.py 2009-07-07 10:02:07 +0000
+++ bin/netsvc.py 2009-08-14 13:16:44 +0000
@@ -171,7 +171,7 @@
msg = tools.exception
if level in (LOG_ERROR,
- msg = common(
+ msg = common(
result = tools.ustr(
if len(result)>1:
And then I get a proper error:
[2009-08-14 15:10:40,155] ERROR:init:[01]: Environment Information :
[2009-08-14 15:10:40,155] ERROR:init:[02]: PlatForm : Linux-2.
[2009-08-14 15:10:40,155] ERROR:init:[03]: Operating System : posix
[2009-08-14 15:10:40,156] ERROR:init:[04]: Operating System Release : 2.6.26-2-xen-686
[2009-08-14 15:10:40,156] ERROR:init:[05]: Operating System Version : #1 SMP Sun Jun 21 09:15:17 UTC 2009
[2009-08-14 15:10:40,156] ERROR:init:[06]: Operating System Architecture : 32bit
[2009-08-14 15:10:40,156] ERROR:init:[07]: Operating System Locale :
[2009-08-14 15:10:40,156] ERROR:init:[08]: Python Version : 2.5.4
[2009-08-14 15:10:40,156] ERROR:init:[09]: OpenERP-Server Version : 5.0.1
[2009-08-14 15:10:40,157] ERROR:init:[10]: Last revision No. & ID : /project/
Traceback (most recent call last):
File "openobject-
pooler.
File "/project/
addons.
File "/project/
r = load_module_
File "/project/
tools.
File "/project/
relaxng.
File "lxml.etree.pyx", line 2669, in lxml.etree.
AssertionError: Element wizard failed to validate attributes, line 36
Related branches
Changed in openobject-server: | |
assignee: | nobody → Christophe (OpenERP) (kangol) |
status: | New → Fix Released |