Closed jmespadero closed 9 years ago
This error happened in Linux (linuxmint mate 64 bits) with python 3.4.0
Thanks, I think I never use the default processor file
Something to think about, when it is the “default”.
-Brian FG Katz
LIMSI-CNRS
De : Dalai Felinto [mailto:notifications@github.com] Envoyé : mardi 24 mars 2015 22:43 À : BlenderVR/blender-vr Objet : Re: [blender-vr] [bugfix] cannot perform relative import (#28)
Thanks, I think I never use the default processor file
— Reply to this email directly or view it on GitHub https://github.com/BlenderVR/blender-vr/pull/28#issuecomment-85705684 .Image supprimée par l'expéditeur.
The default is supposed to be the fallback when you don't specify a processor file.
That's right, this file is used as fallback. But it is usual that a new user will try some of his own blend files before of read the manual.
This is a bugfix proposed to solve next error:
2015-03-24 15:54:54,309 Invalid import of module "blender-vr/modules/blendervr/processor/default.py" [...] 2015-03-24 15:54:54,312 File "blender-vr/modules/blendervr/processor/default.py", line 39, in
2015-03-24 15:54:54,312 from .. import *
2015-03-24 15:54:54,312 SystemError: Parent module '' not loaded, cannot perform relative import
2015-03-24 15:54:54,312
2015-03-24 15:54:54,313 ***
I got this error while loading a .blend simulation file which has not an associated .processor.py file. So, blender-vr will try to load the file modules/blendervr/processor/default.py as processor.