currently only absolute paths are supported as the value for the export_path field.
so if you set this to // the blender default for the blend-file location the exporter crashes.
way to reproduce
open blender
create new general file
save file to disc
open Aframe Exporter panel
change Exporter - exporter_path to //
click on Export A-Frame Project
result
$ ./blender
Read prefs: /home/stefan/.config/blender/2.90/config/userpref.blend
found bundled python: /home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python
Info: Total files 0 | Changed 0 | Failed 0
[AFRAME EXPORTER] Exporting project...
[AFRAME EXPORTER] Target Dir = /home/stefan/mydata/github/blender/aframe_blender_exporter
--- DEST [//aframe-prj] [//aframe-prj/.] {.}
Traceback (most recent call last):
File "/home/stefan/.config/blender/scripts/addons/aframe_blender_exporter/__init__.py", line 527, in execute
os.makedirs ( dp, exist_ok=True )
File "/home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python/lib/python3.7/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '//aframe-prj'
location: <unknown location>:-1
location: <unknown location>:-1
Error: Traceback (most recent call last):
File "/home/stefan/.config/blender/scripts/addons/aframe_blender_exporter/__init__.py", line 527, in execute
os.makedirs ( dp, exist_ok=True )
File "/home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python/lib/python3.7/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '//aframe-prj'
location: <unknown location>:-1
currently only absolute paths are supported as the value for the
export_path
field. so if you set this to//
the blender default for the blend-file location the exporter crashes.way to reproduce
general
fileExporter
-exporter_path
to//
Export A-Frame Project
result