BCC tool 'offwaketime -f' fails with Traceback

Solution Verified - Updated -

Issue

  • BCC tool offwaketime -f fails with Traceback
# /usr/share/bcc/tools/offwaketime -f 5
Traceback (most recent call last):
  File "/usr/share/bcc/tools/offwaketime", line 350, in <module>
    print("%s %d" % (";".join(line), v.value))
TypeError: sequence item 1: expected str instance, bytes found

Environment

  • Red Hat Enterprise Linux 8
  • bcc-tools

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content