du.gz: TypeError: argument should be integer or bytes-like object, not 'str' #1

Open
opened 2024-08-16 02:28:50 +00:00 by tea · 0 comments
Owner

$ tkdu.py /tmp/tkdu.gz

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib64/python3.12/tkinter/__init__.py", line 1968, in __call__
    return self.func(*args)
           ^^^^^^^^^^^^^^^^
  File "/home/achubukov/+/shift/bin/tkdu.py", line 334, in reconfigure
    nslashes = c.cur.count(os.sep) - 1
               ^^^^^^^^^^^^^^^^^^^
TypeError: argument should be integer or bytes-like object, not 'str'
$ tkdu.py /tmp/tkdu.gz ``` Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib64/python3.12/tkinter/__init__.py", line 1968, in __call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "/home/achubukov/+/shift/bin/tkdu.py", line 334, in reconfigure nslashes = c.cur.count(os.sep) - 1 ^^^^^^^^^^^^^^^^^^^ TypeError: argument should be integer or bytes-like object, not 'str' ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tea/tkdu#1
No description provided.