POV-Ray : Newsgroups : povray.general : "Failed to save file:" : Re: "Failed to save file:" Server Time
31 Jul 2024 10:18:18 EDT (-0400)
  Re: "Failed to save file:"  
From: Charles C
Date: 3 Nov 2007 17:31:44
Message: <472cf6d0@news.povray.org>
Jan Dvorak wrote:
> It seems to me POVray doesn't close the file handle and tries to open a 
> new one. This fails because there cannot be two file handles to the same 
> file if one of them is a writable one.
> I've never seen the POVray code but if handle closing depends on a 
> garbage collector+destructor then this is certainly wrong. In this case 
> either force GC before opening a file or, if that fails, trace the 
> references to it (if you don't mind debugging yourself).
> You can use Sysinternals taskmanager to see if the image handle is still 
> open by POVray.


Thanks Jan.  What you're saying I suspect is right.  I think it's been 
fixed but I don't think the fixed-code hasn't been released.  That's 
what I'm really hoping for. :-)
Charles


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.