Code Monkey home page Code Monkey logo

Comments (21)

tb2097 avatar tb2097 commented on June 8, 2024

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.

from wacom-gui.

Kivuliar avatar Kivuliar commented on June 8, 2024

obraz

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.

from wacom-gui.

tb2097 avatar tb2097 commented on June 8, 2024

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.

from wacom-gui.

Kivuliar avatar Kivuliar commented on June 8, 2024

I ran the "wacom-gui.py" in terminal, but there is no output.

obraz

And yes, errors still show up with the "Device information not found" just like before.

from wacom-gui.

4l1fe avatar 4l1fe commented on June 8, 2024

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': {}}}

from wacom-gui.

tb2097 avatar tb2097 commented on June 8, 2024

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.

from wacom-gui.

Kivuliar avatar Kivuliar commented on June 8, 2024

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': {}}}

obraz

from wacom-gui.

dpcherian avatar dpcherian commented on June 8, 2024

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': {}}}
image

Do let me know if you've found a way to fix this!

from wacom-gui.

tb2097 avatar tb2097 commented on June 8, 2024

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.

from wacom-gui.

Kivuliar avatar Kivuliar commented on June 8, 2024

Selectionshot_2020-04-09_12:43:08
Here's the output.

from wacom-gui.

dpcherian avatar dpcherian commented on June 8, 2024

Hello,
Thank you for taking the time to do this!

image

After closing the pop-up, I get this:

image

from wacom-gui.

karlchenotto avatar karlchenotto commented on June 8, 2024

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.

from wacom-gui.

Kuratius avatar Kuratius commented on June 8, 2024
 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



from wacom-gui.

tb2097 avatar tb2097 commented on June 8, 2024

@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.

from wacom-gui.

Kuratius avatar Kuratius commented on June 8, 2024

@tb2097 Xubuntu with xfce.
I am getting the "Device information for Wacom Intuos S not found" error also.

from wacom-gui.

ForumPlayer avatar ForumPlayer commented on June 8, 2024

@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)

from wacom-gui.

zyrmpg avatar zyrmpg commented on June 8, 2024

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

from wacom-gui.

DuendeInexistente avatar DuendeInexistente commented on June 8, 2024

Same errors as the others, also with a wacom intuos S\CTL-4100 in a pretty untouched ubuntu 18 install.

from wacom-gui.

tb2097 avatar tb2097 commented on June 8, 2024

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.

from wacom-gui.

rodrigo-ceccato avatar rodrigo-ceccato commented on June 8, 2024

Having this problem on Arch
image

Using the alternative wacom_data.py suggested:
image

from wacom-gui.

Origami404 avatar Origami404 commented on June 8, 2024

Having this problem on Fedora 35 with CTL-672

from wacom-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.