[Bf-committers] RE: RE: RE: RE: RE: Renderfarm for single pictures

Caronte elcreador at ono.com
Mon May 1 20:26:05 CEST 2006


Now I get:

error: [Errno 13] Permission denied: 'c://Blender'


----------------------
Nico (Caronte).
----------------------

-----Mensaje original-----
De: bf-committers-bounces at projects.blender.org
[mailto:bf-committers-bounces at projects.blender.org]En nombre de fab
Enviado el: lunes, 01 de mayo de 2006 20:15
Para: bf-blender developers
Asunto: [listas] Re: [Bf-committers] RE: RE: RE: RE: Renderfarm for
single pictures


On 01/05/06 18:48 +0200, Caronte wrote:
> still don't work :(
> 
> I inserted some prints and the console only print 1 and 3 so the 2 is
> skiped.
> 
> Any ideas?
> 
> def testBlender():
> 	try:
>             print 1
> 		f = file(BLENDER,'rb')
>             print 2
> 		f.close()
> 		return os.path.isdir(TEMPORARY_DIRECTORY)
> 	except:
>             print 3
> 		return False

Don't mess with indentation, If I remember well, I use tabs.
That may cause additional problems if you don't use it when inserting
print statements.

You may want to replace:
except:
with
except Exception, e:
	print "error: %s"%e

Regards.
_______________________________________________
Bf-committers mailing list
Bf-committers at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list