Re: [galaxy-dev] Galaxy tool's error report

2012-01-04 Thread Peter Cock
On Wed, Jan 4, 2012 at 5:24 AM, Timothy Wu <2hug...@gmail.com> wrote:
> Hi,
>
> I'm executing a R script via Python's os.system() (using Rscript executable
> which allow executing R script in the command line). This script makes use
> of library that will attempt to load up Tcl/Tk interface. Though I don't see
> anything even if I'm running the commands on Windows interactive R console,
> it will attempt to connect to the display server unsuccessfully during
> Galaxy's execution (and fail because $DISPLAY is not set). The program runs
> just fine since I have the output I wanted. But Galaxy sees error, and I'm
> suspecting it's because of this DISPLAY thing.
>
> I don't understand how Galaxy detects something goes wrong. If anything I
> thought it's my Python script return code that should matter. But how does
> Galaxy know?! And how do I fix it?
>
> Timothy

Currently you must suppress any warning messages to stderr,
see https://bitbucket.org/galaxy/galaxy-central/issue/325/


Peter
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/


[galaxy-dev] Galaxy tool's error report

2012-01-03 Thread Timothy Wu
Hi,

I'm executing a R script via Python's os.system() (using Rscript executable
which allow executing R script in the command line). This script makes use
of library that will attempt to load up Tcl/Tk interface. Though I don't
see anything even if I'm running the commands on Windows interactive R
console, it will attempt to connect to the display server unsuccessfully
during Galaxy's execution (and fail because $DISPLAY is not set). The
program runs just fine since I have the output I wanted. But Galaxy sees
error, and I'm suspecting it's because of this DISPLAY thing.

I don't understand how Galaxy detects something goes wrong. If anything I
thought it's my Python script return code that should matter. But how does
Galaxy know?! And how do I fix it?

Timothy
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/