Project

General

Profile

Bug #39924

payment, urllib.urlencode

Added by Frédéric Péters about 2 months ago. Updated about 2 months ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
16 Feb 2020
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

Exception:
  type = '<class 'AttributeError'>', value = 'module 'urllib' has no attribute 'urlencode''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/auquotidien/modules/payments.py", line 487, in _q_lookup
   485         query_string = get_request().get_query()
   486         if request.get_method() == 'POST' and query_string == '':
>  487             query_string = urllib.urlencode(request.form)
   488         try:
   489             regie = Regie.get(component)

  locals:
     component = '1'
     logger = <logging.Logger object at 0x7fb2ed221fd0>
     query_string = ''
     request = <wcs.compat.CompatHTTPRequest object at 0x7fb2f5159208>
     self = <modules.payments.PublicPaymentRegieBackDirectory object at 0x7fb2f5134438>

0001-payments-get-urllib-from-six-39924.patch View (877 Bytes) Frédéric Péters, 16 Feb 2020 06:40 PM

Associated revisions

Revision d3ec847f (diff)
Added by Frédéric Péters about 2 months ago

payments: get urllib from six (#39924)

Revision 3f10485b (diff)
Added by Frédéric Péters about 2 months ago

payments: get urllib from six (#39924)

History

#1 Updated by Frédéric Péters about 2 months ago

#2 Updated by Frédéric Péters about 2 months ago

(tapé sur la prod)

#3 Updated by Thomas Noël about 2 months ago

  • Status changed from Solution proposée to Solution validée

#4 Updated by Frédéric Péters about 2 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 3f10485bc843cb9594ade8c5da7ceb4a5a216f65
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sun Feb 16 18:40:34 2020 +0100

    payments: get urllib from six (#39924)

#5 Updated by Frédéric Péters about 2 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF