[Bf-committers] RE: RE: RE: RE: Renderfarm for single pictures
fab
fab at gnux.info
Mon May 1 20:14:58 CEST 2006
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.
More information about the Bf-committers
mailing list