Skip to content

Bugfix: FileNotFoundError on Windows 11#5

Open
AdoWork wants to merge 1 commit intoKvaser:mainfrom
AdoWork:patch-1
Open

Bugfix: FileNotFoundError on Windows 11#5
AdoWork wants to merge 1 commit intoKvaser:mainfrom
AdoWork:patch-1

Conversation

@AdoWork
Copy link

@AdoWork AdoWork commented May 4, 2023

It seems that Kvaser has changed the structure of the registry keys, at least on my machine (Windows 11, Kvaser CANLIB 5.41). By catching the FileNotFoundError exception, we can retry with the new registry path.

It seems that Kvaser has changed the structure of the registry keys, at least on my machine (Windows 11, Kvaser CANLIB 5.41). By catching the FileNotFoundError exception, we can retry with the new registry path.
@TheGrandJonsson
Copy link

Stooped on this as well.
I've tested this fix on four machines running Windows 11 and it works.

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

Successfully merging this pull request may close these issues.

2 participants