Antheas Kapenekakis

Results 214 comments of Antheas Kapenekakis

I went through all this and I can say it's a bit of a moot point. I have a patchset for rpm ostree that fixes the 32 bit bugs so...

Yes, the library `unixodbc` when installed as both 32 bit and 64 bit causes an error about `/etc/odbc.ini` covered in this issue https://github.com/coreos/rpm-ostree/issues/4653 Probably happens because the hash of the...

Unfortunately I don't know of any other packages, as wine-core brings this dependency. And if it's removed its gone. There might be other packages if unixOCBD is not included in...

Simplest solution is to wrap the inner loop to avoid errors. ```python def _find_device(self): #:bug: the device node might not be immediately available time.sleep(0.1) for path in util.list_devices('/dev/input/'): try: d...

You can not re-raise any exceptions there unless you rewrite the constructor to close the file descriptor before raising. The error is a `FileNotFoundError`.

You have to catch all exceptions, not just file not found error, and not re-emit them since the inner loop crashing does not affect the class functionality. Exception does not...

I will leave it up to you on how to handle the `_find_device()` behavior. In order for this bug to be resolved, you either have to make sure you never...

Referencing the other thread, it may be preferable to completely rewrite `_find_device()` and always make it throw if the correct device is not found. Since the downstream device is not...

Because that descriptor is stored on `self.fd` of an object that is never created. If the constructor throws, it can never be closed.

Do destructors run if the init method does not finish? If it does it may be an option.