Jump to content
3DCoat Forums

[Solved] 3Dcoat crashing when trying to open thunar (file explorer) on EndevourOS (arch-derivitive linux distro)


Go to solution Solved by veris,

Recommended Posts

  • New Member

I followed this tutorial on how to install 3D coat on linux and it seemed to work fine until i tried to open one of my 3D models to paint over and it just immediately crashed. Below are my system specs and everything the console says while 3D coat is launched. Thanks for all the help in advance

Setup info (from neofetch):

OS: EndeavourOS Linux x86_64
Kernel: 6.6.7-arch1-1
Uptime: 5 hours, 37 mins
Packages: 1098 (pacman)
Shell: bash 5.2.21
Resolution: 1920x1080, 1920x1080
DE: Xfce 4.18
WM: Xfwm4
WM Theme: Arc-Dark
Theme: Arc-Dark [GTK2/3]
Icons: Qogir-dark [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: Source Code Pro 10
CPU: 11th Gen Intel i5-11400F (12) @ 4.400GHz
GPU: NVIDIA GeForce RTX 3070 Lite Hash Rate
Memory: 2909MiB / 31933MiB

Terminal:


(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",

(3dcoat-Ubuntu22.04:42453): Gtk-WARNING **: 15:58:20.597: Unable to locate theme engine in module_path: "murrine",
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = '/usr/bin/python3'
  sys.base_prefix = '/usr'
  sys.base_exec_prefix = '/usr'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/bin/python3'
  sys.prefix = '/usr'
  sys.exec_prefix = '/usr'
  sys.path = [
    '/usr/lib/python310.zip',
    '/usr/lib/python3.10',
    '/usr/lib/lib-dynload',
  ]
-----------------------------------------------------------------
Environment variable "COAT_PEN" = empty
(define the name of your stylus input device from the list below)
Environment variable "COAT_ERASER" = empty
(define the name of your eraser input device from the list below)
Environment variable "COAT_MOUSE" = empty
(define the name of your mouse input device from the list below)
-----------------------------------------------------------------
Input Devices (source | "name" | mode)
-----------------------------------------------------------------
1. Mouse    "Virtual core XTEST pointer"        Disabled  
2. Mouse    "GXT 133 Gaming Mouse"              Disabled  
3. Mouse    "GXT 133 Gaming Mouse Keyboard"     Disabled  
4. Mouse    "Core Pointer"                      Screen    
-----------------------------------------------------------------
connect failed: No such file or directory
Space Navigator daemon for 3Dconnexion devices: NOT found
Install Space Navigator daemon with Terminal command:
sudo apt install spacenavd
-----------------------------------------------------------------

 

i can't install spacenavd since im using arch and it uses pacman istead of apt to install, and when same command is tried on pacman

sudo pacman -S spacenavd

error: target not found: spacenavd

which just means it doesnt exist in pacman's repositories

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

Hi 

The "3DCoat" executable has been built under "Ubuntu 20.04".
-This is noted in the "Downloads" section on the site and inside download links-

Sadly compatibility with other distros is not guaranteed.

Anyway you can ask Sergii Kryzhanovskyi for support at
support.linux@pilgway.com

Link to comment
Share on other sites

  • 1 month later...
  • New Member
  • Solution
Carlosan
This post was recognized by Carlosan!

veris was awarded the badge 'Great Content' and 1 points.

I had the same problem of 3dcoat crashing immediately after I selected File > Import > Model for per pixel painting, I happen to be running on Fedora 39 and was using the 3dcoat-Ubuntu22.04 binary for 3DCoat-2023.40.

I solved the problem by running 3dcoat in an Ubuntu 22.04 container using distrobox (see https://github.com/89luca89/distrobox ).  I expect this will enable 3dcoat to function fine on *any* modern linux distro that supports distrobox.  After you've installed distrobox:

1. Create a container image that uses Ubuntu 22.04 as the parent image, note that I've got an nvidia card so am instructing distrobox to give access to it.  You can see the official distrobox documentation for more info for your setup:

distrobox create --image ubuntu:22.04 --name ubuntu-nvidia --nvidia

2. (Only needed one time) Open a shell connected to that container image and install spacenavd, which fixes the "Space Navigator daemon for 3Dconnexion devices" error you can see in weeb_developer's problem report above

❯ distrobox enter ubuntu-nvidia

reshen@ubuntu-nvidia:~$ sudo apt install spacenavd
Reading package lists... Done
Building dependency tree... Done
...

3. Now just launch 3dcoat from within the container, and this makes 3dcoat happy (no longer crashes on model import) as it has all of the ubuntu environment setup correctly:

reshen@ubuntu-nvidia:~$ cd 3DCoat-2023.40/

reshen@ubuntu-nvidia:~/3DCoat-2023.40$ ./3dcoat-Ubuntu22.04
-----------------------------------------------------------------
Environment variable "COAT_PEN" = empty
(define the name of your stylus input device from the list below)
Environment variable "COAT_ERASER" = empty
(define the name of your eraser input device from the list below)
...

 

You can wrap the last command in a desktop file to make it available in whatever desktop environment you use and distrobox also lets you create manifest files so you can automate step 2 in case you distro hop. Distrobox is a remarkably powerful tool that makes cross-distro tool compatibility a non-issue.

Hope this helps!

  • Thanks 2
Link to comment
Share on other sites

  • Contributor

In my machines, running different Arch variations, I couldn't use 3DCoat because any interaction with file browser crashed it instantly. I tried this method suggested above, installed distrobox and Ubuntu 22.04 (with nvidia to have 3D acceleration) and oddly enough 3dcoat-Ubuntu22.04 still crashed but 3dcoat-Ubuntu20.04 worked! Apparently I can use 3DCoat again on my machines! Yay!

Thank you @veris for this very practical workaround!

Edit: on a different (newer install of the host system) machine, 3dcoat-Ubuntu22.04 worked. The file manager looked different too. Anyway, thanks again.

Edited by Sorn
  • Like 1
Link to comment
Share on other sites

  • Member

hey! I'm having what I guess is the same problem here.

This is my entire terminal output... oh it's worth noting that I also have these variables set in .zshrc so I don't really have to set them when I run the command.

nodespaghetti@noodlebot /opt/3DCoat/3DCoat-2023.40 $ COAT_PEN="XP-Pen Pen Pen (0)" COAT_ERASER="CP-Pen Eraser Eraser (0)" COAT_MOUSE="Razer Razer DeathAdder V2" ./3dcoat-Ubuntu22.04
-----------------------------------------------------------------
Environment variable "COAT_PEN" = XP-Pen Pen Pen (0)
Environment variable "COAT_ERASER" = CP-Pen Eraser Eraser (0)
Environment variable "COAT_MOUSE" = Razer Razer DeathAdder V2
-----------------------------------------------------------------
Input Devices (source | "name" | mode)
-----------------------------------------------------------------
1. Mouse    "Virtual core XTEST pointer"        Disabled  
2. Mouse    "Razer Razer DeathAdder V2"         Disabled  
3. Mouse    "USB-HID Keyboard Mouse"            Disabled  
4. Mouse    "Razer Razer DeathAdder V2 Keyboard"Disabled  
5. Pen      "XP-Pen Mouse"                      Disabled  
6. Mouse    "UGTABLET Artist Pro 16 (Gen2) Mouse"Disabled 
7. Mouse    "Core Pointer"                      Screen    
-----------------------------------------------------------------
Space Navigator daemon for 3Dconnexion devices: FOUND
-----------------------------------------------------------------

@weeb_developer spacenavd has an AUR package, you can get it with yay or another AUR helper. I also had to get Python310 from the AUR.

 

...anyways if someone can just tell me how to get more information from the console, then maybe I can figure out a solution. In the meantime, thank you @veris for the workaround. I'll try it out right now :D

 

edit: ...how in the world were you able to get distrobox working on Arch? I tried docker and podman and each one of them had badword errors that are really confusing.

Edited by nodespaghetti
Link to comment
Share on other sites

  • 2 months later...
  • New Member

I had the same issue on Manjaro linux (an Arch derivative). I  tracked it down to the gtk2 theme crashing when opening the open file dialog. My fix was to change the gtk2 theme from Adwaita to Raleigh. My fix is running 3dcoat with:

GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc ./3dcoat-Ubuntu22.04

 

Link to comment
Share on other sites

  • Carlosan changed the title to [Solved] 3Dcoat crashing when trying to open thunar (file explorer) on EndevourOS (arch-derivitive linux distro)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...