Open Kivuliar opened 4 years ago
Greetings,
This is caused by a naming mismatch between the .tablet file and how the driver present itself. Can you please edit the file one-by-wacom-m-p.tablet
and set "Name=" to Wacom Bamboo One M
? This should resolve the issue and I can submit the change to libwacom. I've encountered a few of these occurrences already.
I've modified it, checked "libwacom-list-local-devices --database /usr/local/wacom-gui/data" just in case:
[Device] Name=Wacom Bamboo One M ModelName= DeviceMatch=usb:056a:0301; Class=Bamboo Width=9 Height=5 IntegratedIn= Styli=0xffffe;0xfffff;
Launched wacom-gui again to test if it works correctly, but error still pops up.
Can you please run it via the terminal and copy the output? I have a vague suspicion of what might be going on but since I don't have one of those tablets I can't be sure.
I ran the "wacom-gui.py" in terminal, but there is no output.
And yes, errors still show up with the "Device information not found" just like before.
I have the same issue but with the model CTL-672. After replacing to an actual Name got errors again. In short, your script collects device info in vars self.device_data, detected
with an unsuitable structure seems.
Samples of detected, self.device_data
:
{'Wacom One by Wacom M': {'stylus': {'id': ['10']}, 'eraser': {'id': ['27']}}}
{'Wacom One by Wacom M': {'stylus': {}, 'touch': {}, 'pad': {'attr': {}}, 'cursor': {}, 'eraser': {}}, 'CTL-672': {'cursor': {}, 'devID': '037b', 'stylus': {'rotate': True}, 'pad': {'attr': {}}, 'eraser': {}, 'touch': {}}}
I think this may have something to do with the fact the tablet doesn't have any buttons, which I may not be handling correctly...
Can you please replace the wacom_data.py
with this one: https://github.com/tb2097/wacom-gui/blob/tb2097-no-buttons-debug/wacom-gui/wacom_data.py
It should spit out the tablet info that is collected in terminal; hopefully it will inform me as to what is occurring so I can fix it for you.
I did this CORRECTLY this time (yeah, I should not do anything past midnight...sorry about that) that's the output:
r$ python wacom-gui.py {'': {'cursor': {}, 'devID': '0301', 'eraser': {}, 'pad': {'attr': {}, 'buttons': {}}, 'stylus': {'rotate': True}, 'touch': {}}, 'Wacom Bamboo One M': {'cursor': {}, 'eraser': {}, 'pad': {'attr': {}, 'buttons': {}}, 'stylus': {}, 'touch': {}}} {'': {'cursor': {}, 'devID': '0301', 'eraser': {}, 'pad': {'attr': {}}, 'stylus': {'rotate': True}, 'touch': {}}, 'Wacom Bamboo One M': {'cursor': {}, 'eraser': {}, 'pad': {'attr': {}}, 'stylus': {}, 'touch': {}}}
Hello!
I'm not sure if I should start a new issue or continue this one, since I think I'm having the same problem with the CTL-672. As suggested, I began by editing one-by-wacom-m-p2.tablet
and set Name=
to "Wacom One by Wacom M" (since that was the name given in the error message. The original name was "One by Wacom (medium)").
The same error message still pops up when I run wacom-gui.py
, and the tablet doesn't show up either.
I replaced the wacom_data.py
file as suggested, and this is my output:
{'Wacom One by Wacom M': {'cursor': {}, 'devID': '037b', 'eraser': {}, 'pad': {'attr': {}, 'buttons': {}}, 'stylus': {'rotate': True}, 'touch': {}}} {'Wacom One by Wacom M': {'cursor': {}, 'devID': '037b', 'eraser': {}, 'pad': {'attr': {}}, 'stylus': {'rotate': True}, 'touch': {}}}
Do let me know if you've found a way to fix this!
Apologies, real life is taking away from my free time. Can you please replace the wacom_data.py
with the file here: https://github.com/tb2097/wacom-gui/blob/tb2097-no-buttons-debug/wacom-gui/wacom_data.py
I have added some further debugging to try and figure out where it's crashing out. My guess is something about how a pad without buttons is being detected is failing the check and therefore not being loaded.
Here's the output.
Hello, Thank you for taking the time to do this!
After closing the pop-up, I get this:
I have the same problem with a "Wacom Cintiq 16".
There was no entry in the /usr/share/wacomtablet/data/wacom_devicelist. However adding
[0390] model=DTK-1660 layout=unknown name=Wacom Cintiq 16 padbuttons=0 wheel=no touchring=no touchstripl=no touchstripr=no
did not change anything.
I tried this:
Can you please replace the wacom_data.py with the file here: https://github.com/tb2097/wacom-gui/blob/tb2097-no-buttons-debug/wacom-gui/wacom_data.py
This gave me:
Traceback (most recent call last):
File "wacom-gui.py", line 13, in <module>
from wacom_data import Tablets
File "/home/markus/Downloads/wacom/wacom-gui-master/wacom-gui/wacom_data.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax
xsetwacom list
gives
Wacom Cintiq 16 Pen stylus id: 13 type: STYLUS
Wacom Cintiq 16 Pen eraser id: 14 type: ERASER
libwacom-list-local-devices
first would not return anything. Following the instruction on the kde wacom project I add a file /usr/share/libwacom/cintiq-16.tablet
resutls in
libwacom-list-local-devices
[Device]
Name=Wacom Cintiq 16
DeviceMatch=usb:056a:0390;
Class=Cintiq
Width=14
Height=8
IntegratedIn=Display;
Styli=0;0;
[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=0
Thanks in advance four your help.
libwacom-list-local-devices
# Device node: /dev/input/event3
[Device]
Name=Wacom Intuos S
ModelName=CTL-4100
DeviceMatch=usb:056a:0374;
Class=Bamboo
Width=6
Height=4
IntegratedIn=
Layout=intuos-s-p3.svg
Styli=0x862;
[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=4
[Buttons]
# Left=
# Right=
Top=A;B;C;D;
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
# Ring=
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0
---------------------------------------------------------------
# Device node: /dev/input/event2
[Device]
Name=Wacom Intuos S
ModelName=CTL-4100
DeviceMatch=usb:056a:0374;
Class=Bamboo
Width=6
Height=4
IntegratedIn=
Layout=intuos-s-p3.svg
Styli=0x862;
[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=4
[Buttons]
# Left=
# Right=
Top=A;B;C;D;
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
# Ring=
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0
---------------------------------------------------------------
python2 wacom-gui.py
/bin/sh: 1: dconf: not found
sh: 1: dconf: not found
{'CTL-4100': {'cursor': {},
'devID': '0374',
'eraser': {},
'pad': {'attr': {},
'buttons': {'ButtonA': {'bid': 'Button 1',
'orient': 'Top'},
'ButtonB': {'bid': 'Button 2',
'orient': 'Top'},
'ButtonC': {'bid': 'Button 3',
'orient': 'Top'},
'ButtonD': {'bid': 'Button 8',
'orient': 'Top'}}},
'stylus': {'rotate': False},
'svg': 'intuos-s-p3.svg',
'touch': {}},
'Wacom Intuos S': {'cursor': {},
'eraser': {},
'pad': {'attr': {}, 'buttons': {}},
'stylus': {},
'touch': {}}}
invalid literal for float(): 42,10.5
{'CTL-4100': {'cursor': {},
'devID': '0374',
'eraser': {},
'pad': {'attr': {},
'buttons': {'ButtonA': {'bid': 'Button 1',
'orient': 'Top'},
'ButtonB': {'bid': 'Button 2',
'orient': 'Top'},
'ButtonC': {'bid': 'Button 3',
'orient': 'Top'},
'ButtonD': {'bid': 'Button 8',
'orient': 'Top'}}},
'stylus': {'rotate': False},
'svg': 'intuos-s-p3.svg',
'touch': {}},
'Wacom Intuos S': {'cursor': {},
'eraser': {},
'pad': {'attr': {}},
'stylus': {},
'touch': {}}}
invalid literal for float(): 42,10.5
^CTraceback (most recent call last):
File "wacom-gui.py", line 436, in closeEvent
def closeEvent(self, event):
KeyboardInterrupt
@karlchenotto
I think you may not have downloaded wacom_data.py correctly... can you use this? https://raw.githubusercontent.com/tb2097/wacom-gui/tb2097-no-buttons-debug/wacom-gui/wacom_data.py
@Kuratius
Which linux distro/desktop frontend are you using? It is throwing an error for using dconf, which is used to set hotkeys.
@tb2097 Xubuntu with xfce. I am getting the "Device information for Wacom Intuos S not found" error also.
@tb2097 Xubuntu with xfce. I am getting the "Device information for Wacom Intuos S not found" error also.
The same on Debian 10 (with OpenBox)
I'm getting a similar error dialog with a Wacom Intuos S but with invalid literal for float(): 42,10.5
output.
Appears to be same as @Kuratius without the dconf errors. I'm on Ubuntu 19.10/Xfce
wacom-gui.py
w/ modified wacom_data.py
:
{'CTL-4100': {'cursor': {},
'devID': '0374',
'eraser': {},
'pad': {'attr': {},
'buttons': {'ButtonA': {'bid': 'Button 1',
'orient': 'Top'},
'ButtonB': {'bid': 'Button 2',
'orient': 'Top'},
'ButtonC': {'bid': 'Button 3',
'orient': 'Top'},
'ButtonD': {'bid': 'Button 8',
'orient': 'Top'}}},
'stylus': {'rotate': False},
'svg': 'intuos-s-p3.svg',
'touch': {}},
'Wacom Intuos S': {'cursor': {},
'eraser': {},
'pad': {'attr': {}, 'buttons': {}},
'stylus': {},
'touch': {}}}
invalid literal for float(): 42,10.5
{'CTL-4100': {'cursor': {},
'devID': '0374',
'eraser': {},
'pad': {'attr': {},
'buttons': {'ButtonA': {'bid': 'Button 1',
'orient': 'Top'},
'ButtonB': {'bid': 'Button 2',
'orient': 'Top'},
'ButtonC': {'bid': 'Button 3',
'orient': 'Top'},
'ButtonD': {'bid': 'Button 8',
'orient': 'Top'}}},
'stylus': {'rotate': False},
'svg': 'intuos-s-p3.svg',
'touch': {}},
'Wacom Intuos S': {'cursor': {},
'eraser': {},
'pad': {'attr': {}},
'stylus': {},
'touch': {}}}
invalid literal for float(): 42,10.5
Same errors as the others, also with a wacom intuos S\CTL-4100 in a pretty untouched ubuntu 18 install.
Please try using the latest release: https://github.com/tb2097/wacom-gui/releases/tag/v0.3.0-rc18, let me know if this resolves the issue.
Having this problem on Arch
Using the alternative wacom_data.py suggested:
Having this problem on Fedora 35 with CTL-672
Recently I've switched to Linux and decided to use my tablet, definitely got tired of setting work area via terminal commands. My tablet: One by Wacom M / CTL-671 Unfortunately I'm receiving 2 errors while launching wacom-gui:
After that, said GUI shows nothing - no model, no available options, basically nothing - I can try to refresh connected device but (put title of this issue here) error pops up.
When launching with terminal (not sure if important):
xsetwacom list:
and at last, libwacom-list-local-devices --database /usr/local/wacom-gui/data