|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
-----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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |