-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Device information ... not found" errors with modern libwacom versions #68
Comments
wacom one not recognized, but works on the Debian bullseye.
starting the GUI it fails with error
and
However, changing the file wacom_data.py with the changes outlined above leads to error
while starting the GUI with python wacom-gui.py qt5 was installed via pip within a conda env with python = 3.11 env:
Any ideas how to fix that? |
The error
Frankly, that said, I just quit. I removed this program from my systems and switched to a (to me) much less interesting project: the OpenTabletDriver. That one still lacks a lot in terms of a nice GUI for any Wacom device: it has a confusing GUI, but at least it seems that they are trying. One thing I hate from it, is the fact that it relies on Windows .NET, with all the complications that come from it. That said, I have it working for one of my Wacom devices (Bamboo Fun) and have not yet tried on my bigger ones yet. Looks like we're going to be stuck to command-line trickery for a long time to deal with Wacom tablets. |
As noted by @ocumo, Bullseye is a really old OS version at this time. If you want to use a version of the GUI on it, my suggestion would be be use the last https://github.com/tb2097/wacom-gui/releases/tag/V0.2.2-2, which is the last version to support python2.7. The issue, as noted in #31 and various other tickets is less with the UI and moreso with Wacom's inconsistency in naming their tablets between tools. As noted by you, xsetwacom presents the tablet at "Wacom One by Wacom M" but the database file presents it as "One by Wacom (medium)". The "hack" way to fix it is to modify the database file to have the name be "Wacom One by Wacom M", which will resolve the issue. I have presented this to Wacom numerous times and admittedly they have not been receptive to fixing their naming as new tablets are released. I have been working on updates to the tool (currently trying to create the ability to target an area of the display vs a specific display/all) but real life has been keeping me busy. I'm completely open to others proposing fixes to the code I have not yet resolved, but this is one that would require constant maintenance. |
Thanks for the replies, some short update: Tried on bullseye AND bookworm now and neither worked. Here the output of bookworm:
as root (just to be curious whether it would work)
as user
I also tried ALL patches by @ocumo (double-checked!) and none of them worked - always same error of not having a clue about the device and its specs. So looks like the problem is really the labeling of the tablet. Will see whether it makes sense for me to switch to opentabledriver and let dotnet on my computer. Originally, I am left-handed and I just needed it for that. Tried out in a win VM and it worked pretty well to change settings of the tablet in accordance to my needs to be able to use krita without the brush-palette popping up all the time. So will see how to do that on the commandline. |
When running
wacom-gui.py
, the following Error pops up:(or equivalent for different tablet devices).
This will happen on systems which have a relatively recent version of libwacom, i.e. >= 1.10. That means e.g. Ubuntu 22.04, Debian 12 (bookworm), CentOS 9, Fedora 36, Arch Linux, Gentoo and others.
The cause is that
libwacom-list-local-devices
, since April 28, 2021 (release 1.10) uses the YAML format by default, which looks like:...while wacom-gui expects a different format, thus the parsing is wrong, and the 'detected' dictionary in
get_connected_tablets()
is empty and an exception is thrown.To get the format expected by wacom-gui, we need to add the
--format=datafile
argument.I've fixed compatibility locally (from your master branch) and will attach a pull request shortly.
The text was updated successfully, but these errors were encountered: