Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the --debug-classes option makes terminator crash #397

Closed
nojhan opened this issue Mar 4, 2021 · 3 comments
Closed

Using the --debug-classes option makes terminator crash #397

nojhan opened this issue Mar 4, 2021 · 3 comments

Comments

@nojhan
Copy link
Contributor

nojhan commented Mar 4, 2021

For instance:
python3 terminator -g /dev/null --debug-classes=URLHandler

Outputs:

Traceback (most recent call last):
  File "terminator", line 70, in <module>
    OPTIONS,dbus_options = terminatorlib.optionparse.parse_options()
  File "/home/nojhan/code/terminator/terminatorlib/optionparse.py", line 123, in parse_options
    if not options.debug > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

On Ubuntu 20.04 11.1, with terminator at 3a63926

@mattrose
Copy link
Member

oh. Let me see if I can reproduce this one

@mattrose
Copy link
Member

Oh, you need the -d flag before you can call --debug-classes or --debug-methods

try

python3 terminator -g /dev/null -d --debug-classes=URLHandler

@nojhan
Copy link
Contributor Author

nojhan commented Mar 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants