Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

#13324 closed defect (invalid)

TypeError: Incorrect padding

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: 1.4.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /newticket, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36

System Information

Trac 1.4.2
Babel 2.8.0
Genshi 0.7.3 (without speedups)
Jinja2 N/A
MySQL server: "5.6.47-log", client: "0.9.3", thread-safe: True
pymysql 0.9.3
Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:19:08) [MSC v.1500 32 bit (Intel)]
pytz 2020.1
setuptools 41.2.0
jQuery 1.12.4
jQuery UI 1.12.1
jQuery Timepicker 1.6.3

Enabled Plugins

trac.dashboard.api N/A
trac.importer.importer N/A
trac.ticket.group-api N/A
trac.ticket.ticket-follow N/A
trac.tracscheduler.web-ui N/A
trac.util.wiseoper-api N/A

Interface Customization

Python Traceback

Traceback (most recent call last):
  File "D:\Users_1\hwx903087\Trac-1.4.2\trac\web\main.py", line 656, in dispatch_request
    dispatcher.dispatch(req)
  File "D:\Users_1\hwx903087\Trac-1.4.2\trac\web\main.py", line 296, in dispatch
    caller.audit_logger(req, "FAILED")
  File "D:\Users_1\hwx903087\Trac-1.4.2\trac\util\wiseoper_api.py", line 116, in audit_logger
    self.wise_oper_logger(req, logger_request_body)
  File "D:\Users_1\hwx903087\Trac-1.4.2\trac\util\wiseoper_api.py", line 120, in wise_oper_logger
    token = b64decode(wo_auth.value) if wo_auth is not None else None
  File "C:\Python27\lib\base64.py", line 78, in b64decode
    raise TypeError(msg)
TypeError: Incorrect padding

Attachments (0)

Change History (1)

comment:1 by Ryan J Ollos, 4 years ago

Resolution: invalid
Status: newclosed

wiseoper_api.py is not a part of Trac: tags/trac-1.4.2/trac/util.

You must have a modified version of Trac.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.