ts wrote:
/usr/local/lib/ruby/1.8/xsd/charset.rb:139:
[BUG] Segmentation fault
ruby 1.8.1 (2003-12-25) [i686-linux]
Well, can you run it under gdb and give the backtrace.
I tried it again, and the problem has disappeared… it’s possible that
I had still the old ruby version in my path when I tried it the first
time.
But now there’s a different failure:
- Failure:
test_datetime(WSDL::Datetime::TestDatetime) [./wsdl/datetime/test_datetime.rb:63]:
<2004> expected but was
<2003>.
725 tests, 7375 assertions, 1 failures, 0 errors
Hi,
From: “Shashank Date” sdate@everestkc.net
Newsgroups: comp.lang.ruby
Sent: Friday, December 26, 2003 3:26 PM
ruby -e ‘p ARGF.binmode.read’ csv/mac.csv
C:\RUBY-1.8.1\test>ruby -e ‘p ARGF.binmode.read’ csv/mac.csv
“"Avenches","aus Umgebung"\r\n"Bad Hersfeld","Ausgrabung"”
Hmm. mac.csv is broken. “\r\n” between records must be “\r”.
How did you get this file? Did you open this file with some editor?
Anyway, I’ll change the test to create the target file or stream on
the fly. You don’t have to mind this error. You 1.8.1 is clean.
Regards,
// NaHi
Hi,
From: “Andreas Schwarz” usenet@andreas-s.net
Newsgroups: comp.lang.ruby
Sent: Wednesday, December 31, 2003 8:41 PM
But now there’s a different failure:
- Failure:
test_datetime(WSDL::Datetime::TestDatetime) [./wsdl/datetime/test_datetime.rb:63]:
<2004> expected but was
<2003>.
It’s a stupid bug of the test. Won’t be happened next day.
Please ignore this…
Regards,
// NaHi
“NAKAMURA, Hiroshi” nakahiro@sarion.co.jp
ruby -e ‘p ARGF.binmode.read’ csv/mac.csv
C:\RUBY-1.8.1\test>ruby -e ‘p ARGF.binmode.read’ csv/mac.csv
“"Avenches","aus Umgebung"\r\n"Bad Hersfeld","Ausgrabung"”
Hmm. mac.csv is broken. “\r\n” between records must be “\r”.
How did you get this file? Did you open this file with some editor?
I did not change this file. The time-stamp on this file is still intact:
···
C:\RUBY-1.8.1\test\csv>dir /O /AA
Volume in drive C has no label.
Volume Serial Number is 6B0E-6992
Directory of C:\RUBY-1.8.1\test\csv
09/03/2003 07:45 AM 17 bom.csv
09/15/2003 05:07 AM 54 mac.csv
12/12/2003 06:31 PM 44,904 test_csv.rb
3 File(s) 44,975 bytes
0 Dir(s) 24,625,561,600 bytes free
Anyway, I’ll change the test to create the target file or stream on
the fly. You don’t have to mind this error. You 1.8.1 is clean.
Great !
I did have to change the win32\Makefile.sub a little to get it to compile
though.
Added the following :
!if !defined(incdir)
incdir="C:\Program Files\Microsoft Visual Studio\VC98\Include"
!endif
And changed the following to use the $(incdir) variable defined above:
!if !defined(CPPFLAGS)
CPPFLAGS = -I$(incdir) -I. -I$(srcdir) -I$(srcdir)/missing
!endif
Thanks …
Regards,
// NaHi
– shanko
Hi,
From: “Shashank Date” sdate@everestkc.net
Newsgroups: comp.lang.ruby
Sent: Friday, December 26, 2003 10:46 PM
How did you get this file? Did you open this file with some editor?
I did not change this file. The time-stamp on this file is still intact:
Eban-san tells me that winzip extracts “\r” in a file as “\r\n”…
Regards,
// NaHi