Changing the topic now, is there a way to save a Space that has failed?
We want to store the values of that Space that has failed? Is that
possible? In the code snippet below, we could store the values of the
Space when it has succeeded or had alternatives. But can not do the same
thing when it has failed? What we can do so that we store the values
before it decides that it would fail? Am I able to state my problem?
class Best from ReClass prop final
meth explore(S)
C = @cur
in
if @isStopped then S=stopped
elseif C==false then S=nil
else
case {Space.ask C}
of failed then
Best,backtrack Best,explore(S)
[] succeeded then
S=C sol<-C backtrack<-true
[] alternatives(M) then
Best,storeFailed
ReClass,push(M) {Space.commit1 C 1} Best,explore(S)
end
end
end
end
Thanks again for all your help!
Ashis
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Maity, Ashis K
Sent: Monday, February 23, 2009 1:50 PM
To: Mozart users
Subject: RE: Browser problem
Wolfgang,
You may be on the right track here! If I disable some of my McAfee
(especially 'disable IPS'), it appears to work (I think we got an email
the other day about some protection upgrade). Still the tests so far may
not be of my complete satisfaction, but I think got some opening here.
Thanks so much. I will keep you posted if I nail it down to a specific
thing.
Ashis
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Wolfgang Meyer
Sent: Monday, February 23, 2009 1:25 PM
To: Mozart users
Subject: Re: Browser problem
Hmm, I can't really think of anything Mozart-specific that could cause
this.
Does the same thing happen if you use {Inspect foo} instead of {Browse
foo}?
I take it you already tried to simply restart Windows?
If there is any third-party firewall software installed on your system,
you should try to disable it (Mozart communicates with Tk using
sockets).
I never had problems with the built-in Windows firewall. But maybe they
changed it...
Cheers,
Wolfgang
Maity, Ashis K wrote:
Hi Boriss,
No, it is not in particular code (though it may have spread from there
:), its a global issue now. I can't even do {Browse foo} in an Oz code
by itself. I see Oz launching in task manager but Browser does not
come
up!
Ashis
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Boriss Mejias
Sent: Monday, February 23, 2009 12:44 PM
To: Mozart users
Subject: Re: Browser problem
Hi Ashis,
Does your problem appear in one particular code, or just by launching
Oz, and
then feed {Browse foo} ?
If it is only in one particular code, check that you didn't redefine
variable
Browse by something else.
cheers
Boriss
Maity, Ashis K wrote:
Hi Wolfgang,
Thanks! Actually, the Tcl thing I installed was as a last resort. I
now
have uninstalled it. But that did not solve my problem. Just to
restate,
things were working fine until a couple of days ago. And suddenly it
is
not working. If I take the browse away from my program, the code
runs.
Only thing that I could think that changed in my computer are some
automated updates from IT. Is there some Browser related cache I need
to
clean it or some such? It appears hanging!
Ashis
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
On Behalf Of Wolfgang Meyer
Sent: Monday, February 23, 2009 12:17 PM
To: Mozart users
Subject: Re: Browser problem
Mozart on Windows comes with its own Tcl binaries (in
platform\win32-i486). Maybe the Tcl version you installed is somehow
interfering?
You could try to uninstall Tcl.
You could also try to put "C:\Program
Files\Mozart\platform\win32-i486"
at the beginning of PATH to make sure that no other Tcl version
(which
might have been installed by some other program) is causing problems.
Cheers,
Wolfgang
Maity, Ashis K wrote:
It is Windows XP Professional (Service pack 3) and latest Mozart
version
is 1.4.0.
Thanks,
Ashis
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
On Behalf Of Wolfgang Meyer
Sent: Monday, February 23, 2009 11:53 AM
To: Mozart users
Subject: Re: Browser problem
Hi!
Which operating system are you using? Which Mozart version?
Cheers,
Wolfgang
Maity, Ashis K wrote:
Hello,
I have been using Mozart Oz for the past few months and suddenly
having problems with the Browsing. More specifically Browser window
does not come up and Oz seems to be hanging. I tried reinstalling
Oz
for a couple of times and even reinstalled Tcl. Moved the path of
Mozart at the beginning of PATH variable. Nothing seems to help.
While
I am trying these things, once in a while I will get the Browser
window and it goes away in subsequent runs. Never able to nail it
down
what caused the window to come back briefly! Please help if I would
do
some tests to check the sanity of Mozart installation with respect
to
this Browser issue.
Thanks,
Ashis
----
________________________________________________________________________
_________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
________________________________________________________________________
_________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
________________________________________________________________________
_________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
________________________________________________________________________
_________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
________________________________________________________________________
_________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
________________________________________________________________________
_________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users