Skip to content

catching classes that do not inherit from BaseException is not allowed #10

Description

@zarlicho

i get an error like this:

Traceback (most recent call last):
File "C:\Users\Diva Creative.conda\envs\tensorenviron\lib\site-packages\logipy\logi_led.py", line 237, in
led_dll = load_dll()
File "C:\Users\Diva Creative.conda\envs\tensorenviron\lib\site-packages\logipy\logi_led.py", line 234, in load_dll
raise SDKNotFoundException('The SDK DLL was not found.')
TypeError: SDKNotFoundException() takes no arguments

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "bgled.py", line 1, in
from logipy import logi_led
File "C:\Users\Diva Creative.conda\envs\tensorenviron\lib\site-packages\logipy\logi_led.py", line 238, in
except SDKNotFoundException as exception_sdk:
TypeError: catching classes that do not inherit from BaseException is not allowed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions