payload variable urlsafe_b64decoe Exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I run the 6.0.2 web client @ Windows XP SP3(Python2.6).
and login to the system, click TopMenu "Purchase", "Stock", "Account", got the Exception message:
<type 'exceptions.
args = ('character mapping must return integer, None or unicode',)
message = 'character mapping must return integer, None or unicode'
the detail logs:
u'eJxdUslugzAQ_
c:\Python26\
109 The alphabet uses '-' instead of '+' and '_' instead of '/'.
110 """
111 return b64decode(s, '-_')
112
113
global b64decode = <function b64decode at 0x00CB2830>, s = u'eJxdUslugzAQ_
c:\Python26\
68 """
69 if altchars is not None:
70 s = _translate(s, {altchars[0]: '+', altchars[1]: '/'})
71 try:
72 return binascii.
s = u'eJxdUslugzAQ_
c:\Python26\
34 for k, v in altchars.items():
35 translation[ord(k)] = v
36 return s.translate(
37
and I get the "payload" variable value to call base64.
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>> base64.
H-vx9Qh7cXg4c1b
FYheE0dB8vOsf5h
VHyj7nfVpcjJpZq
tonpOq5Cu7f-
RUrt58obDFvhMMn
vu0KUZbn9eKmKad
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\Python26\
return b64decode(s, '-_')
File "c:\Python26\
s = _translate(s, {altchars[0]: '+', altchars[1]: '/'})
File "c:\Python26\
return s.translate(
TypeError: character mapping must return integer, None or unicode
>>>
Is it a bug?
mrshelly
2011/06/16
Thanks a lot for reporting this bug and contributing to OpenERP. Unfortunately the OpenERP Web Client project is not going to be developed further after the 6.0 series. As of 6.1 a newer and better web frontend known as the OpenERP Web project[1] will be available.
Our R&D developers normally work in Launchpad to fix bugs for the next release, but there will be no next release for the current OpenERP Web Client. As our resources are limited, all further R&D efforts from the Web team are dedicated to finish the new 6.1 OpenERP Web project[1].
This bug will be closed as "Won't Fix" to show that R&D won't be able to work on it.
Bugs affecting customers in production of course continue to be handled via the OpenERP Enterprise (OPW) maintenance service, and this is the recommended way to have them corrected directly in the 6.0 LTS stable branch.
You can find more details about all of this in the FAQ of our Bug Management Policy documentation[2].
If you are interested, you should soon be able to beta-test the new OpenERP Web 6.1 (this will be announced on OpenERP Community channels).
Thank you for your contributions and for your understanding!
[1] https:/ /launchpad. net/openerp- web bit.ly/ openerp- bugs-faq (FAQ #4)
[2] http://