Please fill out the topic template below so we can help you faster.
Description of the Problem, or Question?
The moment the pen tip presses against the tablet’s surface, the program closes.
Basic System Details
MyPaint version:
All of them. Not kidding, I’ve tried too many to list.
Operating System + Version:
Win10pro64
Make and Model # of Graphic Tablet:
Huion h640p
Please Tell Us How to Reproduce the Problem in Steps.
Open software, press pen tip to tablet surface.
Are there any Errors Popping Up? If so, paste the text in the area shown below.
No errors, it just closes instantly.
_For our guidelines to create a great user support ticket, please visit this wiki page at https://github.com/mypaint/mypaint/wiki/Reporting-Bugs#reporting-guidelines_
briend
September 22, 2018, 7:56pm
2
Can you try the latest build here:
https://ci.appveyor.com/project/achadwick/mypaint
The builds were broken for a while but I just got it working I think.
kibera
December 13, 2018, 3:17pm
3
Nop. It does not work yet. It crashes with Huion 640P. Using the latest build.
Thanks.
briend
December 13, 2018, 3:44pm
4
opened 05:58PM - 22 Sep 18 UTC
closed 09:40PM - 21 Jun 19 UTC
#### Description of the problem
MyPaint crashes as soon as I use my tablet (H… uion Inspiroy H950). Can draw fine with mouse. It doesn't happen with other drawing programs such as Krita.
#### Basic system details
MyPaint version: 1.2.1 (newest release)
Operating system: Win10 build 1803
Desktop environment: n/a
#### Steps to reproduce
[☞ Tell us how to reproduce the bug in clear, numbered steps.]
1. Start MyPaint
2. Try using the tablet
3. The window's kaput.
#### Backtraces or error messages
```
Running gdb.exe...
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named libstdcxx.v6.printers
c:\program files\mypaint-w64\mingw64\bin\../etc/gdbinit:5: Error in sourced command file:
Error while executing Python code.
Reading symbols from python2.exe...(no debugging symbols found)...done.
Starting program: C:\program files\mypaint-w64\mingw64\bin\python2.exe mingw64/bin/mypaint
[New Thread 4480.0x2354]
[New Thread 4480.0x2a60]
[New Thread 4480.0x2b88]
[New Thread 4480.0x11c]
INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'C:/Program Files/mypaint-w64/mingw64'
INFO: lib.i18n: Windows: LANG='pl_PL'
INFO: lib.i18n: Windows: LANGUAGE='pl_PL'
WARNING: mypaint: No bindtextdomain builtins found in module 'locale'.
INFO: mypaint: Trying platform-specific fallback hacks to find bindtextdomain funcs.
INFO: mypaint: Windows: found working bindtextdomain funcs in 'libintl-8.dll' (ctypes)
[New Thread 4480.0x518]
[New Thread 4480.0x1fec]
[New Thread 4480.0x2970]
[New Thread 4480.0x2958]
[New Thread 4480.0x1520]
WARNING: gui.workspace: win32: floating windows are not supported (bug #679), not enabling subwindow creation by snapping out.
WARNING: gui.workspace: win32: floating windows are not supported (bug #679), not enabling subwindow creation by snapping out.
INFO: gui.device: New device 'System Aggregated Pointer' (GDK_SOURCE_MOUSE, axes:2, class=GdkDeviceWin32, vendor=None, product=None)
INFO: gui.document: Initialized background from u'C:/Program Files/mypaint-w64/mingw64/share/mypaint/backgrounds/10_soft_yellow.png'
WARNING: gui.keyboard: Ignoring keybinding for '<Actions>/BrushModifierActions/BlendModeMenu'
(python2.exe:4480): Gtk-[1;33mWARNING[0m **: Theme parsing error: <data>:5:50: The style property GtkMenuBar:internal-padding is deprecated and shouldn't be used anymore. It will be removed in a future version
C:/program files/mypaint-w64/mingw64/lib/python2.7/site-packages/pygtkcompat/pygtkcompat.py:180: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
rect = Gdk.Rectangle(0, 0, 0, 0)
WARNING: gui.accelmap: Not listing '<Actions>/DocumentActions/RotateLeft' (no tooltip, fix before release!)
WARNING: gui.accelmap: Not listing '<Actions>/DocumentActions/RotateRight' (no tooltip, fix before release!)
INFO: gui.device: New device 'HUION Tablet Pressure Stylus' (GDK_SOURCE_PEN, axes:5, class=GdkDeviceWintab, vendor=None, product=None)
(python2.exe:4480): Gdk-[1;35mCRITICAL[0m **: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000070ee1e34 in ?? () from C:\program files\mypaint-w64\mingw64\bin\libgdk-3-0.dll
(gdb)
```
Please check this out and try the suggestions. Probably a GTK bug you could report to https://www.gtk.org/support.php
kibera
December 14, 2018, 8:58am
5
Thanks briend. That solved it. It works fine now. Thanks a lot.
DSK
December 16, 2018, 6:41am
6
Can you tell me how you managed to solve this issue?
kibera
December 16, 2018, 10:42am
7
I just updated to new version of GTK and also the tablet’s driver and it solved the issue. Now the tablet works fine
DSK
December 17, 2018, 6:45am
8
Sadly that didn’t help. Thanks anyways.
kibera
December 17, 2018, 7:03pm
9
One new idea, if it helps: in the Huion driver (the programme) I checked the “Mouse mode” and “Game mode” in the digital pen menu.
I hope that helps
Good luck
yeah tried the “fix” and it works. using game mode in a huion h95p avoids the crash
game mode disables the pressure sensitivity of the pen and only register the clicks
but as soon as the tablet tries to send info on pressure (if you leave game mode) it crashes.
so the culprit is there. just need to figure out the why lol
GL guys and keep up the good work