bpytop icon indicating copy to clipboard operation
bpytop copied to clipboard

[BUG] OSError: [Errno 25] Inappropriate ioctl for device

Open turkeyphant opened this issue 2 years ago • 0 comments

Describe the bug

When I try to run bpytop by putting in my .zshrc I get the following error:

Traceback (most recent call last):
  File "/usr/local/bin/bpytop", line 5687, in <module>
    main()
  File "/usr/local/bin/bpytop", line 5559, in main
    Term.width = os.get_terminal_size().columns
OSError: [Errno 25] Inappropriate ioctl for device

To Reproduce

Add bpytop to final line in .zshrc and run exec zsh

Expected behavior

bpytop runs

Screenshots

[If applicable, add screenshots to help explain your problem.]

Info (please complete the following information):

  • bpytop version: 1.0.68
  • psutil version: 5.7.3
  • (Linux) Linux distribution and version: unraid 6.9.2
  • Terminal used: webterminal
  • Font used:
  • Python version: 3.9.0

Additional context

08/11/23 (10:57:54) | INFO: New instance of bpytop version 1.0.68 started with pid 32507
08/11/23 (10:57:54) | INFO: Loglevel set to DEBUG
08/11/23 (10:57:54) | DEBUG: Using psutil version 5.7.3
08/11/23 (10:57:54) | DEBUG: CMD: /usr/local/bin/bpytop --debug

(try running bpytop with --debug flag if error.log is empty)

turkeyphant avatar Nov 08 '23 10:11 turkeyphant