← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 798210] Re: payload variable urlsafe_b64decoe Exception

 

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
[2] http://bit.ly/openerp-bugs-faq (FAQ #4)

** Changed in: openobject-client-web
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/798210

Title:
  payload variable urlsafe_b64decoe Exception

Status in OpenERP Web Client:
  Won't Fix

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.TypeError'>: character mapping must return integer, None or unicode 
        args = ('character mapping must return integer, None or unicode',) 
        message = 'character mapping must return integer, None or unicode'


  the detail logs:

  
  u'eJxdUslugzAQ_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQm...zZWTJGVAoiCLrp99Qlvu0KUZbn9eKmKadAWlSEXKcph-V_tqz'
   c:\Python26\lib\base64.py in urlsafe_b64decode(s=u'eJxdUslugzAQ_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQm...zZWTJGVAoiCLrp99Qlvu0KUZbn9eKmKadAWlSEXKcph-V_tqz')
    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_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQm...zZWTJGVAoiCLrp99Qlvu0KUZbn9eKmKadAWlSEXKcph-V_tqz'
   c:\Python26\lib\base64.py in b64decode(s=u'eJxdUslugzAQ_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQm...zZWTJGVAoiCLrp99Qlvu0KUZbn9eKmKadAWlSEXKcph-V_tqz', altchars='-_')
     68     """
     69     if altchars is not None:
     70         s = _translate(s, {altchars[0]: '+', altchars[1]: '/'})
     71     try:
     72         return binascii.a2b_base64(s)
  s = u'eJxdUslugzAQ_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQm...zZWTJGVAoiCLrp99Qlvu0KUZbn9eKmKadAWlSEXKcph-V_tqz', global _translate = <function _translate at 0x00CAEB30>, altchars = '-_'
   c:\Python26\lib\base64.py in _translate(s=u'eJxdUslugzAQ_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQm...zZWTJGVAoiCLrp99Qlvu0KUZbn9eKmKadAWlSEXKcph-V_tqz', altchars={'-': '+', '_': '/'})
     34     for k, v in altchars.items():
     35         translation[ord(k)] = v
     36     return s.translate(''.join(translation))
     37 

  
  and I get the "payload" variable value to call    base64.urlsafe_b64decode like :

  
  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.urlsafe_b64decode(u'eJxdUslugzAQ_ZXc3EoRKiRNo1wr9dhTbyWyJsYQS8a2vJQmi
  H-vx9Qh7cXg4c1bhhkJMC-0IofVSDqrg3FUNPH2eVyvSKN7EPjtDaTjsXDm0txdvwQfqL8YHmuBtNr2J
  FYheE0dB8vOsf5hA0Itd7TXDZcJetJgmyKdJPMk2YdtVa1vAGBMB-WLxPwYgTMrXfDZSdK0vI0yKPqUS
  VHyj7nfVpcjJpZqt42vHmzHfUKzYC1XHhu04Yo3S5A-SC_ulBX0s0Idtm0JddifoKzDbgMvdXiuNrt4b
  tonpOq5Cu7f-JKRnHrOibZaIT23d1hn2W1-udYIZyRcKPJSL8xiUopeYJI9DoJp5fn3HGyc0Ehw0M2ms
  RUrt58obDFvhMMnHYRq9EAmVAMPaU0WvpFIUF3qu57p6zsyMSlwcocVGfgpUV-zZWTJGVAoiCLrp99Ql
  vu0KUZbn9eKmKadAWlSEXKcph-V_tqz')
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "c:\Python26\lib\base64.py", line 111, in urlsafe_b64decode
      return b64decode(s, '-_')
    File "c:\Python26\lib\base64.py", line 70, in b64decode
      s = _translate(s, {altchars[0]: '+', altchars[1]: '/'})
    File "c:\Python26\lib\base64.py", line 36, in _translate
      return s.translate(''.join(translation))
  TypeError: character mapping must return integer, None or unicode
  >>>

  Is it a bug?

  
  mrshelly

  2011/06/16

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/798210/+subscriptions


References