ubisoft / mixer

Add-on for real-time collaboration in Blender.
https://ubisoft-mixer.readthedocs.io/
GNU General Public License v3.0
1.32k stars 77 forks source link

bpy.app object has no atribute "binary_path_python #46

Open wprojects opened 2 years ago

wprojects commented 2 years ago

error message: mixer.connect error : AttributeError("'bpy.app' object has no attribute 'binary_path_python'") from #44

bpy.app.binary_path_python" was deprecated and replaced with "sys.executable".

I saw this solution in this thread #44 but for one I do not have windows, I am running ubuntu 21.10 and also have no clue how to actually change this files name. I have tried searching my file explorer and can't find the file. I WAS able to find the bpy.app.binary_path_python in the python console, but I couldn't fix the issue from there had no clue what to do. Do I fix this within blender or do I find the addons folder in my computer (terminal or files explorer) and just rename it there? Does anyone know where blender add ons and this file would actually be stored on my linux computer? Better instructions/explanations or some pictures showing how to do this would be great, or just an update to the add on would be even better considering it doesn't work on 2 major operating systems currently on the latest blender version (on 3.1 right now)

`I've changed bpy.app.binary_path_python to sys.executable and now I can connect and create rooms, but after join my colleague got crash, so it's not a real problem here (for 3.1 at least)

That's what I've got in crash log

Python backtrace

File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\attributes.py", line 188 in write_attribute File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\datablock_proxy.py", line 428 in _save File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\datablock_proxy.py", line 391 in create_standalone_datablock File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\datablock_collection_proxy.py", line 133 in create_datablock File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\bpy_data_proxy.py", line 503 in create_datablock File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\bpy_data_proxy.py", line 318 in func File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_data\bpy_data_proxy.py", line 320 in wrapper File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_client\data.py", line 125 in build_data_create File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\blender_client\client.py", line 1029 in network_consumer File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\mixer\connection.py", line 191 in network_consumer_timer `

Screenshot from 2022-03-26 00-25-03 "

Here is what I tried to fix it in blender, none of this worked. Any suggestions would be great!

image

image

Love the concept, wish it worked @Ubisoft-LaForge

wprojects commented 2 years ago

@Ubisoft-LaForge

RemyIsCool commented 2 years ago

same