POV-Ray : Newsgroups : povray.general : 3.6 Error Saving Server Time
6 Nov 2024 12:18:13 EST (-0500)
  3.6 Error Saving (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Andy Cocker
Subject: 3.6 Error Saving
Date: 16 Jun 2004 17:45:01
Message: <web.40d0be83e025deb258e45a340@news.povray.org>
Hi all,

I'm having an intermittent problem with Windows PovRay 3.6. Occasionally,
when I stop a render during parsing, then try again to render it, Pov tells
me that it failed to save the file (sorry, don't remember the exact
wording). I then have the choice to Abort, Retry etc. I have to Save As in
order to save the file.
I never had this problem with 3.5.

Anyone else noticed this behaviour?

BTW, I have I/O restrictions turned off, and am running XP Home.

All the best,

Andy Cocker


Post a reply to this message

From: Michael Raiford
Subject: Re: 3.6 Error Saving
Date: 16 Jun 2004 20:00:06
Message: <40d0df06$1@news.povray.org>
"Andy Cocker" <nomail@nomail> wrote in message
news:web.40d0be83e025deb258e45a340@news.povray.org...
> Hi all,
>
> I'm having an intermittent problem with Windows PovRay 3.6. Occasionally,
> when I stop a render during parsing, then try again to render it, Pov
tells
> me that it failed to save the file (sorry, don't remember the exact
> wording). I then have the choice to Abort, Retry etc. I have to Save As in
> order to save the file.
> I never had this problem with 3.5.
>
> Anyone else noticed this behaviour?
>
> BTW, I have I/O restrictions turned off, and am running XP Home.
>
> All the best,
>
> Andy Cocker


Yep... I've experienced it as well. The error was something to the effect of
the file being open by another process. Sysinternals Process Explorer showed
PVEngine as the only process that had a handle open for the scene file. I'm
betting that somewhere in the parsing code, when it's cancelled, or an error
occurs it doesn't always close the file.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 3.6 Error Saving
Date: 20 Jun 2004 04:54:16
Message: <40d550b8$1@news.povray.org>
In article <40d0df06$1@news.povray.org> , "Michael Raiford" 
<mra### [at] hotmailcom> wrote:

> I'm
> betting that somewhere in the parsing code, when it's cancelled, or an error
> occurs it doesn't always close the file.

That bet you will loose!  It simply happens in two threads.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Mike Raiford
Subject: Re: 3.6 Error Saving
Date: 21 Jun 2004 09:05:28
Message: <40d6dd18$1@news.povray.org>
Thorsten Froehlich wrote:


> 
> That bet you will loose!  It simply happens in two threads.
> 
>     Thorsten

More detail? Is it a thread sync issue then?


Post a reply to this message

From: Mike Raiford
Subject: Re: 3.6 Error Saving
Date: 21 Jun 2004 09:05:28
Message: <40d6dd18$1@news.povray.org>
Thorsten Froehlich wrote:


> 
> That bet you will loose!  It simply happens in two threads.
> 
>     Thorsten

More detail? Is it a thread sync issue then?


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 3.6 Error Saving
Date: 23 Jun 2004 13:40:56
Message: <40d9c0a8$1@news.povray.org>
In article <40d6dd18$1@news.povray.org> , Mike Raiford 
<mra### [at] hotmailcom>  wrote:

>> That bet you will loose!  It simply happens in two threads.
>>
>>     Thorsten
>
> More detail? Is it a thread sync issue then?

Yes, as the render core and the frontend got decoubled in 3.6 it is possible
that if a system insists on not writing to files open for reading it will
protest.  Most systems do not have such a problem by default, Windows is
fairly unique in this respect...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: 3.6 Error Saving
Date: 23 Jun 2004 17:27:16
Message: <40d9f5b4@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Darren New wrote:
| Thorsten Froehlich wrote:
|
|> Most systems do not have such a problem by default,
|
|
| Actually, most *do*, except for UNIX-based systems. I've never seen
any
| other system where the default for opening a file for reading was
to not
| block writers and vica versa.
|
	Windows 2000 :) In fact I've even been able to have two completely
distinct processes open the same file for writing simultaneously
using the standard library calls (well actually I'm using C++
ofstreams) with no particular options. That didn't work when I was on
Win98 though...

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA2fWfqIYJdJhyixIRAtKNAJ9Ncwf30/ZAWhn95gPfj6RdI9JKxwCdFHHQ
AdfXRGtlIylg8IV1361FTaY=
=kGis
-----END PGP SIGNATURE-----


Post a reply to this message

From: gilroy
Subject: Re: 3.6 Error Saving
Date: 18 Jul 2004 23:15:01
Message: <web.40fb3bdb67e770e41ca8af40@news.povray.org>
While the discussion of threaded execution on different platforms is
interesting in its own right, I have a more pragmatic question:  Is there
any hope that this behavior will be fixed in the short term?  And if not,
does anyone have a workaround that is less cumbersome than using Save As
with a different name, dropping out of POV-Ray, restarting, and using Save
As to replace the actual file with the correct copy?


Post a reply to this message

From: Chris Cason
Subject: Re: 3.6 Error Saving
Date: 19 Jul 2004 00:49:21
Message: <40fb52d1@news.povray.org>
"gilroy" <nomail@nomail> wrote in message
news:web.40fb3bdb67e770e41ca8af40@news.povray.org...
> While the discussion of threaded execution on different platforms is
> interesting in its own right, I have a more pragmatic question:  Is there
> any hope that this behavior will be fixed in the short term?  And if not,

unless I can reproduce it then it's unlikely to be fixed.

if you can send me a scene file that will reliably cause the error on W2K or XP
then I can find the cause.

-- Chris


Post a reply to this message

From: Michael Raiford
Subject: Re: 3.6 Error Saving
Date: 19 Jul 2004 01:28:27
Message: <40fb5bfb@news.povray.org>
gilroy wrote:

> While the discussion of threaded execution on different platforms is
> interesting in its own right, I have a more pragmatic question:  Is there
> any hope that this behavior will be fixed in the short term?  And if not,
> does anyone have a workaround that is less cumbersome than using Save As
> with a different name, dropping out of POV-Ray, restarting, and using Save
> As to replace the actual file with the correct copy?

I do have a half-way solution that has actually worked for me in the 
past when this comes up:

Go to www.sysinternals.com, download process explorer. Open it up and 
search for the file handle, Kill the handle that POV-Ray has held open 
(your file...) save the file and continue.

Standard disclaimer: I am not responsible for crashes as a result of 
this solution. YMMV. etc, etc etc...


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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