[BioRuby] Installing & testing BioRuby on Windows

Peter Cock p.j.a.cock at googlemail.com
Mon Nov 21 09:42:45 UTC 2011


On Mon, Nov 21, 2011 at 8:09 AM, Naohisa Goto
<ngoto at gen-info.osaka-u.ac.jp> wrote:
> Hi Peter,
>
> Sorry very late.
>
> On my Windows 7 (32-bit, Business or Enterprise) machines,
> with Ruby 1.9.3-p0 downloaded from rubyinstaller.org, the 1), 2), and 3)
> "Errno::EACCES: Permission denied" cannot be reproduced.
> Instead, failure occur due to the change of command-line escaping in
> Ruby 1.9, which would be the same as 9) and 10).
>
> The "Errno::EACCESS" might occurr when using other shell than cmd.exe
> e.g. Cygwin's Bash, execution prohibition by security software, or by
> access controll on NTFS.
>
> For 9) and 10): In Windows, command-line escaping is treated by each
> software, and no "general" escaping way exists. This means the test is
> bad for Windows. With Ruby 1.8.x, current BioRuby uses its internal
> command-line string builder, but with Ruby 1.9.x, it uses Ruby's.
>
> 6), 7), and 8) may be due to text mode that is default file reading mode
> when Ruby on windows and that  may break things when reading binary
> files.
>
> 11) may be the problem of removing a file before closing, as you said.
>
> Thanks,
>
> Naohisa Goto
> ngoto at gen-info.osaka-u.ac.jp / ng at bioruby.org

Hi Goto-san,

Hmm. Can you mark some of these as known failures under
Windows, or skip those tests under Windows?

Otherwise right now having a nightly build on Windows will always
fail, and always send an error email. So It won't be helpful.

Regards,

Peter




More information about the BioRuby mailing list