Blender-Launcher
Blender-Launcher copied to clipboard
Linux Mint 20.1: Blender Launcher install asks for Blenders folder, then just closes and nothing happens
Linux Mint 20.1: Blender Launcher install asks for Blenders folder, then just closes and nothing happens
Image1: If I click 'Continue' the message goes away and nothing happens :(
Hi! Could you please check if latest build fixes an issue: https://drive.google.com/file/d/106dWbCrlqYzlBbzwGcKbkCVj91CJNYMa/view?usp=sharing
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 :/
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
Might be also related to #27
Seems to work fine on my side - new folder browser opens.
Please, check the console for further investigation.
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
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.
I will try to look into issue asap.
Thank you :)
@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
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!
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.
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....
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?
It compiled fine, but when running it I get this error.

if I run the release version I get this error,

@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.
@Blenux I see that there is a missing module error by the way:
Does your environment managed to install all modules without errors?
Think it's a python version issue?, I have python 3.9 installed.

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
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
Yay success!
Did the pipenv lock and also had to install bs4 module thing has wasn't installed, recompiled it and now works.

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?
This?
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 😢
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)
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.

@Blenux Hi! Try to remove pyqt-tools from pip file, if I remember correctly it is not needed for building.
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.
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
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
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