Join our discord community

Please or Register to create posts and topics.

Can't open files (file isnt registered) and Python3/2.7 conflicts in Blender

Using Ubuntu 20.10, got it working in python3 via changing some of the install scripts and how its run.

When looking / creating versions in teh Project Browser for any application with a custom path (or none at all) they don't open at.

The terminal spits out "gio: file:///home/statix/Dropbox/work/stxDev/03_Workflow/Assets/creatures/slerg/Scenefiles/mod/Modeling/slerg_mod_Modeling_v0001__sti_.blend: No application is registered as handling this file"

The Executable override is set to the correct binary "/opt/blenderbeta/blender". It binary runs fine in the terminal.

 

The second issue is related to python2/python3.

The blender prism menu looks for python2.7 and fails :

"ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
rna_uiItemO: operator missing srna 'object.prism_save'
/opt/blenderbeta/2.92/scripts/startup/bl_ui/space_topbar.py:275
rna_uiItemO: operator missing srna 'object.prism_savecomment'
/opt/blenderbeta/2.92/scripts/startup/bl_ui/space_topbar.py:278
rna_uiItemO: operator missing srna 'object.prism_browser'
/opt/blenderbeta/2.92/scripts/startup/bl_ui/space_topbar.py:281
rna_uiItemO: operator missing srna 'object.prism_manager'
/opt/blenderbeta/2.92/scripts/startup/bl_ui/space_topbar.py:284
rna_uiItemO: operator missing srna 'object.prism_settings'
/opt/blenderbeta/2.92/scripts/startup/bl_ui/space_topbar.py:287
Saved session recovery to '/tmp/quit.blend'"

 

Keep up the good work Richard!

Just a quick update to say that you need to manually register files with mime-types or .desktop files in order for Prism to open up files using the correct application.

But thats the problem, its opening the files using system default, and NOT whats specified within Prisms binary override.

We have multiple shows with multiple software versions.

 

Python 3.8 and/or flatpak/appimage support would be amazing.

Which version of Prism are you using? Since v1.3.0.45 the override should also work on linux.

Cheers, Richard

1.3.0.51 on Linux Ubuntu 20.10.

 

Also, none of the application integrations works with Python3,  me hacking away at your scripts to make it run under Python3 only worked for getting the ProjectBrowser/Settings working.

 

-t