print screen error

Bug #413484 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Vinay Rana (OpenERP)

Bug Description

could be related to https://bugs.launchpad.net/bugs/413206 - it's the same form

Environment Information :
System : Linux-2.6.25.20-0.4-default-x86_64-with-SuSE-11.0-X86-64
OS Name : posix
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64:desktop-3.1-amd64:desktop-3.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 11.0 (X86-64)
Release: 11.0
Codename: n/a
Operating System Release : 2.6.25.20-0.4-default
Operating System Version : #1 SMP 2009-06-01 09:57:12 +0200
Operating System Architecture : 64bit
Operating System Locale : de_DE.ISO8859-1
Python Version : 2.5.2
OpenERP-Client Version : 5.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/terp/OpenERP/branch/server/5.0/bin/service/web_services.py", line 687, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/home/terp/OpenERP/branch/server/5.0/bin/report/printscreen/ps_list.py", line 85, in create
    res = self._create_table(uid, datas['ids'], result['fields'], fields_order, rows, context, model_desc)
  File "/home/terp/OpenERP/branch/server/5.0/bin/report/printscreen/ps_list.py", line 142, in _create_table
    field.text = fields[f]['string'] or ''
  File "lxml.etree.pyx", line 829, in lxml.etree._Element.text.__set__ (src/lxml/lxml.etree.c:9403)
  File "apihelpers.pxi", line 409, in lxml.etree._setNodeText (src/lxml/lxml.etree.c:28142)
  File "apihelpers.pxi", line 941, in lxml.etree._utf8 (src/lxml/lxml.etree.c:32079)
AssertionError: All strings must be XML compatible, either Unicode or ASCII

Related branches

Revision history for this message
Ferdinand (office-chricar) wrote :

save with revno 976

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello Ferdinand @ ChriCar ,

I have tested your bug related to print screen but i have not got any error message with any language changes from my side. So Please Provide me more information from your side so i will get exact problem related to print screen report.

Thanks.

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Ferdinand (office-chricar) wrote :

one field is defined as

'lease_current_m2' : fields.function(_lease_current_m2, method=True, string="Current/m²",type='float',digits=(16,2)),

pls note the "m²"
I think this might cause the problem

Changed in openobject-server:
status: Incomplete → New
Changed in openobject-server:
status: New → Confirmed
Changed in openobject-server:
assignee: nobody → vra (openerp) (vra-openerp)
status: Confirmed → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you a lot for reporting this issue.

Fixed by revision 1817 <email address hidden>.

Changed in openobject-server:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.