-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error 'BlenderVR_root' is not defined #32
Comments
Ok, I think that the problem is the changes in your commit BlenderVR/blender-vr@14222ed For example, in line 54 of console.py, you changed the variable name from blenderVR_root to BlenderVR_root |
For now, I duplicated the current master to new branch: rename-BlenderVR we do need a dev branch :) David Le 8 avr. 2015 à 12:28, jmespadero notifications@github.com a écrit :
|
Apologies Dalai, I backed up tocommit ff9d85d
while everything was actually fine until the modifs you made @commit 21bb8bb
(and can't find a quick way to fix for now) anyway, everything untouched @ branch rename-BlenderVR. David Le 8 avr. 2015 à 12:55, David Poirier-Quinot davipoir@gmail.com a écrit :
|
Fixed (thanks cherry-pick), last master commit is commit a9971a3
remains BlenderVR rename and jmespadero's commits between David Le 8 avr. 2015 à 13:02, David Poirier-Quinot davipoir@gmail.com a écrit :
|
Well, almost... I got in the log windows an error like this: To solve it, I had to edit the .xml file and change the first XML tag from blenderVR to BlenderVR |
almost.. wen't back to pre-IEEE commits on master for now. David Le 8 avr. 2015 à 14:05, jmespadero notifications@github.com a écrit :
|
The problem was a mistake in my end, I'm sorry. I didn't realize I had to rename non-Python files as well as the Python ones. Everything should be running smooth in master. (but yes, you need to rename your xml main tag to BlenderVR). @PyrApple in cases like this you can simply: git revert HEAD (or git revert 7243dc1). git push --force should be avoided by all costs. And yes we will have a 'dev' branch, but we are waiting for after the 1.0 tag is out. (yet another reason for me to double-check before pushing commits) |
I'm still having problems... the daemons are launching but the keyboard and mouse didn't work anymore. Btw, don't feel bad, Dalai. |
That's likely not related to the renaming, but I'll try one of the samples that depend on keyboard. Which setup are you trying? A single computer? |
Yes, It is a single computer with the "Spider" demo and the "console" setting. |
Ok, I have solved it doing a revert to a previous version. |
Here it's working fine BUT you need to use the latest sample files as well. There is also a chance you need to re-create the .spider.vr.blend file. So my suggestion is to get the latest samples and make sure you have no .*vr.blend around. Let me know how it goes |
I can't launch blenderVR after updating to current release.
I got an error in line 55 of blenderVR.py:
File "/home/jespa/bin/blender-vr/blender-vr/utils/blenderVR.py", line 55, in main
sys.path.append(os.path.join(BlenderVR_root, 'modules'))
NameError: name 'BlenderVR_root' is not defined
I have tried to define it in the previous line, just to receive the same error
in line 54 of console.py:
File "blender-vr/modules/blendervr/console/console.py", line 54, in init
self._update_loader_script = os.path.join(BlenderVR_root, 'utils',
NameError: name 'BlenderVR_root' is not defined
Defining the BLENDER_VR_ROOT enviroment variable does not help...
The text was updated successfully, but these errors were encountered: