Project

General

Profile

Actions

Bug #16140

closed

Rudder-metrics-report does not work in python3

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

It throws errors related to the switch between bytes and str types introduced in python3.
something like:

root@server:~# /opt/rudder/bin/rudder-metrics-reporting -s
Traceback (most recent call last):
  File "/opt/rudder/bin/rudder-metrics-reporting", line 274, in <module>
    file.write(data)
  File "/usr/lib/python3.7/tempfile.py", line 620, in func_wrapper
    return func(*args, **kwargs)
Actions

Also available in: Atom PDF