You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Jeff Swensen <je...@merrillcorp.com> on 2007/03/23 20:49:57 UTC

POI-ruby - ruby hangs

I'm able to create xls files with poi4r just fine but for some reason
any ruby script that requires poi4r hangs at the end.  Has anyone ever
experienced this?  Or possibly have some ideas as to what causes it.

b.rb:

require 'release/poi4r'
puts 'test'

strace ruby b.rb:
...
write(1, "test\n", 5test
)                   = 5
rt_sigaction(SIGINT, {SIG_DFL}, {0x80a1f1c, [], SA_RESTORER|SA_RESTART,
0x400994f8}, 8) = 0
write(5, "\240\20\271A\2\0\0\0\0\0\0\0\4\317\6\0\220\357\377\277"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [CHLD RTMIN], 8) = 0
rt_sigsuspend([CHLD] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [CHLD RTMIN])
wait4(5842, NULL, __WCLONE, NULL)       = 5842
write(5, "\240\20\271A\7\0\0\0\260\277\270A`\356\377\277\300q\32"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [CHLD RTMIN], 8) = 0
rt_sigsuspend([CHLD]



Thanks,
Jeff

Incidentally, one test fails (although I don't think this is related):

  1) Failure:
test_base(TC_base_tests) [./tests/tc_base_tests.rb:70]:
hour.
<15> expected but was
<19>.

3 tests, 10 assertions, 1 failures, 0 errors


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/