You have been subscribed to a public bug by Eric Desrochers (slashd):

---Problem Description---
sosreport: ubuntu 16.04.04: AttributeError: 'str' object has no attribute 
'decode'
 
---uname output---
Linux guest 4.15.0-13-generic #14~16.04.1-Ubuntu SMP Sat Mar 17 03:03:53 UTC 
2018 ppc64le ppc64le ppc64le GNU/Linux
 
Machine Type = boston-LC 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 running sosreport throws below error. report collection succeeds. this bug is 
to fix below:

root@guest:~/sosreport-guest-20180405020015/sos_logs# cat logs-plugin-errors.txt
Traceback (most recent call last):
  File "/usr/share/sosreport/sos/sosreport.py", line 1300, in collect
    plug.collect()
  File "/usr/share/sosreport/sos/plugins/__init__.py", line 877, in collect
    self._collect_strings()
  File "/usr/share/sosreport/sos/plugins/__init__.py", line 860, in 
_collect_strings
    (content.splitlines()[0]).decode('utf8', 'ignore'))
AttributeError: 'str' object has no attribute 'decode'

root@guest:~/sosreport-guest-20180405020015/sos_logs# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
root@guest:~/sosreport-guest-20180405020015/sos_logs# dpkg -l | grep -i sos
ii  sosreport                            3.5-1~ubuntu16.04.2                    
    ppc64el      Set of tools to gather troubleshooting data from a system

== Comment: #5 - SEETEENA THOUFEEK <sthou...@in.ibm.com> - 2018-04-05 04:53:10 
==
identified this commit will fix the issue. 

https://github.com/sosreport/sos/commit/1fd12690870e85e8ac83b0e99bb272ce4489dc60

** Affects: ubuntu-power-systems
     Importance: High
     Assignee: Canonical Server Team (canonical-server)
         Status: Triaged

** Affects: sosreport (Ubuntu)
     Importance: High
     Assignee: Dan Streetman (ddstreet)
         Status: New


** Tags: architecture-ppc64le bugnameltc-166458 severity-low 
targetmilestone-inin--- triage-g
-- 
sosreport: AttributeError: 'str' object has no attribute 'decode'
https://bugs.launchpad.net/bugs/1761442
You received this bug notification because you are a member of STS Sponsors, 
which is subscribed to the bug report.

-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : sts-sponsors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to