[Bug 427170] [NEW] Can't print report in openerp-web client

rogerger rogerger.py at gmail.com
Thu Sep 10 04:42:13 UTC 2009


Public bug reported:

Binary package hint: openerp-server

I am using python 2.5, openerp 5.0.3 (from official site). I am having
the problem generating the report of Sales Order and Quotation in
opernerp-web client. However the openerp-gtk client works okay.
(openerp-web is the one causing the problem)

This is the error message that I get:

  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/rpc.py", line 350, in execute
    return self.gateway.execute(obj, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/rpc.py", line 154, in execute
    return self.__execute(obj, method, args)
  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/rpc.py", line 143, in __execute
    raise common.error(_('Application Error!'), str(e))
  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/common.py", line 72, in error
    raise TinyError(message=msg, title=title or _("Error"))
TinyError: 'utf8' codec can't decode byte 0xbc in position 10: unexpected code byte

I tried to trace it in rpc.py -> __init__.py -> def ustr and added some
debug info (Not sure if it is helpful)

------------------unicode1-------------------
    <script type="text/javascript" src="/cp_widgets/openerp/javascript/tabber/tabber_cookie.js" ></script>
-------------------unicode1-------------------

-------------------unicode1-------------------
    <script type="text/javascript" >

                  if (typeof(tabberOptions) == "undefined")
                      var tabberOptions = {};
                  tabberOptions['onLoad'] = tabber_onload;
                  tabberOptions['onClick'] = tabber_onclick;
                  tabberOptions['cookie'] = 'TGTabber';
                  tabberOptions['manualStartup'] = true;
    </script>
-------------------unicode1-------------------
/cp_widgets/openerp/javascript/tabber/tabber.js
-------------------unicode1-------------------

-------------------unicode1-------------------
    <script type="text/javascript" src="/cp_widgets/openerp/javascript/tabber/tabber.js" ></script>
-------------------unicode1-------------------
Application Error!
-------------------unicode1-------------------

-------------------unicode1-------------------
Modules

Can you please help me to solve this bug?

** Affects: openerp-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Can't print report in openerp-web client
https://bugs.launchpad.net/bugs/427170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list