[2010-11-03 08:39:39,703][openerp] ERROR:web-services:[03]: File
"/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
line 711, in go
[2010-11-03 08:39:39,703][openerp] ERROR:web-services:[05]: File
"/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py",
line 399, in create
[2010-11-03 08:39:39,703][openerp] ERROR:web-services:[07]: File
"/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py",
line 462, in create_source_pdf
[2010-11-03 08:39:39,703][openerp] ERROR:web-services:[09]: File
"/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py",
line 482, in create_single_pdf
[2010-11-03 08:39:39,704][openerp] ERROR:web-services:[10]: logo =
base64.decodestring(rml_parser.logo)
[2010-11-03 08:39:39,704][openerp] ERROR:web-services:[11]: File
"/usr/lib/python2.6/base64.py", line 321, in decodestring
There are other problems reported by other python programmers on the net
with base64.py,
hence I asked whether those were at fault (?)
Best regards,
Arshad
On Wed, Nov 3, 2010 at 1:55 PM, Arshad Hisham A.P.M <<email address hidden>
> wrote:
> Hello,
>
> Thank you for the response.
>
> This is with a fresh install of OpenERP 6.0 RC1 web client with no
> modifications and with no customisations.
>
> i.e with demo data.
>
> As I again repeated earlier - the installation is on Ubuntu 10.04 LTS 64
> bit.
>
> I tried connecting to the 64 bit server through an openerp 6.0 client
> installed on another 32 bit linux machine.
>
> The same error was repeated when tyring to print an accounting report.
>
> So may be it is a problem with the openerp 6.0 server running on the 64
> bit LTS ubuntu?
>
> I am pasting the traceback here
>
> administrator@ubuntu:~/openerp-client-6.0.0-rc1/bin$
> /home/administrator/openerp-client-6.0.0-rc1/bin/modules/gui/window/tree.py:140:
> GtkWarning: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
> rb.set_icon_widget(hb)
> /home/administrator/openerp-client-6.0.0-rc1/bin/modules/gui/window/tree.py:145:
> GtkWarning: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
> wid.insert(rb, -1)
> Traceback (most recent call last):
> File
> "/home/administrator/openerp-client-6.0.0-rc1/bin/widget/view/form_gtk/parser.py",
> line 121, in button_clicked
> model.get_button_action(self.form.screen, id, self.attrs)
> File
> "/home/administrator/openerp-client-6.0.0-rc1/bin/widget/model/record.py",
> line 375, in get_button_action
> obj._exec_action(result, {}, context=context)
> File
> "/home/administrator/openerp-client-6.0.0-rc1/bin/modules/action/main.py",
> line 171, in _exec_action
> self.exec_report(action['report_name'], datas, context)
> File
> "/home/administrator/openerp-client-6.0.0-rc1/bin/modules/action/main.py",
> line 58, in exec_report
> val = rpc.session.rpc_exec_auth('/report', 'report_get', report_id)
> File "/home/administrator/openerp-client-6.0.0-rc1/bin/rpc.py", line 185,
> in rpc_exec_auth
> return sock.exec_auth(method, *args)
> File "/home/administrator/openerp-client-6.0.0-rc1/bin/rpc.py", line 119,
> in exec_auth
> res = self.execute(method, self._uid, self._passwd, *args)
> File "/home/administrator/openerp-client-6.0.0-rc1/bin/rpc.py", line 136,
> in execute
> raise e
> tiny_socket.Myexception: ("warning -- Incorrect padding\n\n(<class
> 'binascii.Error'>, Error('Incorrect padding',), <traceback object at
> 0x487eab8>)", 'Traceback (most recent call last):\n File
> "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489,
> in dispatch\n result =
> ExportService.getService(service_name).dispatch(method, auth, params)\n
> File
> "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
> line 685, in dispatch\n res = fn(db, uid, *params)\n File
> "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
> line 763, in exp_report_get\n return self._check_report(report_id)\n
> File
> "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
> line 741, in _check_report\n self.abortResponse(exc, exc.message,
> \'warning\', exc.traceback)\n File
> "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 129,
> in abortResponse\n raise Exception("%s -- %s\\n\\n%s"%(origin,
> description, details))\nException: warning -- Incorrect padding\n\n(<class
> \'binascii.Error\'>, Error(\'Incorrect padding\',), <traceback object at
> 0x487eab8>)\n')
>
>
>
> best regards,
> Arshad
>
> On Wed, Nov 3, 2010 at 1:34 PM, Fabien (Open ERP) <email address hidden> wrote:
>
>> Hello,
>> We need more information: did you used a logo in the company ? is this
>> with demo data or others data ?
>>
>> ** Changed in: openobject-addons
>> Status: New => Incomplete
>>
>> --
>> Report generation crashes on web-client (64 Bit OS)
>> https://bugs.launchpad.net/bugs/670228
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in OpenObject Addons Modules: Incomplete
>>
>> Bug description:
>> When we try to generate an accounting report from the web client. ( 6.0
>> RC1 )
>>
>> For example.
>>
>> The General Ledger report from Accounting division
>> ( Reporting -> Legal Reports -> Accounting Reports -> General Ledger )
>>
>> It crashes with the message - (<class 'binascii.Error'>, Error('Incorrect
>> padding',), <traceback object at 0x4b1f200>)
>>
>> We are using 64 bit Ubuntu 10.04 LTS. This seems to work fine when running
>> on a 32 bit Ubuntu 10.04 LTS.
>>
>> After a bit of googling we found that the issue maybe with Python
>> libraries (?) that you are using.
>>
>> The source code we are using is the same that is published on the OpenERP
>> website ( 6.0 RC1 )
>>
>> To unsubscribe from this bug, go to:
>> https://bugs.launchpad.net/openobject-addons/+bug/670228/+subscribe
>>
>
>
Hello,
Aplologies for not attaching this earlier.
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [01]: Exception:
Incorrect padding
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [02]: Traceback (most
recent call last):
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [03]: File lib/python2. 6/dist- packages/ openerp- server/ service/ web_services. py",
"/usr/local/
line 711, in go
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [04]: (result,
format) = obj.create(cr, uid, ids, datas, context)
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [05]: File lib/python2. 6/dist- packages/ openerp- server/ report/ report_ sxw.py" ,
"/usr/local/
line 399, in create
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [06]: fnct_ret =
fnct(cr, uid, ids, data, report_xml, context)
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [07]: File lib/python2. 6/dist- packages/ openerp- server/ report/ report_ sxw.py" ,
"/usr/local/
line 462, in create_source_pdf
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [08]: return single_ pdf(cr, uid, ids, data, report_xml, context)
self.create_
[2010-11-03 08:39:39, 703][openerp] ERROR:web- services: [09]: File lib/python2. 6/dist- packages/ openerp- server/ report/ report_ sxw.py" ,
"/usr/local/
line 482, in create_single_pdf
[2010-11-03 08:39:39, 704][openerp] ERROR:web- services: [10]: logo = decodestring( rml_parser. logo)
base64.
[2010-11-03 08:39:39, 704][openerp] ERROR:web- services: [11]: File python2. 6/base64. py", line 321, in decodestring
"/usr/lib/
[2010-11-03 08:39:39, 704][openerp] ERROR:web- services: [12]: return a2b_base64( s)
binascii.
[2010-11-03 08:39:39, 704][openerp] ERROR:web- services: [13]: Error: Incorrect
padding
[03/Nov/ 2010:08: 39:40] HTTP Traceback (most recent call last):
Looks like the yellow one is the culprit.
There are other problems reported by other python programmers on the net
with base64.py,
hence I asked whether those were at fault (?)
Best regards,
Arshad
On Wed, Nov 3, 2010 at 1:55 PM, Arshad Hisham A.P.M <<email address hidden>
> wrote:
> Hello, ubuntu: ~/openerp- client- 6.0.0-rc1/ bin$ ator/openerp- client- 6.0.0-rc1/ bin/modules/ gui/window/ tree.py: 140: set_alignment: assertion `GTK_IS_MISC (misc)' failed icon_widget( hb) ator/openerp- client- 6.0.0-rc1/ bin/modules/ gui/window/ tree.py: 145: set_alignment: assertion `GTK_IS_MISC (misc)' failed administrator/ openerp- client- 6.0.0-rc1/ bin/widget/ view/form_ gtk/parser. py", button_ action( self.form. screen, id, self.attrs) administrator/ openerp- client- 6.0.0-rc1/ bin/widget/ model/record. py", action( result, {}, context=context) administrator/ openerp- client- 6.0.0-rc1/ bin/modules/ action/ main.py" , report( action[ 'report_ name'], datas, context) administrator/ openerp- client- 6.0.0-rc1/ bin/modules/ action/ main.py" , rpc_exec_ auth('/ report' , 'report_get', report_id) administrator/ openerp- client- 6.0.0-rc1/ bin/rpc. py", line 185, auth(method, *args) administrator/ openerp- client- 6.0.0-rc1/ bin/rpc. py", line 119, method, self._uid, self._passwd, *args) administrator/ openerp- client- 6.0.0-rc1/ bin/rpc. py", line 136, Myexception: ("warning -- Incorrect padding\n\n(<class lib/python2. 6/dist- packages/ openerp- server/ netsvc. py", line 489, getService( service_ name).dispatch( method, auth, params)\n lib/python2. 6/dist- packages/ openerp- server/ service/ web_services. py", lib/python2. 6/dist- packages/ openerp- server/ service/ web_services. py", report( report_ id)\n lib/python2. 6/dist- packages/ openerp- server/ service/ web_services. py", nse(exc, exc.message, lib/python2. 6/dist- packages/ openerp- server/ netsvc. py", line 129, n%s"%(origin, )\nException: warning -- Incorrect padding\n\n(<class Error\' >, Error(\'Incorrect padding\',), <traceback object at /bugs.launchpad .net/bugs/ 670228 /bugs.launchpad .net/openobject -addons/ +bug/670228/ +subscribe
>
> Thank you for the response.
>
> This is with a fresh install of OpenERP 6.0 RC1 web client with no
> modifications and with no customisations.
>
> i.e with demo data.
>
> As I again repeated earlier - the installation is on Ubuntu 10.04 LTS 64
> bit.
>
> I tried connecting to the 64 bit server through an openerp 6.0 client
> installed on another 32 bit linux machine.
>
> The same error was repeated when tyring to print an accounting report.
>
> So may be it is a problem with the openerp 6.0 server running on the 64
> bit LTS ubuntu?
>
> I am pasting the traceback here
>
> administrator@
> /home/administr
> GtkWarning: gtk_misc_
> rb.set_
> /home/administr
> GtkWarning: gtk_misc_
> wid.insert(rb, -1)
> Traceback (most recent call last):
> File
> "/home/
> line 121, in button_clicked
> model.get_
> File
> "/home/
> line 375, in get_button_action
> obj._exec_
> File
> "/home/
> line 171, in _exec_action
> self.exec_
> File
> "/home/
> line 58, in exec_report
> val = rpc.session.
> File "/home/
> in rpc_exec_auth
> return sock.exec_
> File "/home/
> in exec_auth
> res = self.execute(
> File "/home/
> in execute
> raise e
> tiny_socket.
> 'binascii.Error'>, Error('Incorrect padding',), <traceback object at
> 0x487eab8>)", 'Traceback (most recent call last):\n File
> "/usr/local/
> in dispatch\n result =
> ExportService.
> File
> "/usr/local/
> line 685, in dispatch\n res = fn(db, uid, *params)\n File
> "/usr/local/
> line 763, in exp_report_get\n return self._check_
> File
> "/usr/local/
> line 741, in _check_report\n self.abortRespo
> \'warning\', exc.traceback)\n File
> "/usr/local/
> in abortResponse\n raise Exception("%s -- %s\\n\\
> description, details)
> \'binascii.
> 0x487eab8>)\n')
>
>
>
> best regards,
> Arshad
>
> On Wed, Nov 3, 2010 at 1:34 PM, Fabien (Open ERP) <email address hidden> wrote:
>
>> Hello,
>> We need more information: did you used a logo in the company ? is this
>> with demo data or others data ?
>>
>> ** Changed in: openobject-addons
>> Status: New => Incomplete
>>
>> --
>> Report generation crashes on web-client (64 Bit OS)
>> https:/
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in OpenObject Addons Modules: Incomplete
>>
>> Bug description:
>> When we try to generate an accounting report from the web client. ( 6.0
>> RC1 )
>>
>> For example.
>>
>> The General Ledger report from Accounting division
>> ( Reporting -> Legal Reports -> Accounting Reports -> General Ledger )
>>
>> It crashes with the message - (<class 'binascii.Error'>, Error('Incorrect
>> padding',), <traceback object at 0x4b1f200>)
>>
>> We are using 64 bit Ubuntu 10.04 LTS. This seems to work fine when running
>> on a 32 bit Ubuntu 10.04 LTS.
>>
>> After a bit of googling we found that the issue maybe with Python
>> libraries (?) that you are using.
>>
>> The source code we are using is the same that is published on the OpenERP
>> website ( 6.0 RC1 )
>>
>> To unsubscribe from this bug, go to:
>> https:/
>>
>
>