Libinsane get devices error when upgrading from 1.2.4
I tried upgrading from paperwork 1.2.4 to 1.3.0
Steps to reproduce: click on the "Scan" button.
Actual result: an error message (see below) is displayed, nothing is scanned.
With 1.3.0, I get this error:
TypeError: Libinsane.Api.list_devices() takes exactly 2 arguments (1 given)
With current master, I get this error:
Traceback (most recent call last):
File "/nix/store/rd133ysggqqdbbwbdjfc6nfsxm0j56nf-paperwork-master/lib/python3.7/site-packages/paperwork/frontend/util/config.py", line 350, in get_scanner
return _get_scanner(config, libinsane, devid, preferred_sources)
File "/nix/store/rd133ysggqqdbbwbdjfc6nfsxm0j56nf-paperwork-master/lib/python3.7/site-packages/paperwork/frontend/util/config.py", line 300, in _get_scanner
dev = libinsane.get_device(devid)
gi.repository.GLib.GError: libinsane-quark: Libinsane get devices error: 0x40000003, Invalid value (4)
With the same scanner, I can scan normally with paperwork 1.2.4.
libinsane 1.0.2