Forum

Selectable object follows path

07 June 2016 12:04 #9957

Actually I can't use project manager because I get an error with "create new project" :
"Traceback (most recent call last):
File "/media/prince/a94a0881-d13f-49b3-ab1b-5ff15a8e571e/CreationInteractive/Blender/blend4web_sdk_free/apps_dev/project.py", line 43, in
import project_cli
File "/media/prince/a94a0881-d13f-49b3-ab1b-5ff15a8e571e/CreationInteractive/Blender/blend4web_sdk_free/scripts/lib/project_cli.py", line 327
print(" " + "-"*(len(err)), file=sys.stderr)
^
SyntaxError: invalid syntax
"
I use Ubuntu.
Hard luck !!! :)
Hello!
The error occurs because python 2 is called instead of python 3.
Do you use a non-standart Blender build?
Please type bpy.app.binary_path_python in Blender console. Result should be the path to python executable file in Blender distributive.
Blend4Web Team - developer
07 June 2016 16:43 #9976
Hi !

Thank you very much !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Now I can begin the "interactive storyboard" of my next interactive documentary !
I hope when the project will be in production, there is a VR solution to use blend4web rather than unity.

07 June 2016 17:01 #9977
Hi,

Yes I use a non standard blender build…
I have typed bpy.app.binary_path_python in the blender console, but the error occurs again
07 June 2016 17:16 #9979
In ubuntu, I have just made default "python" command to use python 3
But the error runs again…

Moreover blender console says I use python3………… (?)
07 June 2016 17:31 #9980

How can I force Blender to use usr/bin/python3 rather than python ?
I search in the net but I don't find
07 June 2016 18:18 #9985

How can I force Blender to use usr/bin/python3 rather than python ?
I search in the net but I don't find
I don't think that it is easily achievable.
We strongly recommend to use the official blender built to prevent further problems.

At least yous should check if the problem occurs with of. build.
Blend4Web Team - developer
07 June 2016 18:28 #9986

So I change the symbolic link python to python3…
I hope there's no apps need python2

Thank you for help !
20 June 2016 18:54 #10147
Hi,

So I have linked /usr/bin/python3 with python. Now Project Manager works, I can create project etc
but when I want to test my scene .html (app_dev/test) I get a black window in my browser.
What am i making wrong ?

I have attached a basic scene's export

Thank you
20 June 2016 19:01 #10148

So I have linked /usr/bin/python3 with python. Now Project Manager works, I can create project etc
but when I want to test my scene .html (app_dev/test) I get a black window in my browser.
What am i making wrong ?
Hello!

Scene is shown correctly on my machine. The screen is black during loading the scene. Could you please attach a screenshot of your browser console log
Blend4Web Team - developer
20 June 2016 21:18 #10151
This is a screenshot of the console log
 
Please register or log in to leave a reply.