[Gmod-tripal-devel] Proposal: Could access to job error messages be made easier?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Gmod-tripal-devel] Proposal: Could access to job error messages be made easier?

Michael Dondrup-3
Hi,

I am working with some Tripal jobs which sometimes fail, e.g. due to bad input files etc. I found myself inserting
debug output via print sometimes. When a job fails I get "Error Message Job has terminated unexpectedly."
in the job details, and running jobs on the console (via tripal_launch_jobs.php) doesn't yield output either. I assume
that the job runs into one or the other 'watchdog()' exceptions, but the output of this doesn't seem to get forwarded.
I think the best solution would be to store the error message and display it via the job interface, because often it might
give valuable hints on how to fix the files. Would that be possible?

Michael

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel

signature.asc (465 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Gmod-tripal-devel] Proposal: Could access to job error messages be made easier?

Stephen Ficklin-2
Hi Michael,

This has been an item I have wanted to handle for sometime but have not gotten to it.  You are right, the jobs management system needs a better way to report errors to the user.  Yes, I think we can do it.  I have added a feature request to our issues queue:  https://drupal.org/node/2069953

Stephen

On 8/20/2013 8:21 AM, Michael Dondrup wrote:
Hi,

I am working with some Tripal jobs which sometimes fail, e.g. due to bad input files etc. I found myself inserting
debug output via print sometimes. When a job fails I get "Error Message	Job has terminated unexpectedly."
in the job details, and running jobs on the console (via tripal_launch_jobs.php) doesn't yield output either. I assume
that the job runs into one or the other 'watchdog()' exceptions, but the output of this doesn't seem to get forwarded.
I think the best solution would be to store the error message and display it via the job interface, because often it might 
give valuable hints on how to fix the files. Would that be possible?

Michael


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk


_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Gmod-tripal-devel] Proposal: Could access to job error messages be made easier?

Michael Dondrup-3
Thank you Stephen,

just a workaround for now, using drush tripal-launch-jobs admin
instead of calling the launch script via php
writes the watchdog errors to stderr.

bytes.WD T_gff3_loader: improper number of columns on line 2               [error]

Best
Michael


On Aug 20, 2013, at 3:39 PM, Stephen Ficklin wrote:

> Hi Michael,
>
> This has been an item I have wanted to handle for sometime but have not gotten to it.  You are right, the jobs management system needs a better way to report errors to the user.  Yes, I think we can do it.  I have added a feature request to our issues queue:  https://drupal.org/node/2069953
>
> Stephen
>
> On 8/20/2013 8:21 AM, Michael Dondrup wrote:
>> Hi,
>>
>> I am working with some Tripal jobs which sometimes fail, e.g. due to bad input files etc. I found myself inserting
>> debug output via print sometimes. When a job fails I get "Error Message Job has terminated unexpectedly."
>> in the job details, and running jobs on the console (via tripal_launch_jobs.php) doesn't yield output either. I assume
>> that the job runs into one or the other 'watchdog()' exceptions, but the output of this doesn't seem to get forwarded.
>> I think the best solution would be to store the error message and display it via the job interface, because often it might
>> give valuable hints on how to fix the files. Would that be possible?
>>
>> Michael
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>
>>
>> _______________________________________________
>> Gmod-tripal-devel mailing list
>>
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk_______________________________________________
> Gmod-tripal-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Gmod-tripal-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-tripal-devel

signature.asc (465 bytes) Download Attachment