Blender-Launcher icon indicating copy to clipboard operation
Blender-Launcher copied to clipboard

Linux Mint 20.1: Blender Launcher install asks for Blenders folder, then just closes and nothing happens

Open manujarvinen opened this issue 3 years ago • 31 comments

Linux Mint 20.1: Blender Launcher install asks for Blenders folder, then just closes and nothing happens

image Image1: If I click 'Continue' the message goes away and nothing happens :(

manujarvinen avatar Feb 15 '21 05:02 manujarvinen

Hi! Could you please check if latest build fixes an issue: https://drive.google.com/file/d/106dWbCrlqYzlBbzwGcKbkCVj91CJNYMa/view?usp=sharing

DotBow avatar Feb 15 '21 07:02 DotBow

Hi! Could you please check if latest build fixes an issue: https://drive.google.com/file/d/106dWbCrlqYzlBbzwGcKbkCVj91CJNYMa/view?usp=sharing

Yes, same issue happens :/

manujarvinen avatar Feb 15 '21 08:02 manujarvinen

I will check behavior on linux a bit later, looks like an environment issue. Meanwhile could you please try to run it from terminal to see of there is some error. Alternatively try this for debugging:

gdb ./Blender\ Launcher
run

DotBow avatar Feb 15 '21 08:02 DotBow

Might be also related to #27

DotBow avatar Feb 15 '21 08:02 DotBow

Seems to work fine on my side - new folder browser opens. изображение Please, check the console for further investigation.

DotBow avatar Feb 15 '21 12:02 DotBow

Oh! That's weird, and I had a brand new installation here. Maybe it's because of my Finnish locale?

Attached are the terminal dump and gdb terminal dump

blender_launcher_terminal_gdb_dump.txt

blender_launcher_terminal_dump.txt

manujarvinen avatar Feb 15 '21 14:02 manujarvinen

It one the issues related to building under environment specific things. Sorry, but I can't fix it right away. You can try to build BL by yourself https://dotbow.github.io/Blender-Launcher/development/ But there is couple of caveats right now regarding PyInstaller - you will probably need to lock pipenv file with 4.0 version to make it work properly. I will try to look into issue asap.

DotBow avatar Feb 15 '21 17:02 DotBow

I will try to look into issue asap.

Thank you :)

manujarvinen avatar Feb 16 '21 09:02 manujarvinen

@manujarvinen Could you please check if one of this three builds are working (still need to make it clear where the crash appears exactly): https://drive.google.com/drive/folders/1m5wsQjTilvf69bxeI5ccTd1ogj8NJAI5?usp=sharing

DotBow avatar Feb 17 '21 11:02 DotBow

Thanks for the files!

Blender_Launcher_v1.10.0_Linux_x64_set_locale_for_dialogs didn't work, same issue as before, asks for the folder, then everything closes

Blender_Launcher_v1.10.0_Linux_x64_skip_select_library WORKED very well and I can launch the installed Blenders with it. It worked so well in fact that after that all the other 2 versions started to work exactly the same way, they didn't ask for folder anymore, they just created the 'custom' 'daily' 'stable'... etc folders straight away to the root of where the Blender Launcher was located. So probably this saved the settings somewhere. Even though I made sure to delete all the created folders before testing a new build.

Thanks for looking into this! At least now I have a working version! :) Yay!

manujarvinen avatar Feb 17 '21 19:02 manujarvinen

Thanks for the files!

Blender_Launcher_v1.10.0_Linux_x64_set_locale_for_dialogs didn't work, same issue as before, asks for the folder, then everything closes

Blender_Launcher_v1.10.0_Linux_x64_skip_select_library WORKED very well and I can launch the installed Blenders with it. It worked so well in fact that after that all the other 2 versions started to work exactly the same way, they didn't ask for folder anymore, they just created the 'custom' 'daily' 'stable'... etc folders straight away to the root of where the Blender Launcher was located. So probably this saved the settings somewhere. Even though I made sure to delete all the created folders before testing a new build.

Thanks for looking into this! At least now I have a working version! :) Yay!

Thank you very much for testing! 🙇 Now I know what is broken - it seems that when I'm trying to create dialog with QT style it just not working for some reason. I will try to find out what can be done to fix that.

DotBow avatar Feb 17 '21 19:02 DotBow

I'm too having this issue, I'm on arch and have tried all those above and the release version and even tried compiled to but no go....

Blenux avatar Feb 18 '21 07:02 Blenux

I'm too having this issue, I'm on arch and have tried all those above and the release version and even tried compiled to but no go....

Hi! Could you please show output from shell?

What exactly failed in compiling? Did you try first to run it as a python script?

DotBow avatar Feb 18 '21 07:02 DotBow

It compiled fine, but when running it I get this error.

Screenshot_20210218_181949

if I run the release version I get this error, release_error

Blenux avatar Feb 18 '21 07:02 Blenux

@Blenux Please, try to run BL as a python script without building using this command: pipenv run start

It should clear question about that it is building issue nor program itself.

DotBow avatar Feb 18 '21 07:02 DotBow

@Blenux I see that there is a missing module error by the way: изображение Does your environment managed to install all modules without errors?

DotBow avatar Feb 18 '21 07:02 DotBow

Think it's a python version issue?, I have python 3.9 installed. python

Blenux avatar Feb 18 '21 07:02 Blenux

First, make sure you have python 3.8 or higher installed. Then install virtual environment: pipenv install --dev Run virtual environment (you should run it every time you close it): pipenv shell And finally run a main.py: pipenv run start

DotBow avatar Feb 18 '21 07:02 DotBow

Oops, sorry, I misread the answer. I think if you want to use 3.9 change this line in pipenv file: изображение An then lock it: pipenv lock

DotBow avatar Feb 18 '21 07:02 DotBow

Yay success!

Did the pipenv lock and also had to install bs4 module thing has wasn't installed, recompiled it and now works.

succcess

Blenux avatar Feb 18 '21 07:02 Blenux

Ok, so it seems environment related i.e. building exe file... Really hard solving problem 😢 By the way, does selecting new library folder dialog window works?

DotBow avatar Feb 18 '21 08:02 DotBow

diag This?

Blenux avatar Feb 18 '21 10:02 Blenux

Yep, this one, thanks. Seems I will broke my head trying to solve such per linux distribution difference issue. If only there be a way to build it in cloud for free for every platform 😢

DotBow avatar Feb 18 '21 11:02 DotBow

Linux Mint Cinnamon 20.1 Cause: QFileDialog

Error Description
(Blender Launcher:3542): Gtk-WARNING **: 18:25:17.185: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Mint-Y/actions/16/image-missing.svg: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined symbol: cairo_font_options_get_variations (gdk-pixbuf-error-quark, 5)
Aborted (core dumped)

DotBow avatar Feb 22 '21 18:02 DotBow

hi again, trying to build the new build and I now get this error, tried all the things above has I did before but don't seem to be working (probably user error though), note does launch when I do the pipenv run start command, just cant get it to compile :(

and I accidentally overwrite the one I had working grrr.

blpipenv

Blenux avatar Mar 02 '21 08:03 Blenux

@Blenux Hi! Try to remove pyqt-tools from pip file, if I remember correctly it is not needed for building.

DotBow avatar Mar 02 '21 17:03 DotBow

Hmmm didn't work at first, but just retry again today and it worked, did have a error on compiling, retry that again on top and it seem to work, arghh this hurts my brain lol.

Blenux avatar Mar 05 '21 06:03 Blenux

As a temporary fix in 1.12.0 it is possible to change folder via line arguments https://dotbow.github.io/Blender-Launcher/library_folder/#changing-library-folder

DotBow avatar May 01 '21 12:05 DotBow

Having the same issue with the launcher closing after the builds folder dialogue box on a new install of Pop OS.

I'm new to Linux, so having trouble getting my head around all the terminal stuff. I've tried reading through the tread and making sense of how to trouble shoot this, but I have very little understanding of what is being discussed.

Any help anyone can offer would be amazing - thanks so much,

Hank

hankTremain avatar Aug 31 '22 23:08 hankTremain

Having the same issue with the launcher closing after the builds folder dialogue box on a new install of Pop OS.

I'm new to Linux, so having trouble getting my head around all the terminal stuff. I've tried reading through the tread and making sense of how to trouble shoot this, but I have very little understanding of what is being discussed.

Any help anyone can offer would be amazing - thanks so much,

Hank

Hi! #153

1 - Go to folder where Blender Launcher executable placed 2 - Open terminal (RMB - Open in Terminal i suppose) 3 - Write following command: ./Blender\ Launcher -set-library-folder "%PATH%" where %PATH% is a path to the folder that will be your library 4 - After that you can close terminal and restart launcher

DotBow avatar Sep 01 '22 20:09 DotBow