ppannuto / python-saleae

Python library to control a Saleae Logic Analyzer
Apache License 2.0
124 stars 55 forks source link

Getting a type error while executing the launch_logic method #81

Closed raj1234556 closed 2 years ago

raj1234556 commented 2 years ago

While executing the launch logic method, I am getting a type error, but the application is opening.

image

ppannuto commented 2 years ago

You must be passing an illegal value for host or port [probably host given that error], by default the arguments are not None:

def launch_logic(timeout=15, quiet=False, host='localhost', port=10429, logic_path=None, args=None):

I think this is an error with your code, not this library; however if there is an issue with the library, please feel free to provide more details, as well as what might be a potential fix, and re-open this issue.