Login  Register

Re: Pharo on Windows Issue for Aida -- how to handle?

Posted by Janko Mivšek on Jan 07, 2013; 11:52am
URL: https://forum.world.st/Pharo-on-Windows-Issue-for-Aida-how-to-handle-tp4662253p4662313.html

Hi Bob,

Try the newest 6.5 interim one-click I put together yesterday:

        http://www.aidaweb.si/download

In this release the hourly snapshot together with image backup is
switched off by default. To enable it, evaluate:

        AIDASite default hourlySnapshotEnabled: true

The hourly snapshot is used for image based persistence while image
backup provides additional protection against possible image corruption
of any cause.

Image backup troubles on Windows seems to be related to package
OSProcess running on Windows. I don't know in which state is OSProcess
currently on this regard.

Best regards
Janko


Dne 06. 01. 2013 20:55, piše Robert Calco:

> Every time I get the Aida one-click download for Pharo on Windows, I'm
> confronted with a problem that I believe is partly Aida's fault, and
> partly Pharo's.
>
> Periodically a DNR error shows up when the system tries to copy the
> running image (presumably for backup purposes)..
>
> The part that's Pharo's is a failure to properly initialize stdErr in
> ExternalWindowsOSProcess>>value before calling initialStdErr. Hence it's
> nil, and I get a DNR error when nextPutAll is invoked.
>
> The part that appears to be Aida's fault is the underlying command to
> copy the image that is being executed -- and failing, hence procInfo is
> nil, and so the fact that self initialStdErr is nil is exposed.
>
> My question is... what can I do to handle this? Obviously I need to
> change the ExternalWindowsOSProcess>>value method. How to do  this
> without violating any underlying system semantics? Is it just a simple
> matter of reporting the failure as long as initialStdErr is not nil...
> or is there a change elsewhere that can fix the problem for real?
>
> --
> *Bob Calco*
>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida