Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1018348

Bug#965188: "TypeError: string argument without an encoding" with --name

From Ritesh Raj Sarraf <rrs@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#965188: "TypeError: string argument without an encoding" with --name
Date 2020-07-17 18:20 +0200
Message-ID <AtBfz-6FD-5@gated-at.bofh.it> (permalink)
References <AtxlD-4mV-3@gated-at.bofh.it> <AtxlD-4mV-3@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tag -1 +pending

Dear Philipp,

On Fri, 2020-07-17 at 14:01 +0200, Philipp Marek wrote:
> When using "trace-bpfcc" with the "--name" option, errors are
> reported 
> 
> instead of events:
> 
> 
> 
>     $ trace-bpfcc vfs_open -KUa -n ls
> 
>     Exception ignored on calling ctypes callback function: <function
> PerfEventArray._open_perf_buffer.<locals>.raw_cb_ at 0x7f274cbb5ee0>
> 
>     Traceback (most recent call last):
> 
>       File "/usr/lib/python3/dist-packages/bcc/table.py", line 683,
> in raw_cb_
> 
>         callback(cpu, data, size)
> 
>       File "/usr/sbin/trace-bpfcc", line 575, in print_event
> 
>         if self.name and bytes(self.name) not in event.comm:
> 
>     TypeError: string argument without an encoding
> 
>     ....

Thank you very much for the bug report.
This is fixed and pending upload to Debian Unstable, which should
happen very soon with a new release too.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#965188: "TypeError: string argument without an encoding" with --name Philipp Marek <philipp@marek.priv.at> - 2020-07-17 14:10 +0200
  Bug#965188: "TypeError: string argument without an encoding" with --name Ritesh Raj Sarraf <rrs@debian.org> - 2020-07-17 18:20 +0200

csiph-web