nojhan/tunnelmon

The interface doesn't show with tunnelmon -c

DavideGSpotview opened this issue · 5 comments

Describe the bug
WARNING:root:It's a bad idea to log to stdout while in the curses interface.

To Reproduce
Steps to reproduce the behavior:

  1. Execute tunnelmon from the command line with the -c option: tunnelmon -c

Expected behavior
To show an interactive interface

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 22.04.1 LTS
nojhan commented

Can you indicate your Python version?
I've got an Ubuntu jammy as well here, and it works just fine with Python 3.10.6.

The python version is 3.10

nojhan commented

Can you upload here the content of the tunnelmon.log file after having done python3 tunnelmon.py -c --log-level debug --log-file tunnelmon.log?

I can't for security reasons sorry. It gives me this additional response:
Traceback (most recent call last):
File "/usr/bin/tunnelmon", line 794, in
mc()
File "/usr/bin/tunnelmon", line 490, in call
self.display()
File "/usr/bin/tunnelmon", line 542, in display
header_msg = " ".join(self.format()).format(*self.header)
IndexError: Replacement index 7 out of range for positional args tuple

nojhan commented

I just committed 2d95669, so that you may have logs without sensitive information. Just update your repository and rerun the command (sensitive information will not be logged anymore, unless you pass --log-sensitive).