b: root@lp1761442-b:/tmp# grep sosreport sosreport-lp1761442-b.1234-20180608172937/installed-debs ii sosreport 3.5-1ubuntu3 amd64 Set of tools to gather troubleshooting data from a system root@lp1761442-b:/tmp# cat sosreport-lp1761442-b.1234-20180608172937/sos_logs/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@lp1761442-b:/tmp# ls -l sosreport-lp1761442-b.1234-20180608172937/var/log/syslog lrwxrwxrwx 1 root root 44 Jun 8 17:29 sosreport-lp1761442-b.1234-20180608172937/var/log/syslog -> ../../sos_strings/logs/var.log.syslog.tailed root@lp1761442-b:/tmp# ls -l sosreport-lp1761442-b.1234-20180608172937/sos_strings/logs/* ls: cannot access 'sosreport-lp1761442-b.1234-20180608172937/sos_strings/logs/*': No such file or directory root@lp1761442-b:/tmp# grep sosreport sosreport-lp1761442-b.1234-20180608173903/installed-debs ii sosreport 3.5-1ubuntu3.18.04.1 amd64 Set of tools to gather troubleshooting data from a system root@lp1761442-b:/tmp# ls -l sosreport-lp1761442-b.1234-20180608173903/var/log/syslog lrwxrwxrwx 1 root root 44 Jun 8 17:39 sosreport-lp1761442-b.1234-20180608173903/var/log/syslog -> ../../sos_strings/logs/var.log.syslog.tailed root@lp1761442-b:/tmp# ls -l sosreport-lp1761442-b.1234-20180608173903/sos_strings/logs/var.log.syslog.tailed -rw-r--r-- 1 root root 1048576 Jun 8 17:39 sosreport-lp1761442-b.1234-20180608173903/sos_strings/logs/var.log.syslog.tailed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1761442 Title: sosreport: AttributeError: 'str' object has no attribute 'decode' To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1761442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs