Page 1 of 2
blendigo 2.0.6 scipt error problem
Posted: Fri Jun 12, 2009 7:15 am
by pitat450

I think that nobody is paying attention to the other post at the end of another thread so forgive me doubleposting but:
I have 2.49 blender 2.0:6 indigo and 2.0.6 blendigo installed...and
i wonder what went wrong here, but when i try to export it produces an error...
...see image below...
Is it ok that I am using version 2.5.2 of python?
I was using blendigo 1.0.9 and it was working fine except for external material so i tried to update and this happened, thanx for reply...

Re: blendigo 2.0.6 scipt error problem
Posted: Fri Jun 12, 2009 10:23 am
by benn
It seems as though you don't have indigo 2.0.6 installed correctly. Could you try reinstalling and check indigo starts correctly?
I've added some code to blendigo to handle this error better.
Re: blendigo 2.0.6 scipt error problem
Posted: Fri Jun 12, 2009 11:10 am
by pitat450
well, if I run it all alone it seems to work just fine, i tried to render some of the scenes exported by blendigo 1.0.9, it failed, but i suppose thats because the older verion not communicating properly.
I dont know how better I can do installing it, because its just an automatic installer..?
do u think it can interfere with the other version i have had installed before?
Or the python version?
I reinstalled everything and the problem stays the same...thanx a lot

Re: blendigo 2.0.6 scipt error problem
Posted: Fri Jun 12, 2009 11:22 am
by benn
Did you install indigo as the same user as you run blendigo with? Are you the system administrator? I think we might have some permission issues with where we are storing the key in the registry.
Try right clicking on the indigo installer and choose run as administrator, and deselect 'run this program with restricted access'.
Let me know if that fixes the issue, as we can change how Indigo installs to fix this for future users.
Re: blendigo 2.0.6 scipt error problem
Posted: Fri Jun 12, 2009 7:38 pm
by SmartDen
ben, thats actually your fail. look at this line: "hKey = _winreg.OpenKey (_winreg.HKEY_CURRENT_USER, r"Software\\Glare Technologies\\Indigo Renderer")"
what ist the 'r' for? i guess it's just a typo
EDIT: learn to read error messages

Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 12:27 am
by Josh
Nah, r"spam..." is Python's way to express raw strings, which don't treat backslashes as escape characters. I just wonder why the traceback output shows double backslashes? Maybe they shouldn't be doubled here.
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 12:43 am
by fused
You just got owned, Den.

Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 12:52 am
by SmartDen
fused wrote:You just got owned, Den.

maybe, but it make no sense anyway
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 1:08 am
by Josh
That's life
But if there are really double backslashes in the script, Windows will receive them doubled as well what makes the key invalid (as i suppose).
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 2:27 am
by SmartDen
Josh wrote:That's life
But if there are really double backslashes in the script, Windows will receive them doubled as well what makes the key invalid (as i suppose).
i tested it, it make no difference
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 4:05 am
by scatman
I feel your pain. See my 'color me completely confused' post. The thing is though, I have absolutely no problems rendering with blender2.49 + indigo1.0.9_3.
???????
I'm having this same problem on 2 different WinXP Pro (32bit) PCs. I trust it'll get resolved soon.
scatman
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 4:50 am
by Josh
Switched over to windows and downloaded all the stuff...
SmartDen wrote:
i tested it, it make no difference
Are you sure? With freshly installed Python, Blender and Blendigo, i got exactly the same error at first, then removed the extra backslashes in indigo.py and restarted Blender. And now it works
EDIT: Windows XP Professional SP3, Python 2.5.4, Blender 2.49, Blendigo 2.0.6, if you want to know
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 7:42 am
by scatman
Hey, Josh.
After stumbling around looking at the wrong blendigo.py, I finally found the right blendigo.py (in the blendigopkg folder) and removed the 2 sets of backslashes (changed \\Glare Technologies\\ --to-- \Glare Technologies\). This actually makes blendigo2.0.6 (with blender2.49 and indigo2.0.6) more stable.
It still crashes on one of my blender files in particular, maybe I should try it with python 2.5.4 instead of 2.5.2.
scatman
Re: blendigo 2.0.6 scipt error problem
Posted: Sat Jun 13, 2009 10:08 pm
by pitat450
Ok! that fixed the script problem! Thanx ...but then i got only a little step further because, I got stuck same as oveer here
http://www.indigorenderer.com/forum/vie ... f=8&t=5857
Re: blendigo 2.0.6 scipt error problem
Posted: Sun Jun 14, 2009 1:03 pm
by benn
I've recieved two blender files from you guys, I'll look into them on monday with smartden and see about getting them sorted.
