[Pharo-project] What happens with Warning when running in headless image (2.0)?
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else? Dale
if run from the command line you should get a decent error message... what kind of error do you get? BTW: just show me the code and I'll fix it :P On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
Hello. I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood: NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:" exception occurs and the vm close. Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway. Maybe another is correct way to disable raise deprecation? 2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff. On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood: NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:" exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
Hi Igor. Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode. 2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood: NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:" exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the
script in a
gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
Somebody send recently similar mail to pharo-user list "[Pharo-users] HowTo not show a Debugger when calling deprecated methods in 1.4?" 2012/8/31 Gastón Dall' Oglio <gaston.dalloglio@gmail.com>
Hi Igor.
Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood:
NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:"
exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the
script in a
gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
On 31 August 2012 15:24, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hi Igor.
Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode.
you'd better wait for Camillo's reply then. Because originally, i wrote that code , so it was ignoring warnings. Then Camillo is added some steroids to it, so an image(s) became far more friendly to consoles, including headless mode.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood:
NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:" exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
Ok thanks for reply anyway. Really I don't have hurry (I fixed that with a horrible code I wrote), I just want report that issue. 2012/8/31 Igor Stasenko <siguctua@gmail.com>
On 31 August 2012 15:24, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hi Igor.
Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode.
you'd better wait for Camillo's reply then. Because originally, i wrote that code , so it was ignoring warnings. Then Camillo is added some steroids to it, so an image(s) became far more friendly to consoles, including headless mode.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com
wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in
headless
from console and I go to the /status app, and a "MessageNotUnderstood:
NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:"
exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
I created two bug entries: http://code.google.com/p/pharo/issues/detail?id=6624 http://code.google.com/p/pharo/issues/detail?id=6625 2012/8/31 Gastón Dall' Oglio <gaston.dalloglio@gmail.com>
Ok thanks for reply anyway. Really I don't have hurry (I fixed that with a horrible code I wrote), I just want report that issue.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
On 31 August 2012 15:24, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hi Igor.
Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode.
you'd better wait for Camillo's reply then. Because originally, i wrote that code , so it was ignoring warnings. Then Camillo is added some steroids to it, so an image(s) became far more friendly to consoles, including headless mode.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <
gaston.dalloglio@gmail.com>
wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood:
NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:"
exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error
message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm
disappears
without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
On 31 August 2012 23:22, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
I created two bug entries: http://code.google.com/p/pharo/issues/detail?id=6624 http://code.google.com/p/pharo/issues/detail?id=6625
btw, can you try one thing: try to recompile the Deprecation class.
2012/8/31 Gastón Dall' Oglio <gaston.dalloglio@gmail.com>
Ok thanks for reply anyway. Really I don't have hurry (I fixed that with a horrible code I wrote), I just want report that issue.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
On 31 August 2012 15:24, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hi Igor.
Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode.
you'd better wait for Camillo's reply then. Because originally, i wrote that code , so it was ignoring warnings. Then Camillo is added some steroids to it, so an image(s) became far more friendly to consoles, including headless mode.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood:
NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:" exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com> wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run the script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
I evaluate Deprecation compileAll and later Compiler recompileAll and no changes. 2012/8/31 Igor Stasenko <siguctua@gmail.com>
On 31 August 2012 23:22, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
I created two bug entries: http://code.google.com/p/pharo/issues/detail?id=6624 http://code.google.com/p/pharo/issues/detail?id=6625
btw, can you try one thing: try to recompile the Deprecation class.
2012/8/31 Gastón Dall' Oglio <gaston.dalloglio@gmail.com>
Ok thanks for reply anyway. Really I don't have hurry (I fixed that
with a
horrible code I wrote), I just want report that issue.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
On 31 August 2012 15:24, Gastón Dall' Oglio <
gaston.dalloglio@gmail.com>
wrote:
Hi Igor.
Here, in a linux box, I guess that this warning occurs and raise the NonInteractiveUIManager exception, and is showed in stdout when I run in headless mode.
you'd better wait for Camillo's reply then. Because originally, i wrote that code , so it was ignoring warnings. Then Camillo is added some steroids to it, so an image(s) became far more friendly to consoles, including headless mode.
2012/8/31 Igor Stasenko <siguctua@gmail.com>
in headless mode all warnings are suppressed (so they don't interfere). i'm not sure if it prints something on stdout.. it could be that it simply ignored and continues running the stuff.
On 31 August 2012 14:11, Gastón Dall' Oglio <gaston.dalloglio@gmail.com> wrote:
Hello.
I install Seaside in a Pharo 1.4 summer image. Then I run it in headless from console and I go to the /status app, and a "MessageNotUnderstood:
NonInteractiveUIManager>>openDebuggerOn:context:label:contents:fullView:"
exception occurs and the vm close.
Then I run this image in gui and an "Deprecation: The method SmalltalkImage>>isRunningCog has been deprecated." dialog box are raised. I evaluate Deprecation raiseWarning: false but no take effect, the dialog is raised anyway.
Maybe another is correct way to disable raise deprecation?
2012/8/31 Camillo Bruni <camillobruni@gmail.com>
if run from the command line you should get a decent error message...
what kind of error do you get?
BTW: just show me the code and I'll fix it :P
On 2012-08-31, at 07:24, Dale Henrichs <dhenrich@vmware.com>
wrote:
I'm running a headless pharo2.0 from a script and the vm disappears without a trace (no pharodebug.log info etc.) ... when I run
the
script in a gui, I see that a warning dialog box is popping up, so perhaps this is the source of the issue? ... or perhaps it's something else?
Dale
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
participants (4)
-
Camillo Bruni -
Dale Henrichs -
Gastón Dall' Oglio -
Igor Stasenko