I’ve played with this a little, and offhand I
haven’t yet seen a compelling reason it shouldn’t
(in theory) run on Win32.
I made a couple of minor changes, and here is
where it chokes (see below). Not sure why.
Downloading project data http://narf-lib.sourceforge.net/raa/raa-xml-compacted.xml.gz
…C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:42:in read': unexp ected end of file (Zlib::GzipFile::Error) from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:42:inget_data’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:41:in open' from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall/raaopen.rb:51:inopen’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall/raaopen.rb:13:in open' from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall/raaopen.rb:214:inopen’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:41:in get_data' from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:52:inall’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:66:in
`search’
from c:/ruby167/bin/rai.rb:69
FYI, I’m on Win98 so I can’t use the ASSOC trick
or whatever it is.
I used my “generic .exe” trick that I posted a
few months back, which seemed to necessitate
changing the filename to 8.3 form (since the
C program’s ARGV[0] was a shortened form and
was causing problems).
I also removed the shebang line (if I recall
correctly). And I perhaps made one other change,
but can’t think what it was. Oops.
Anyhow, this is just in case anyone is working
on a Windoze version.
I’ve heard about this problem before - I don’t think it was caused by
anything you did. It’s unfortunate, the only reason the gzip library
is in the package is for windows users…
Maybe I’ll check it out on a windows box and see if I can figure out
what’s up.
-Tom
···
On Tue, Dec 10, 2002 at 07:53:36AM +0900, Hal E. Fulton wrote:
Hello…
I’ve played with this a little, and offhand I
haven’t yet seen a compelling reason it shouldn’t
(in theory) run on Win32.
I made a couple of minor changes, and here is
where it chokes (see below). Not sure why.
Downloading project data http://narf-lib.sourceforge.net/raa/raa-xml-compacted.xml.gz
…C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:42:in read': unexp ected end of file (Zlib::GzipFile::Error) from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:42:in get_data’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:41:in open' from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall/raaopen.rb:51:in open’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall/raaopen.rb:13:in open' from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall/raaopen.rb:214:in open’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:41:in get_data' from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:52:in all’
from C:/RUBY167/lib/ruby/site_ruby/1.6/raainstall.rb:66:in
`search’
from c:/ruby167/bin/rai.rb:69
FYI, I’m on Win98 so I can’t use the ASSOC trick
or whatever it is.
I used my “generic .exe” trick that I posted a
few months back, which seemed to necessitate
changing the filename to 8.3 form (since the
C program’s ARGV[0] was a shortened form and
was causing problems).
I also removed the shebang line (if I recall
correctly). And I perhaps made one other change,
but can’t think what it was. Oops.
Anyhow, this is just in case anyone is working
on a Windoze version.
I have a fix for this. The Tempfile which is used to handle HTTP reads
greater than 10k isn’t reading in binary mode. We’ll release a 0.0.6
tomorrow to fix a number of Windows (and Ruby 1.7) glitches.
In the meantime, you can simply increase the size_limit' buffer inside of raa-install to buffer everything in memory. Look for the line in lib/raainstall/raaopen.rb’:
And increase the size_limit default to 128k or so.
_why
···
On Monday 09 December 2002 04:57 pm, Tom Clarke wrote:
I’ve heard about this problem before - I don’t think it was caused by
anything you did. It’s unfortunate, the only reason the gzip library
is in the package is for windows users…
Maybe I’ll check it out on a windows box and see if I can figure out
what’s up.
For anyone interested, I’ve created an raa-install mailing list at:
All are welcome.
-Tom
···
On Tue, Dec 10, 2002 at 09:26:06AM +0900, why the lucky stiff wrote:
On Monday 09 December 2002 04:57 pm, Tom Clarke wrote:
I’ve heard about this problem before - I don’t think it was caused by
anything you did. It’s unfortunate, the only reason the gzip library
is in the package is for windows users…
Maybe I’ll check it out on a windows box and see if I can figure out
what’s up.
-Tom
Tom:
I have a fix for this. The Tempfile which is used to handle HTTP reads
greater than 10k isn’t reading in binary mode. We’ll release a 0.0.6
tomorrow to fix a number of Windows (and Ruby 1.7) glitches.
In the meantime, you can simply increase the size_limit' buffer inside of raa-install to buffer everything in memory. Look for the line in lib/raainstall/raaopen.rb’: