Skip Menu |
 

This queue is for tickets about the WordNet-Similarity CPAN distribution.

Report information
The Basics
Id: 86437
Status: resolved
Priority: 0/
Queue: WordNet-Similarity

People
Owner: Nobody in particular
Requestors: nishantsharma486 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Failure of "make test" step
Date: Wed, 26 Jun 2013 20:05:08 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
Download (untitled) / with headers
text/plain 2.2k
Hi, First of all a big thanks to the whole team for making such tools that are, for students like me and researchers, very useful. I would like to report a bug i encountered during the installation of Wordnet-Similarity-2.05. I have installed all the pre-requisites successfully. Also to the best of my knowledge, the "perl Makefile.PL" and "make" steps were successful as well. But the next step, i.e. "make test", failed. Following are the details of its execution: nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/access.t ........ ok t/hso.t ........... ok t/ICFinder.t ...... ok t/jcn.t ........... ok t/lch.t ........... ok t/lesk.t .......... ok t/lin.t ........... ok t/offsetwps.t ..... ok t/pairs-noroot.t .. ok t/pairs.t ......... ok t/path.t .......... ok t/PathFinder.t .... ok t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for testing POD coverage t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD t/random.t ........ ok t/res.t ........... ok t/trace.t ......... 51/132 # Failed test at t/trace.t line 141. # got: '4' # expected: '0' # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and 'Overlaps: 1 x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling the" 2 x "any" 1 x "and" ' differ t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/132 subtests t/vector.t ........ ok t/vector_pairs.t .. ok t/wn30loop.t ...... ok t/wup.t ........... ok Test Summary Report ------------------- t/trace.t (Wstat: 256 Tests: 132 Failed: 1) Failed test: 76 Non-zero exit status: 1 Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys + 128.26 cusr 4.94 csys = 133.70 CPU) Result: FAIL Failed 1/22 test programs. 1/2027 subtests failed. make: *** [test_dynamic] Error 255 Please could you help me fix this, i am stuck. I need to use it for my project and i am under a lot of time-pressure. Thanks a lot once again Nishant Sharma IIT Madras, India
Subject: Re: Failure of "make test" step
Date: Wed, 26 Jun 2013 20:09:04 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
Download (untitled) / with headers
text/plain 2.5k
Also, is it possible to install it despite the failure of "make test"? So that i could move forward. Thanks again. On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma <nishantsharma486@gmail.com>wrote: Show quoted text
> Hi, > > First of all a big thanks to the whole team for making such tools that > are, for students like me and researchers, very useful. > > I would like to report a bug i encountered during the installation of > Wordnet-Similarity-2.05. I have installed all the pre-requisites > successfully. Also to the best of my knowledge, the "perl Makefile.PL" and > "make" steps were successful as well. But the next step, i.e. "make test", > failed. Following are the details of its execution: > > nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$ make > test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/access.t ........ ok > t/hso.t ........... ok > t/ICFinder.t ...... ok > t/jcn.t ........... ok > t/lch.t ........... ok > t/lesk.t .......... ok > t/lin.t ........... ok > t/offsetwps.t ..... ok > t/pairs-noroot.t .. ok > t/pairs.t ......... ok > t/path.t .......... ok > t/PathFinder.t .... ok > t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for testing > POD coverage > t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD > t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD > t/random.t ........ ok > t/res.t ........... ok > t/trace.t ......... 51/132 > # Failed test at t/trace.t line 141. > # got: '4' > # expected: '0' > # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" > 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and 'Overlaps: 1 > x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling > the" 2 x "any" 1 x "and" ' differ > t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. > t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/132 subtests > t/vector.t ........ ok > t/vector_pairs.t .. ok > t/wn30loop.t ...... ok > t/wup.t ........... ok > > Test Summary Report > ------------------- > t/trace.t (Wstat: 256 Tests: 132 Failed: 1) > Failed test: 76 > Non-zero exit status: 1 > Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys + 128.26 > cusr 4.94 csys = 133.70 CPU) > Result: FAIL > Failed 1/22 test programs. 1/2027 subtests failed. > make: *** [test_dynamic] Error 255 > > > Please could you help me fix this, i am stuck. I need to use it for my > project and i am under a lot of time-pressure. > Thanks a lot once again > > Nishant Sharma > IIT Madras, India >
CC: bug-WordNet-Similarity [...] rt.cpan.org, Ted Pedersen <tpederse [...] d.umn.edu>
Subject: Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Wed, 26 Jun 2013 10:50:01 -0400
To: nishantsharma486 [...] gmail.com
From: Siddharth Patwardhan <sidd [...] patwardhans.net>
Download (untitled) / with headers
text/plain 3.4k
Yes, it is possible to install despite the "make test" failure. However, the test failure may indicate more fundamental problems, which could manifest themselves later. Can you give us more details about your system: which OS (linux, windows, mac)? which version of WordNet? -- Sid. On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" <bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. > Transaction: Ticket created by nishantsharma486@gmail.com > Queue: WordNet-Similarity > Subject: Re: Failure of "make test" step > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: nishantsharma486@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > > > Also, is it possible to install it despite the failure of "make test"? So > that i could move forward. > Thanks again. > > > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma > <nishantsharma486@gmail.com>wrote: >
>> Hi, >> >> First of all a big thanks to the whole team for making such tools that >> are, for students like me and researchers, very useful. >> >> I would like to report a bug i encountered during the installation of >> Wordnet-Similarity-2.05. I have installed all the pre-requisites >> successfully. Also to the best of my knowledge, the "perl Makefile.PL" and >> "make" steps were successful as well. But the next step, i.e. "make test", >> failed. Following are the details of its execution: >> >> nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$ make >> test >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> t/access.t ........ ok >> t/hso.t ........... ok >> t/ICFinder.t ...... ok >> t/jcn.t ........... ok >> t/lch.t ........... ok >> t/lesk.t .......... ok >> t/lin.t ........... ok >> t/offsetwps.t ..... ok >> t/pairs-noroot.t .. ok >> t/pairs.t ......... ok >> t/path.t .......... ok >> t/PathFinder.t .... ok >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for testing >> POD coverage >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD >> t/random.t ........ ok >> t/res.t ........... ok >> t/trace.t ......... 51/132 >> # Failed test at t/trace.t line 141. >> # got: '4' >> # expected: '0' >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and 'Overlaps: 1 >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling >> the" 2 x "any" 1 x "and" ' differ >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) >> Failed 1/132 subtests >> t/vector.t ........ ok >> t/vector_pairs.t .. ok >> t/wn30loop.t ...... ok >> t/wup.t ........... ok >> >> Test Summary Report >> ------------------- >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) >> Failed test: 76 >> Non-zero exit status: 1 >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys + 128.26 >> cusr 4.94 csys = 133.70 CPU) >> Result: FAIL >> Failed 1/22 test programs. 1/2027 subtests failed. >> make: *** [test_dynamic] Error 255 >> >> >> Please could you help me fix this, i am stuck. I need to use it for my >> project and i am under a lot of time-pressure. >> Thanks a lot once again >> >> Nishant Sharma >> IIT Madras, India >>
Subject: Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Wed, 26 Jun 2013 21:27:56 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
Download (untitled) / with headers
text/plain 3.8k
I am using Ubuntu(version 12.10) and WordNet-3.0 On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > > Yes, it is possible to install despite the "make test" failure. > However, the test failure may indicate more fundamental problems, which > could manifest themselves later. > > Can you give us more details about your system: which OS (linux, windows, > mac)? which version of WordNet? > > -- Sid. > > > On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < > bug-WordNet-Similarity@rt.cpan.org> wrote: >
> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. > > Transaction: Ticket created by nishantsharma486@gmail.com > > Queue: WordNet-Similarity > > Subject: Re: Failure of "make test" step > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: nishantsharma486@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > > > > > > Also, is it possible to install it despite the failure of "make test"? So > > that i could move forward. > > Thanks again. > > > > > > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma > > <nishantsharma486@gmail.com>wrote: > >
> >> Hi, > >> > >> First of all a big thanks to the whole team for making such tools that > >> are, for students like me and researchers, very useful. > >> > >> I would like to report a bug i encountered during the installation of > >> Wordnet-Similarity-2.05. I have installed all the pre-requisites > >> successfully. Also to the best of my knowledge, the "perl Makefile.PL"
> and
> >> "make" steps were successful as well. But the next step, i.e. "make
> test",
> >> failed. Following are the details of its execution: > >> > >> nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$ make > >> test > >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> t/access.t ........ ok > >> t/hso.t ........... ok > >> t/ICFinder.t ...... ok > >> t/jcn.t ........... ok > >> t/lch.t ........... ok > >> t/lesk.t .......... ok > >> t/lin.t ........... ok > >> t/offsetwps.t ..... ok > >> t/pairs-noroot.t .. ok > >> t/pairs.t ......... ok > >> t/path.t .......... ok > >> t/PathFinder.t .... ok > >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
> testing
> >> POD coverage > >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD > >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD > >> t/random.t ........ ok > >> t/res.t ........... ok > >> t/trace.t ......... 51/132 > >> # Failed test at t/trace.t line 141. > >> # got: '4' > >> # expected: '0' > >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" > >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
> 'Overlaps: 1
> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling > >> the" 2 x "any" 1 x "and" ' differ > >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. > >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) > >> Failed 1/132 subtests > >> t/vector.t ........ ok > >> t/vector_pairs.t .. ok > >> t/wn30loop.t ...... ok > >> t/wup.t ........... ok > >> > >> Test Summary Report > >> ------------------- > >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) > >> Failed test: 76 > >> Non-zero exit status: 1 > >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys + 128.26 > >> cusr 4.94 csys = 133.70 CPU) > >> Result: FAIL > >> Failed 1/22 test programs. 1/2027 subtests failed. > >> make: *** [test_dynamic] Error 255 > >> > >> > >> Please could you help me fix this, i am stuck. I need to use it for my > >> project and i am under a lot of time-pressure. > >> Thanks a lot once again > >> > >> Nishant Sharma > >> IIT Madras, India > >>
> > >
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Wed, 26 Jun 2013 19:09:37 -0500
To: bug-WordNet-Similarity [...] rt.cpan.org
From: Ted Pedersen <tpederse [...] d.umn.edu>
Download (untitled) / with headers
text/plain 5.2k
I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and can't recreate this particular issue, so I'm a little uncertain about what might be happening. I think sometimes lesk related testing errors can have to do with the configuration file being used (or not), although that most often seems to happen on Windows. So, I think for the moment at least I'd suggest going ahead and forcing the install. You can do that on cpan via cpan Show quoted text
> force install WordNet::Similarity
This will in effect tell the installer to ignore the make test errors. If you did not use cpan and simply installed after downloading that tar file, you can just go ahead and run make install to finish up the install. I would suggest that after you have installed that you go back and run the lesk test again. It might be that in the process of installation this issue is resolved. You can do that by doing the following from within the WordNet::Similarity home directory... cd t perl lesk.t I hope this helps! Good luck, Ted On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT <bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> Queue: WordNet-Similarity > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > I am using Ubuntu(version 12.10) and WordNet-3.0 > > > On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < > bug-WordNet-Similarity@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> Yes, it is possible to install despite the "make test" failure. >> However, the test failure may indicate more fundamental problems, which >> could manifest themselves later. >> >> Can you give us more details about your system: which OS (linux, windows, >> mac)? which version of WordNet? >> >> -- Sid. >> >> >> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < >> bug-WordNet-Similarity@rt.cpan.org> wrote: >>
>> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. >> > Transaction: Ticket created by nishantsharma486@gmail.com >> > Queue: WordNet-Similarity >> > Subject: Re: Failure of "make test" step >> > Broken in: (no value) >> > Severity: (no value) >> > Owner: Nobody >> > Requestors: nishantsharma486@gmail.com >> > Status: new >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> > >> > >> > Also, is it possible to install it despite the failure of "make test"? So >> > that i could move forward. >> > Thanks again. >> > >> > >> > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma >> > <nishantsharma486@gmail.com>wrote: >> >
>> >> Hi, >> >> >> >> First of all a big thanks to the whole team for making such tools that >> >> are, for students like me and researchers, very useful. >> >> >> >> I would like to report a bug i encountered during the installation of >> >> Wordnet-Similarity-2.05. I have installed all the pre-requisites >> >> successfully. Also to the best of my knowledge, the "perl Makefile.PL"
>> and
>> >> "make" steps were successful as well. But the next step, i.e. "make
>> test",
>> >> failed. Following are the details of its execution: >> >> >> >> nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$ make >> >> test >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> >> t/access.t ........ ok >> >> t/hso.t ........... ok >> >> t/ICFinder.t ...... ok >> >> t/jcn.t ........... ok >> >> t/lch.t ........... ok >> >> t/lesk.t .......... ok >> >> t/lin.t ........... ok >> >> t/offsetwps.t ..... ok >> >> t/pairs-noroot.t .. ok >> >> t/pairs.t ......... ok >> >> t/path.t .......... ok >> >> t/PathFinder.t .... ok >> >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
>> testing
>> >> POD coverage >> >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD >> >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD >> >> t/random.t ........ ok >> >> t/res.t ........... ok >> >> t/trace.t ......... 51/132 >> >> # Failed test at t/trace.t line 141. >> >> # got: '4' >> >> # expected: '0' >> >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" >> >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
>> 'Overlaps: 1
>> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling >> >> the" 2 x "any" 1 x "and" ' differ >> >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. >> >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) >> >> Failed 1/132 subtests >> >> t/vector.t ........ ok >> >> t/vector_pairs.t .. ok >> >> t/wn30loop.t ...... ok >> >> t/wup.t ........... ok >> >> >> >> Test Summary Report >> >> ------------------- >> >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) >> >> Failed test: 76 >> >> Non-zero exit status: 1 >> >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys + 128.26 >> >> cusr 4.94 csys = 133.70 CPU) >> >> Result: FAIL >> >> Failed 1/22 test programs. 1/2027 subtests failed. >> >> make: *** [test_dynamic] Error 255 >> >> >> >> >> >> Please could you help me fix this, i am stuck. I need to use it for my >> >> project and i am under a lot of time-pressure. >> >> Thanks a lot once again >> >> >> >> Nishant Sharma >> >> IIT Madras, India >> >>
>> >> >>
>
-- Ted Pedersen http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Thu, 27 Jun 2013 14:55:59 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
Download (untitled) / with headers
text/plain 6.6k
Sir, Its a pleasure to hear from you. I have installed the application using "make test". And its working for now. Also i ran the test for lesk, following your instructions. The lesk test seemed fine but not so for trace (perl trace.t). Following are the details of the test: . . . ok 10 - use WordNet::Similarity::res; ok 11 - use WordNet::Similarity::wup; ok 12 - use File::Spec; ok 13 - use File::Copy; ok 14 ok 15 ok 16 ok 17 not ok 18 # Failed test at trace.t line 99. readline() on closed filehandle WNF at trace.t line 100. not ok 19 # Failed test at trace.t line 101. not ok 20 # Failed test at trace.t line 106. ok 21 # skip Hash-code of key file(s) does not match installed WordNet ok 22 # skip Hash-code of key file(s) does not match installed WordNet . . . ok 132 # skip Hash-code of key file(s) does not match installed WordNet # Looks like you failed 3 tests of 132. What surprises me is that at the "make test" step only 1 test of 132 failed, but now 3 have failed. Thanks On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and > can't recreate this particular issue, so I'm a little uncertain about > what might be happening. I think sometimes lesk related testing errors > can have to do with the configuration file being used (or not), > although that most often seems to happen on Windows. > > So, I think for the moment at least I'd suggest going ahead and > forcing the install. You can do that on cpan via > > cpan
> > force install WordNet::Similarity
> > This will in effect tell the installer to ignore the make test errors. > If you did not use cpan and simply installed after downloading that > tar file, you can just go ahead and run > > make install > > to finish up the install. > > I would suggest that after you have installed that you go back and run > the lesk test again. It might be that in the process of installation > this issue is resolved. You can do that by doing the following from > within the WordNet::Similarity home directory... > > cd t > perl lesk.t > > I hope this helps! > > Good luck, > Ted > > > On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT > <bug-WordNet-Similarity@rt.cpan.org> wrote:
> > Queue: WordNet-Similarity > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > > > I am using Ubuntu(version 12.10) and WordNet-3.0 > > > > > > On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < > > bug-WordNet-Similarity@rt.cpan.org> wrote: > >
> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > >> > >> Yes, it is possible to install despite the "make test" failure. > >> However, the test failure may indicate more fundamental problems, which > >> could manifest themselves later. > >> > >> Can you give us more details about your system: which OS (linux,
> windows,
> >> mac)? which version of WordNet? > >> > >> -- Sid. > >> > >> > >> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < > >> bug-WordNet-Similarity@rt.cpan.org> wrote: > >>
> >> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. > >> > Transaction: Ticket created by nishantsharma486@gmail.com > >> > Queue: WordNet-Similarity > >> > Subject: Re: Failure of "make test" step > >> > Broken in: (no value) > >> > Severity: (no value) > >> > Owner: Nobody > >> > Requestors: nishantsharma486@gmail.com > >> > Status: new > >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > >> > > >> > > >> > Also, is it possible to install it despite the failure of "make
> test"? So
> >> > that i could move forward. > >> > Thanks again. > >> > > >> > > >> > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma > >> > <nishantsharma486@gmail.com>wrote: > >> >
> >> >> Hi, > >> >> > >> >> First of all a big thanks to the whole team for making such tools
> that
> >> >> are, for students like me and researchers, very useful. > >> >> > >> >> I would like to report a bug i encountered during the installation of > >> >> Wordnet-Similarity-2.05. I have installed all the pre-requisites > >> >> successfully. Also to the best of my knowledge, the "perl
> Makefile.PL"
> >> and
> >> >> "make" steps were successful as well. But the next step, i.e. "make
> >> test",
> >> >> failed. Following are the details of its execution: > >> >> > >> >> nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$
> make
> >> >> test > >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> >> t/access.t ........ ok > >> >> t/hso.t ........... ok > >> >> t/ICFinder.t ...... ok > >> >> t/jcn.t ........... ok > >> >> t/lch.t ........... ok > >> >> t/lesk.t .......... ok > >> >> t/lin.t ........... ok > >> >> t/offsetwps.t ..... ok > >> >> t/pairs-noroot.t .. ok > >> >> t/pairs.t ......... ok > >> >> t/path.t .......... ok > >> >> t/PathFinder.t .... ok > >> >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
> >> testing
> >> >> POD coverage > >> >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD > >> >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD > >> >> t/random.t ........ ok > >> >> t/res.t ........... ok > >> >> t/trace.t ......... 51/132 > >> >> # Failed test at t/trace.t line 141. > >> >> # got: '4' > >> >> # expected: '0' > >> >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x
> "any"
> >> >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
> >> 'Overlaps: 1
> >> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
> "resembling
> >> >> the" 2 x "any" 1 x "and" ' differ > >> >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. > >> >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) > >> >> Failed 1/132 subtests > >> >> t/vector.t ........ ok > >> >> t/vector_pairs.t .. ok > >> >> t/wn30loop.t ...... ok > >> >> t/wup.t ........... ok > >> >> > >> >> Test Summary Report > >> >> ------------------- > >> >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) > >> >> Failed test: 76 > >> >> Non-zero exit status: 1 > >> >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
> 128.26
> >> >> cusr 4.94 csys = 133.70 CPU) > >> >> Result: FAIL > >> >> Failed 1/22 test programs. 1/2027 subtests failed. > >> >> make: *** [test_dynamic] Error 255 > >> >> > >> >> > >> >> Please could you help me fix this, i am stuck. I need to use it for
> my
> >> >> project and i am under a lot of time-pressure. > >> >> Thanks a lot once again > >> >> > >> >> Nishant Sharma > >> >> IIT Madras, India > >> >>
> >> > >> > >>
> >
> > > > -- > Ted Pedersen > http://www.d.umn.edu/~tpederse > >
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Thu, 27 Jun 2013 14:56:57 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
installed using "make install", correction On Thu, Jun 27, 2013 at 2:55 PM, nishant sharma <nishantsharma486@gmail.com>wrote: Show quoted text
> Sir, > > Its a pleasure to hear from you. > I have installed the application using "make test". And its working for > now. > Also i ran the test for lesk, following your instructions. The lesk test > seemed fine but not so for trace (perl trace.t). Following are the details > of the test: > > . > . > . > ok 10 - use WordNet::Similarity::res; > ok 11 - use WordNet::Similarity::wup; > ok 12 - use File::Spec; > ok 13 - use File::Copy; > ok 14 > ok 15 > ok 16 > ok 17 > not ok 18 > # Failed test at trace.t line 99. > readline() on closed filehandle WNF at trace.t line 100. > not ok 19 > # Failed test at trace.t line 101. > not ok 20 > # Failed test at trace.t line 106. > ok 21 # skip Hash-code of key file(s) does not match installed WordNet > ok 22 # skip Hash-code of key file(s) does not match installed WordNet > . > . > . > ok 132 # skip Hash-code of key file(s) does not match installed WordNet > # Looks like you failed 3 tests of 132. > > What surprises me is that at the "make test" step only 1 test of 132 > failed, but now 3 have failed. > > Thanks > > > On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < > bug-WordNet-Similarity@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> >> I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and >> can't recreate this particular issue, so I'm a little uncertain about >> what might be happening. I think sometimes lesk related testing errors >> can have to do with the configuration file being used (or not), >> although that most often seems to happen on Windows. >> >> So, I think for the moment at least I'd suggest going ahead and >> forcing the install. You can do that on cpan via >> >> cpan
>> > force install WordNet::Similarity
>> >> This will in effect tell the installer to ignore the make test errors. >> If you did not use cpan and simply installed after downloading that >> tar file, you can just go ahead and run >> >> make install >> >> to finish up the install. >> >> I would suggest that after you have installed that you go back and run >> the lesk test again. It might be that in the process of installation >> this issue is resolved. You can do that by doing the following from >> within the WordNet::Similarity home directory... >> >> cd t >> perl lesk.t >> >> I hope this helps! >> >> Good luck, >> Ted >> >> >> On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT >> <bug-WordNet-Similarity@rt.cpan.org> wrote:
>> > Queue: WordNet-Similarity >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> > >> > I am using Ubuntu(version 12.10) and WordNet-3.0 >> > >> > >> > On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < >> > bug-WordNet-Similarity@rt.cpan.org> wrote: >> >
>> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> >> >> Yes, it is possible to install despite the "make test" failure. >> >> However, the test failure may indicate more fundamental problems, which >> >> could manifest themselves later. >> >> >> >> Can you give us more details about your system: which OS (linux,
>> windows,
>> >> mac)? which version of WordNet? >> >> >> >> -- Sid. >> >> >> >> >> >> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < >> >> bug-WordNet-Similarity@rt.cpan.org> wrote: >> >>
>> >> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. >> >> > Transaction: Ticket created by nishantsharma486@gmail.com >> >> > Queue: WordNet-Similarity >> >> > Subject: Re: Failure of "make test" step >> >> > Broken in: (no value) >> >> > Severity: (no value) >> >> > Owner: Nobody >> >> > Requestors: nishantsharma486@gmail.com >> >> > Status: new >> >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> > >> >> > >> >> > Also, is it possible to install it despite the failure of "make
>> test"? So
>> >> > that i could move forward. >> >> > Thanks again. >> >> > >> >> > >> >> > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma >> >> > <nishantsharma486@gmail.com>wrote: >> >> >
>> >> >> Hi, >> >> >> >> >> >> First of all a big thanks to the whole team for making such tools
>> that
>> >> >> are, for students like me and researchers, very useful. >> >> >> >> >> >> I would like to report a bug i encountered during the installation
>> of
>> >> >> Wordnet-Similarity-2.05. I have installed all the pre-requisites >> >> >> successfully. Also to the best of my knowledge, the "perl
>> Makefile.PL"
>> >> and
>> >> >> "make" steps were successful as well. But the next step, i.e. "make
>> >> test",
>> >> >> failed. Following are the details of its execution: >> >> >> >> >> >> nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$
>> make
>> >> >> test >> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> >> >> t/access.t ........ ok >> >> >> t/hso.t ........... ok >> >> >> t/ICFinder.t ...... ok >> >> >> t/jcn.t ........... ok >> >> >> t/lch.t ........... ok >> >> >> t/lesk.t .......... ok >> >> >> t/lin.t ........... ok >> >> >> t/offsetwps.t ..... ok >> >> >> t/pairs-noroot.t .. ok >> >> >> t/pairs.t ......... ok >> >> >> t/path.t .......... ok >> >> >> t/PathFinder.t .... ok >> >> >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
>> >> testing
>> >> >> POD coverage >> >> >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD >> >> >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD >> >> >> t/random.t ........ ok >> >> >> t/res.t ........... ok >> >> >> t/trace.t ......... 51/132 >> >> >> # Failed test at t/trace.t line 141. >> >> >> # got: '4' >> >> >> # expected: '0' >> >> >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x
>> "any"
>> >> >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
>> >> 'Overlaps: 1
>> >> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
>> "resembling
>> >> >> the" 2 x "any" 1 x "and" ' differ >> >> >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. >> >> >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) >> >> >> Failed 1/132 subtests >> >> >> t/vector.t ........ ok >> >> >> t/vector_pairs.t .. ok >> >> >> t/wn30loop.t ...... ok >> >> >> t/wup.t ........... ok >> >> >> >> >> >> Test Summary Report >> >> >> ------------------- >> >> >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) >> >> >> Failed test: 76 >> >> >> Non-zero exit status: 1 >> >> >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
>> 128.26
>> >> >> cusr 4.94 csys = 133.70 CPU) >> >> >> Result: FAIL >> >> >> Failed 1/22 test programs. 1/2027 subtests failed. >> >> >> make: *** [test_dynamic] Error 255 >> >> >> >> >> >> >> >> >> Please could you help me fix this, i am stuck. I need to use it for
>> my
>> >> >> project and i am under a lot of time-pressure. >> >> >> Thanks a lot once again >> >> >> >> >> >> Nishant Sharma >> >> >> IIT Madras, India >> >> >>
>> >> >> >> >> >>
>> >
>> >> >> >> -- >> Ted Pedersen >> http://www.d.umn.edu/~tpederse >> >>
>
Download (untitled) / with headers
text/html 10.4k
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Thu, 27 Jun 2013 06:54:56 -0500
To: bug-WordNet-Similarity [...] rt.cpan.org
From: Ted Pedersen <tpederse [...] d.umn.edu>
Download (untitled) / with headers
text/plain 7.6k
I know that you are using WordNet version 3.0, but where did you obtain it from? Is this the version from Princton, or perhaps the Debian packaged version, or ? The message about the hash code not matching installed WordNet suggests you might have a different version of WordNet than we are expecting. I don't think this should cause you any difficulty, but it would be good for us to know about this too. Thanks! Ted On Thu, Jun 27, 2013 at 4:26 AM, nishant sharma via RT <bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> Queue: WordNet-Similarity > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > Sir, > > Its a pleasure to hear from you. > I have installed the application using "make test". And its working for now. > Also i ran the test for lesk, following your instructions. The lesk test > seemed fine but not so for trace (perl trace.t). Following are the details > of the test: > > . > . > . > ok 10 - use WordNet::Similarity::res; > ok 11 - use WordNet::Similarity::wup; > ok 12 - use File::Spec; > ok 13 - use File::Copy; > ok 14 > ok 15 > ok 16 > ok 17 > not ok 18 > # Failed test at trace.t line 99. > readline() on closed filehandle WNF at trace.t line 100. > not ok 19 > # Failed test at trace.t line 101. > not ok 20 > # Failed test at trace.t line 106. > ok 21 # skip Hash-code of key file(s) does not match installed WordNet > ok 22 # skip Hash-code of key file(s) does not match installed WordNet > . > . > . > ok 132 # skip Hash-code of key file(s) does not match installed WordNet > # Looks like you failed 3 tests of 132. > > What surprises me is that at the "make test" step only 1 test of 132 > failed, but now 3 have failed. > > Thanks > > > On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < > bug-WordNet-Similarity@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> >> I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and >> can't recreate this particular issue, so I'm a little uncertain about >> what might be happening. I think sometimes lesk related testing errors >> can have to do with the configuration file being used (or not), >> although that most often seems to happen on Windows. >> >> So, I think for the moment at least I'd suggest going ahead and >> forcing the install. You can do that on cpan via >> >> cpan
>> > force install WordNet::Similarity
>> >> This will in effect tell the installer to ignore the make test errors. >> If you did not use cpan and simply installed after downloading that >> tar file, you can just go ahead and run >> >> make install >> >> to finish up the install. >> >> I would suggest that after you have installed that you go back and run >> the lesk test again. It might be that in the process of installation >> this issue is resolved. You can do that by doing the following from >> within the WordNet::Similarity home directory... >> >> cd t >> perl lesk.t >> >> I hope this helps! >> >> Good luck, >> Ted >> >> >> On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT >> <bug-WordNet-Similarity@rt.cpan.org> wrote:
>> > Queue: WordNet-Similarity >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> > >> > I am using Ubuntu(version 12.10) and WordNet-3.0 >> > >> > >> > On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < >> > bug-WordNet-Similarity@rt.cpan.org> wrote: >> >
>> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> >> >> Yes, it is possible to install despite the "make test" failure. >> >> However, the test failure may indicate more fundamental problems, which >> >> could manifest themselves later. >> >> >> >> Can you give us more details about your system: which OS (linux,
>> windows,
>> >> mac)? which version of WordNet? >> >> >> >> -- Sid. >> >> >> >> >> >> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < >> >> bug-WordNet-Similarity@rt.cpan.org> wrote: >> >>
>> >> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. >> >> > Transaction: Ticket created by nishantsharma486@gmail.com >> >> > Queue: WordNet-Similarity >> >> > Subject: Re: Failure of "make test" step >> >> > Broken in: (no value) >> >> > Severity: (no value) >> >> > Owner: Nobody >> >> > Requestors: nishantsharma486@gmail.com >> >> > Status: new >> >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> > >> >> > >> >> > Also, is it possible to install it despite the failure of "make
>> test"? So
>> >> > that i could move forward. >> >> > Thanks again. >> >> > >> >> > >> >> > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma >> >> > <nishantsharma486@gmail.com>wrote: >> >> >
>> >> >> Hi, >> >> >> >> >> >> First of all a big thanks to the whole team for making such tools
>> that
>> >> >> are, for students like me and researchers, very useful. >> >> >> >> >> >> I would like to report a bug i encountered during the installation of >> >> >> Wordnet-Similarity-2.05. I have installed all the pre-requisites >> >> >> successfully. Also to the best of my knowledge, the "perl
>> Makefile.PL"
>> >> and
>> >> >> "make" steps were successful as well. But the next step, i.e. "make
>> >> test",
>> >> >> failed. Following are the details of its execution: >> >> >> >> >> >> nishant@nishant-Inspiron-1545:~/Downloads/WordNet-Similarity-2.05$
>> make
>> >> >> test >> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> >> >> t/access.t ........ ok >> >> >> t/hso.t ........... ok >> >> >> t/ICFinder.t ...... ok >> >> >> t/jcn.t ........... ok >> >> >> t/lch.t ........... ok >> >> >> t/lesk.t .......... ok >> >> >> t/lin.t ........... ok >> >> >> t/offsetwps.t ..... ok >> >> >> t/pairs-noroot.t .. ok >> >> >> t/pairs.t ......... ok >> >> >> t/path.t .......... ok >> >> >> t/PathFinder.t .... ok >> >> >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
>> >> testing
>> >> >> POD coverage >> >> >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing POD >> >> >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD >> >> >> t/random.t ........ ok >> >> >> t/res.t ........... ok >> >> >> t/trace.t ......... 51/132 >> >> >> # Failed test at t/trace.t line 141. >> >> >> # got: '4' >> >> >> # expected: '0' >> >> >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x
>> "any"
>> >> >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
>> >> 'Overlaps: 1
>> >> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
>> "resembling
>> >> >> the" 2 x "any" 1 x "and" ' differ >> >> >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. >> >> >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) >> >> >> Failed 1/132 subtests >> >> >> t/vector.t ........ ok >> >> >> t/vector_pairs.t .. ok >> >> >> t/wn30loop.t ...... ok >> >> >> t/wup.t ........... ok >> >> >> >> >> >> Test Summary Report >> >> >> ------------------- >> >> >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) >> >> >> Failed test: 76 >> >> >> Non-zero exit status: 1 >> >> >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
>> 128.26
>> >> >> cusr 4.94 csys = 133.70 CPU) >> >> >> Result: FAIL >> >> >> Failed 1/22 test programs. 1/2027 subtests failed. >> >> >> make: *** [test_dynamic] Error 255 >> >> >> >> >> >> >> >> >> Please could you help me fix this, i am stuck. I need to use it for
>> my
>> >> >> project and i am under a lot of time-pressure. >> >> >> Thanks a lot once again >> >> >> >> >> >> Nishant Sharma >> >> >> IIT Madras, India >> >> >>
>> >> >> >> >> >>
>> >
>> >> >> >> -- >> Ted Pedersen >> http://www.d.umn.edu/~tpederse >> >>
>
-- Ted Pedersen http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Thu, 27 Jun 2013 17:47:04 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
Download (untitled) / with headers
text/plain 8.3k
I got it from the following link: http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz On Thu, Jun 27, 2013 at 5:25 PM, tpederse@d.umn.edu via RT < bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > I know that you are using WordNet version 3.0, but where did you > obtain it from? Is this the version from Princton, or perhaps the > Debian packaged version, or ? > > The message about the hash code not matching installed WordNet > suggests you might have a different version of WordNet than we are > expecting. I don't think this should cause you any difficulty, but it > would be good for us to know about this too. > > Thanks! > Ted > > On Thu, Jun 27, 2013 at 4:26 AM, nishant sharma via RT > <bug-WordNet-Similarity@rt.cpan.org> wrote:
> > Queue: WordNet-Similarity > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > > > Sir, > > > > Its a pleasure to hear from you. > > I have installed the application using "make test". And its working for
> now.
> > Also i ran the test for lesk, following your instructions. The lesk test > > seemed fine but not so for trace (perl trace.t). Following are the
> details
> > of the test: > > > > . > > . > > . > > ok 10 - use WordNet::Similarity::res; > > ok 11 - use WordNet::Similarity::wup; > > ok 12 - use File::Spec; > > ok 13 - use File::Copy; > > ok 14 > > ok 15 > > ok 16 > > ok 17 > > not ok 18 > > # Failed test at trace.t line 99. > > readline() on closed filehandle WNF at trace.t line 100. > > not ok 19 > > # Failed test at trace.t line 101. > > not ok 20 > > # Failed test at trace.t line 106. > > ok 21 # skip Hash-code of key file(s) does not match installed WordNet > > ok 22 # skip Hash-code of key file(s) does not match installed WordNet > > . > > . > > . > > ok 132 # skip Hash-code of key file(s) does not match installed WordNet > > # Looks like you failed 3 tests of 132. > > > > What surprises me is that at the "make test" step only 1 test of 132 > > failed, but now 3 have failed. > > > > Thanks > > > > > > On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < > > bug-WordNet-Similarity@rt.cpan.org> wrote: > >
> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >> > >> I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and > >> can't recreate this particular issue, so I'm a little uncertain about > >> what might be happening. I think sometimes lesk related testing errors > >> can have to do with the configuration file being used (or not), > >> although that most often seems to happen on Windows. > >> > >> So, I think for the moment at least I'd suggest going ahead and > >> forcing the install. You can do that on cpan via > >> > >> cpan
> >> > force install WordNet::Similarity
> >> > >> This will in effect tell the installer to ignore the make test errors. > >> If you did not use cpan and simply installed after downloading that > >> tar file, you can just go ahead and run > >> > >> make install > >> > >> to finish up the install. > >> > >> I would suggest that after you have installed that you go back and run > >> the lesk test again. It might be that in the process of installation > >> this issue is resolved. You can do that by doing the following from > >> within the WordNet::Similarity home directory... > >> > >> cd t > >> perl lesk.t > >> > >> I hope this helps! > >> > >> Good luck, > >> Ted > >> > >> > >> On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT > >> <bug-WordNet-Similarity@rt.cpan.org> wrote:
> >> > Queue: WordNet-Similarity > >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >> > > >> > I am using Ubuntu(version 12.10) and WordNet-3.0 > >> > > >> > > >> > On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < > >> > bug-WordNet-Similarity@rt.cpan.org> wrote: > >> >
> >> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > >> >> > >> >> Yes, it is possible to install despite the "make test" failure. > >> >> However, the test failure may indicate more fundamental problems,
> which
> >> >> could manifest themselves later. > >> >> > >> >> Can you give us more details about your system: which OS (linux,
> >> windows,
> >> >> mac)? which version of WordNet? > >> >> > >> >> -- Sid. > >> >> > >> >> > >> >> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < > >> >> bug-WordNet-Similarity@rt.cpan.org> wrote: > >> >>
> >> >> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. > >> >> > Transaction: Ticket created by nishantsharma486@gmail.com > >> >> > Queue: WordNet-Similarity > >> >> > Subject: Re: Failure of "make test" step > >> >> > Broken in: (no value) > >> >> > Severity: (no value) > >> >> > Owner: Nobody > >> >> > Requestors: nishantsharma486@gmail.com > >> >> > Status: new > >> >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > >> >> > > >> >> > > >> >> > Also, is it possible to install it despite the failure of "make
> >> test"? So
> >> >> > that i could move forward. > >> >> > Thanks again. > >> >> > > >> >> > > >> >> > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma > >> >> > <nishantsharma486@gmail.com>wrote: > >> >> >
> >> >> >> Hi, > >> >> >> > >> >> >> First of all a big thanks to the whole team for making such tools
> >> that
> >> >> >> are, for students like me and researchers, very useful. > >> >> >> > >> >> >> I would like to report a bug i encountered during the
> installation of
> >> >> >> Wordnet-Similarity-2.05. I have installed all the pre-requisites > >> >> >> successfully. Also to the best of my knowledge, the "perl
> >> Makefile.PL"
> >> >> and
> >> >> >> "make" steps were successful as well. But the next step, i.e.
> "make
> >> >> test",
> >> >> >> failed. Following are the details of its execution: > >> >> >> > >> >> >> nishant@nishant-Inspiron-1545
> :~/Downloads/WordNet-Similarity-2.05$
> >> make
> >> >> >> test > >> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> >> >> t/access.t ........ ok > >> >> >> t/hso.t ........... ok > >> >> >> t/ICFinder.t ...... ok > >> >> >> t/jcn.t ........... ok > >> >> >> t/lch.t ........... ok > >> >> >> t/lesk.t .......... ok > >> >> >> t/lin.t ........... ok > >> >> >> t/offsetwps.t ..... ok > >> >> >> t/pairs-noroot.t .. ok > >> >> >> t/pairs.t ......... ok > >> >> >> t/path.t .......... ok > >> >> >> t/PathFinder.t .... ok > >> >> >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
> >> >> testing
> >> >> >> POD coverage > >> >> >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing
> POD
> >> >> >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing
> POD
> >> >> >> t/random.t ........ ok > >> >> >> t/res.t ........... ok > >> >> >> t/trace.t ......... 51/132 > >> >> >> # Failed test at t/trace.t line 141. > >> >> >> # got: '4' > >> >> >> # expected: '0' > >> >> >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x
> >> "any"
> >> >> >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
> >> >> 'Overlaps: 1
> >> >> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
> >> "resembling
> >> >> >> the" 2 x "any" 1 x "and" ' differ > >> >> >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. > >> >> >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) > >> >> >> Failed 1/132 subtests > >> >> >> t/vector.t ........ ok > >> >> >> t/vector_pairs.t .. ok > >> >> >> t/wn30loop.t ...... ok > >> >> >> t/wup.t ........... ok > >> >> >> > >> >> >> Test Summary Report > >> >> >> ------------------- > >> >> >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) > >> >> >> Failed test: 76 > >> >> >> Non-zero exit status: 1 > >> >> >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
> >> 128.26
> >> >> >> cusr 4.94 csys = 133.70 CPU) > >> >> >> Result: FAIL > >> >> >> Failed 1/22 test programs. 1/2027 subtests failed. > >> >> >> make: *** [test_dynamic] Error 255 > >> >> >> > >> >> >> > >> >> >> Please could you help me fix this, i am stuck. I need to use it
> for
> >> my
> >> >> >> project and i am under a lot of time-pressure. > >> >> >> Thanks a lot once again > >> >> >> > >> >> >> Nishant Sharma > >> >> >> IIT Madras, India > >> >> >>
> >> >> > >> >> > >> >>
> >> >
> >> > >> > >> > >> -- > >> Ted Pedersen > >> http://www.d.umn.edu/~tpederse > >> > >>
> >
> > > > -- > Ted Pedersen > http://www.d.umn.edu/~tpederse > >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Thu, 27 Jun 2013 07:18:18 -0500
To: bug-WordNet-Similarity [...] rt.cpan.org
From: Ted Pedersen <tpederse [...] d.umn.edu>
Well that's very interesting - that's where we get our version from too. I will check into this hash code issue, although as I say I don't think this is anything that should affect you negatively. Thanks for the quick update! Cordially, Ted On Thu, Jun 27, 2013 at 7:17 AM, nishant sharma via RT <bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> Queue: WordNet-Similarity > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > I got it from the following link: > > http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz > > > On Thu, Jun 27, 2013 at 5:25 PM, tpederse@d.umn.edu via RT < > bug-WordNet-Similarity@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> >> I know that you are using WordNet version 3.0, but where did you >> obtain it from? Is this the version from Princton, or perhaps the >> Debian packaged version, or ? >> >> The message about the hash code not matching installed WordNet >> suggests you might have a different version of WordNet than we are >> expecting. I don't think this should cause you any difficulty, but it >> would be good for us to know about this too. >> >> Thanks! >> Ted >> >> On Thu, Jun 27, 2013 at 4:26 AM, nishant sharma via RT >> <bug-WordNet-Similarity@rt.cpan.org> wrote:
>> > Queue: WordNet-Similarity >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> > >> > Sir, >> > >> > Its a pleasure to hear from you. >> > I have installed the application using "make test". And its working for
>> now.
>> > Also i ran the test for lesk, following your instructions. The lesk test >> > seemed fine but not so for trace (perl trace.t). Following are the
>> details
>> > of the test: >> > >> > . >> > . >> > . >> > ok 10 - use WordNet::Similarity::res; >> > ok 11 - use WordNet::Similarity::wup; >> > ok 12 - use File::Spec; >> > ok 13 - use File::Copy; >> > ok 14 >> > ok 15 >> > ok 16 >> > ok 17 >> > not ok 18 >> > # Failed test at trace.t line 99. >> > readline() on closed filehandle WNF at trace.t line 100. >> > not ok 19 >> > # Failed test at trace.t line 101. >> > not ok 20 >> > # Failed test at trace.t line 106. >> > ok 21 # skip Hash-code of key file(s) does not match installed WordNet >> > ok 22 # skip Hash-code of key file(s) does not match installed WordNet >> > . >> > . >> > . >> > ok 132 # skip Hash-code of key file(s) does not match installed WordNet >> > # Looks like you failed 3 tests of 132. >> > >> > What surprises me is that at the "make test" step only 1 test of 132 >> > failed, but now 3 have failed. >> > >> > Thanks >> > >> > >> > On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < >> > bug-WordNet-Similarity@rt.cpan.org> wrote: >> >
>> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> >> >> >> I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and >> >> can't recreate this particular issue, so I'm a little uncertain about >> >> what might be happening. I think sometimes lesk related testing errors >> >> can have to do with the configuration file being used (or not), >> >> although that most often seems to happen on Windows. >> >> >> >> So, I think for the moment at least I'd suggest going ahead and >> >> forcing the install. You can do that on cpan via >> >> >> >> cpan
>> >> > force install WordNet::Similarity
>> >> >> >> This will in effect tell the installer to ignore the make test errors. >> >> If you did not use cpan and simply installed after downloading that >> >> tar file, you can just go ahead and run >> >> >> >> make install >> >> >> >> to finish up the install. >> >> >> >> I would suggest that after you have installed that you go back and run >> >> the lesk test again. It might be that in the process of installation >> >> this issue is resolved. You can do that by doing the following from >> >> within the WordNet::Similarity home directory... >> >> >> >> cd t >> >> perl lesk.t >> >> >> >> I hope this helps! >> >> >> >> Good luck, >> >> Ted >> >> >> >> >> >> On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT >> >> <bug-WordNet-Similarity@rt.cpan.org> wrote:
>> >> > Queue: WordNet-Similarity >> >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> >> > >> >> > I am using Ubuntu(version 12.10) and WordNet-3.0 >> >> > >> >> > >> >> > On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < >> >> > bug-WordNet-Similarity@rt.cpan.org> wrote: >> >> >
>> >> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> >> >> >> >> Yes, it is possible to install despite the "make test" failure. >> >> >> However, the test failure may indicate more fundamental problems,
>> which
>> >> >> could manifest themselves later. >> >> >> >> >> >> Can you give us more details about your system: which OS (linux,
>> >> windows,
>> >> >> mac)? which version of WordNet? >> >> >> >> >> >> -- Sid. >> >> >> >> >> >> >> >> >> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < >> >> >> bug-WordNet-Similarity@rt.cpan.org> wrote: >> >> >>
>> >> >> > Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. >> >> >> > Transaction: Ticket created by nishantsharma486@gmail.com >> >> >> > Queue: WordNet-Similarity >> >> >> > Subject: Re: Failure of "make test" step >> >> >> > Broken in: (no value) >> >> >> > Severity: (no value) >> >> >> > Owner: Nobody >> >> >> > Requestors: nishantsharma486@gmail.com >> >> >> > Status: new >> >> >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >> >> >> > >> >> >> > >> >> >> > Also, is it possible to install it despite the failure of "make
>> >> test"? So
>> >> >> > that i could move forward. >> >> >> > Thanks again. >> >> >> > >> >> >> > >> >> >> > On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma >> >> >> > <nishantsharma486@gmail.com>wrote: >> >> >> >
>> >> >> >> Hi, >> >> >> >> >> >> >> >> First of all a big thanks to the whole team for making such tools
>> >> that
>> >> >> >> are, for students like me and researchers, very useful. >> >> >> >> >> >> >> >> I would like to report a bug i encountered during the
>> installation of
>> >> >> >> Wordnet-Similarity-2.05. I have installed all the pre-requisites >> >> >> >> successfully. Also to the best of my knowledge, the "perl
>> >> Makefile.PL"
>> >> >> and
>> >> >> >> "make" steps were successful as well. But the next step, i.e.
>> "make
>> >> >> test",
>> >> >> >> failed. Following are the details of its execution: >> >> >> >> >> >> >> >> nishant@nishant-Inspiron-1545
>> :~/Downloads/WordNet-Similarity-2.05$
>> >> make
>> >> >> >> test >> >> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> >> >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> >> >> >> t/access.t ........ ok >> >> >> >> t/hso.t ........... ok >> >> >> >> t/ICFinder.t ...... ok >> >> >> >> t/jcn.t ........... ok >> >> >> >> t/lch.t ........... ok >> >> >> >> t/lesk.t .......... ok >> >> >> >> t/lin.t ........... ok >> >> >> >> t/offsetwps.t ..... ok >> >> >> >> t/pairs-noroot.t .. ok >> >> >> >> t/pairs.t ......... ok >> >> >> >> t/path.t .......... ok >> >> >> >> t/PathFinder.t .... ok >> >> >> >> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
>> >> >> testing
>> >> >> >> POD coverage >> >> >> >> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing
>> POD
>> >> >> >> t/pod.t ........... skipped: Test::Pod 1.00 required for testing
>> POD
>> >> >> >> t/random.t ........ ok >> >> >> >> t/res.t ........... ok >> >> >> >> t/trace.t ......... 51/132 >> >> >> >> # Failed test at t/trace.t line 141. >> >> >> >> # got: '4' >> >> >> >> # expected: '0' >> >> >> >> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x
>> >> "any"
>> >> >> >> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
>> >> >> 'Overlaps: 1
>> >> >> >> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
>> >> "resembling
>> >> >> >> the" 2 x "any" 1 x "and" ' differ >> >> >> >> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. >> >> >> >> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) >> >> >> >> Failed 1/132 subtests >> >> >> >> t/vector.t ........ ok >> >> >> >> t/vector_pairs.t .. ok >> >> >> >> t/wn30loop.t ...... ok >> >> >> >> t/wup.t ........... ok >> >> >> >> >> >> >> >> Test Summary Report >> >> >> >> ------------------- >> >> >> >> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) >> >> >> >> Failed test: 76 >> >> >> >> Non-zero exit status: 1 >> >> >> >> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
>> >> 128.26
>> >> >> >> cusr 4.94 csys = 133.70 CPU) >> >> >> >> Result: FAIL >> >> >> >> Failed 1/22 test programs. 1/2027 subtests failed. >> >> >> >> make: *** [test_dynamic] Error 255 >> >> >> >> >> >> >> >> >> >> >> >> Please could you help me fix this, i am stuck. I need to use it
>> for
>> >> my
>> >> >> >> project and i am under a lot of time-pressure. >> >> >> >> Thanks a lot once again >> >> >> >> >> >> >> >> Nishant Sharma >> >> >> >> IIT Madras, India >> >> >> >>
>> >> >> >> >> >> >> >> >>
>> >> >
>> >> >> >> >> >> >> >> -- >> >> Ted Pedersen >> >> http://www.d.umn.edu/~tpederse >> >> >> >>
>> >
>> >> >> >> -- >> Ted Pedersen >> http://www.d.umn.edu/~tpederse >> >>
>
-- Ted Pedersen http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Thu, 27 Jun 2013 10:58:58 -0400
To: bug-WordNet-Similarity [...] rt.cpan.org
From: Siddharth Patwardhan <sidd [...] patwardhans.net>
Download (untitled) / with headers
text/plain 9.5k
I was just looked at trace.t to get to the bottom of this issue. I discovered that one of the tests in trace.t assumes that the tests will be run from the base directory of the extracted WordNet-Similarity package, and not from inside t. Try re-runiing your tests by (1) cd to the WordNet-Similarity base directory (2) then run perl t/trace.t -- Sid. On Jun 27, 2013, at 8:18 AM, "tpederse@d.umn.edu via RT" <bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> Queue: WordNet-Similarity > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > Well that's very interesting - that's where we get our version from > too. I will check into this hash code issue, although as I say I don't > think this is anything that should affect you negatively. Thanks for > the quick update! > > Cordially, > Ted > > On Thu, Jun 27, 2013 at 7:17 AM, nishant sharma via RT > <bug-WordNet-Similarity@rt.cpan.org> wrote:
>> Queue: WordNet-Similarity >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >> >> I got it from the following link: >> >> http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz >> >> >> On Thu, Jun 27, 2013 at 5:25 PM, tpederse@d.umn.edu via RT < >> bug-WordNet-Similarity@rt.cpan.org> wrote: >>
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >>> >>> I know that you are using WordNet version 3.0, but where did you >>> obtain it from? Is this the version from Princton, or perhaps the >>> Debian packaged version, or ? >>> >>> The message about the hash code not matching installed WordNet >>> suggests you might have a different version of WordNet than we are >>> expecting. I don't think this should cause you any difficulty, but it >>> would be good for us to know about this too. >>> >>> Thanks! >>> Ted >>> >>> On Thu, Jun 27, 2013 at 4:26 AM, nishant sharma via RT >>> <bug-WordNet-Similarity@rt.cpan.org> wrote:
>>>> Queue: WordNet-Similarity >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >>>> >>>> Sir, >>>> >>>> Its a pleasure to hear from you. >>>> I have installed the application using "make test". And its working for
>>> now.
>>>> Also i ran the test for lesk, following your instructions. The lesk test >>>> seemed fine but not so for trace (perl trace.t). Following are the
>>> details
>>>> of the test: >>>> >>>> . >>>> . >>>> . >>>> ok 10 - use WordNet::Similarity::res; >>>> ok 11 - use WordNet::Similarity::wup; >>>> ok 12 - use File::Spec; >>>> ok 13 - use File::Copy; >>>> ok 14 >>>> ok 15 >>>> ok 16 >>>> ok 17 >>>> not ok 18 >>>> # Failed test at trace.t line 99. >>>> readline() on closed filehandle WNF at trace.t line 100. >>>> not ok 19 >>>> # Failed test at trace.t line 101. >>>> not ok 20 >>>> # Failed test at trace.t line 106. >>>> ok 21 # skip Hash-code of key file(s) does not match installed WordNet >>>> ok 22 # skip Hash-code of key file(s) does not match installed WordNet >>>> . >>>> . >>>> . >>>> ok 132 # skip Hash-code of key file(s) does not match installed WordNet >>>> # Looks like you failed 3 tests of 132. >>>> >>>> What surprises me is that at the "make test" step only 1 test of 132 >>>> failed, but now 3 have failed. >>>> >>>> Thanks >>>> >>>> >>>> On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < >>>> bug-WordNet-Similarity@rt.cpan.org> wrote: >>>>
>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >>>>> >>>>> I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and >>>>> can't recreate this particular issue, so I'm a little uncertain about >>>>> what might be happening. I think sometimes lesk related testing errors >>>>> can have to do with the configuration file being used (or not), >>>>> although that most often seems to happen on Windows. >>>>> >>>>> So, I think for the moment at least I'd suggest going ahead and >>>>> forcing the install. You can do that on cpan via >>>>> >>>>> cpan
>>>>>> force install WordNet::Similarity
>>>>> >>>>> This will in effect tell the installer to ignore the make test errors. >>>>> If you did not use cpan and simply installed after downloading that >>>>> tar file, you can just go ahead and run >>>>> >>>>> make install >>>>> >>>>> to finish up the install. >>>>> >>>>> I would suggest that after you have installed that you go back and run >>>>> the lesk test again. It might be that in the process of installation >>>>> this issue is resolved. You can do that by doing the following from >>>>> within the WordNet::Similarity home directory... >>>>> >>>>> cd t >>>>> perl lesk.t >>>>> >>>>> I hope this helps! >>>>> >>>>> Good luck, >>>>> Ted >>>>> >>>>> >>>>> On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT >>>>> <bug-WordNet-Similarity@rt.cpan.org> wrote:
>>>>>> Queue: WordNet-Similarity >>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > >>>>>> >>>>>> I am using Ubuntu(version 12.10) and WordNet-3.0 >>>>>> >>>>>> >>>>>> On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < >>>>>> bug-WordNet-Similarity@rt.cpan.org> wrote: >>>>>>
>>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >>>>>>> >>>>>>> Yes, it is possible to install despite the "make test" failure. >>>>>>> However, the test failure may indicate more fundamental problems,
>>> which
>>>>>>> could manifest themselves later. >>>>>>> >>>>>>> Can you give us more details about your system: which OS (linux,
>>>>> windows,
>>>>>>> mac)? which version of WordNet? >>>>>>> >>>>>>> -- Sid. >>>>>>> >>>>>>> >>>>>>> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < >>>>>>> bug-WordNet-Similarity@rt.cpan.org> wrote: >>>>>>>
>>>>>>>> Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. >>>>>>>> Transaction: Ticket created by nishantsharma486@gmail.com >>>>>>>> Queue: WordNet-Similarity >>>>>>>> Subject: Re: Failure of "make test" step >>>>>>>> Broken in: (no value) >>>>>>>> Severity: (no value) >>>>>>>> Owner: Nobody >>>>>>>> Requestors: nishantsharma486@gmail.com >>>>>>>> Status: new >>>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > >>>>>>>> >>>>>>>> >>>>>>>> Also, is it possible to install it despite the failure of "make
>>>>> test"? So
>>>>>>>> that i could move forward. >>>>>>>> Thanks again. >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma >>>>>>>> <nishantsharma486@gmail.com>wrote: >>>>>>>>
>>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> First of all a big thanks to the whole team for making such tools
>>>>> that
>>>>>>>>> are, for students like me and researchers, very useful. >>>>>>>>> >>>>>>>>> I would like to report a bug i encountered during the
>>> installation of
>>>>>>>>> Wordnet-Similarity-2.05. I have installed all the pre-requisites >>>>>>>>> successfully. Also to the best of my knowledge, the "perl
>>>>> Makefile.PL"
>>>>>>> and
>>>>>>>>> "make" steps were successful as well. But the next step, i.e.
>>> "make
>>>>>>> test",
>>>>>>>>> failed. Following are the details of its execution: >>>>>>>>> >>>>>>>>> nishant@nishant-Inspiron-1545
>>> :~/Downloads/WordNet-Similarity-2.05$
>>>>> make
>>>>>>>>> test >>>>>>>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >>>>>>>>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >>>>>>>>> t/access.t ........ ok >>>>>>>>> t/hso.t ........... ok >>>>>>>>> t/ICFinder.t ...... ok >>>>>>>>> t/jcn.t ........... ok >>>>>>>>> t/lch.t ........... ok >>>>>>>>> t/lesk.t .......... ok >>>>>>>>> t/lin.t ........... ok >>>>>>>>> t/offsetwps.t ..... ok >>>>>>>>> t/pairs-noroot.t .. ok >>>>>>>>> t/pairs.t ......... ok >>>>>>>>> t/path.t .......... ok >>>>>>>>> t/PathFinder.t .... ok >>>>>>>>> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
>>>>>>> testing
>>>>>>>>> POD coverage >>>>>>>>> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing
>>> POD
>>>>>>>>> t/pod.t ........... skipped: Test::Pod 1.00 required for testing
>>> POD
>>>>>>>>> t/random.t ........ ok >>>>>>>>> t/res.t ........... ok >>>>>>>>> t/trace.t ......... 51/132 >>>>>>>>> # Failed test at t/trace.t line 141. >>>>>>>>> # got: '4' >>>>>>>>> # expected: '0' >>>>>>>>> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x
>>>>> "any"
>>>>>>>>> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
>>>>>>> 'Overlaps: 1
>>>>>>>>> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
>>>>> "resembling
>>>>>>>>> the" 2 x "any" 1 x "and" ' differ >>>>>>>>> t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. >>>>>>>>> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) >>>>>>>>> Failed 1/132 subtests >>>>>>>>> t/vector.t ........ ok >>>>>>>>> t/vector_pairs.t .. ok >>>>>>>>> t/wn30loop.t ...... ok >>>>>>>>> t/wup.t ........... ok >>>>>>>>> >>>>>>>>> Test Summary Report >>>>>>>>> ------------------- >>>>>>>>> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) >>>>>>>>> Failed test: 76 >>>>>>>>> Non-zero exit status: 1 >>>>>>>>> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
>>>>> 128.26
>>>>>>>>> cusr 4.94 csys = 133.70 CPU) >>>>>>>>> Result: FAIL >>>>>>>>> Failed 1/22 test programs. 1/2027 subtests failed. >>>>>>>>> make: *** [test_dynamic] Error 255 >>>>>>>>> >>>>>>>>> >>>>>>>>> Please could you help me fix this, i am stuck. I need to use it
>>> for
>>>>> my
>>>>>>>>> project and i am under a lot of time-pressure. >>>>>>>>> Thanks a lot once again >>>>>>>>> >>>>>>>>> Nishant Sharma >>>>>>>>> IIT Madras, India >>>>>>>>>
>>>>>>> >>>>>>> >>>>>>>
>>>>>>
>>>>> >>>>> >>>>> >>>>> -- >>>>> Ted Pedersen >>>>> http://www.d.umn.edu/~tpederse >>>>> >>>>>
>>>>
>>> >>> >>> >>> -- >>> Ted Pedersen >>> http://www.d.umn.edu/~tpederse >>> >>>
>>
> > > > -- > Ted Pedersen > http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #86437] Re: [rt.cpan.org #86440] Re: Failure of "make test" step
Date: Fri, 28 Jun 2013 09:43:38 +0530
To: bug-WordNet-Similarity [...] rt.cpan.org
From: nishant sharma <nishantsharma486 [...] gmail.com>
Download (untitled) / with headers
text/plain 11.1k
Sid, Thanks. This helps. I am back to 1 failed test from 3.:) Follwing are the results: . . . ok 74 ok 75 not ok 76 # Failed test at t/trace.t line 141. # got: '4' # expected: '0' # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and 'Overlaps: 1 x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling the" 2 x "any" 1 x "and" ' differ ok 77 ok 78 . . .ok 132 # Looks like you failed 1 test of 132. Also, i'm getting unexpected results. Lesk score between dog#n#1 and dog#n#1 was 5646. and that between car#n#1 and bus#n#2 was 30. I followed the exact code as in http://search.cpan.org/~tpederse/WordNet-Similarity/lib/WordNet/Similarity/lesk.pm. I cross checked the results with http://marimba.d.umn.edu/ . Obviously, there is a lot of deviation. Thanks. On Thu, Jun 27, 2013 at 8:29 PM, Siddharth Patwardhan via RT < bug-WordNet-Similarity@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > I was just looked at trace.t to get to the bottom of this issue. I > discovered that one of the tests in trace.t assumes that the tests will be > run from the base directory of the extracted WordNet-Similarity package, > and not from inside t. Try re-runiing your tests by > (1) cd to the WordNet-Similarity base directory > (2) then run perl t/trace.t > > -- Sid. > > On Jun 27, 2013, at 8:18 AM, "tpederse@d.umn.edu via RT" < > bug-WordNet-Similarity@rt.cpan.org> wrote: >
> > Queue: WordNet-Similarity > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > > > > Well that's very interesting - that's where we get our version from > > too. I will check into this hash code issue, although as I say I don't > > think this is anything that should affect you negatively. Thanks for > > the quick update! > > > > Cordially, > > Ted > > > > On Thu, Jun 27, 2013 at 7:17 AM, nishant sharma via RT > > <bug-WordNet-Similarity@rt.cpan.org> wrote:
> >> Queue: WordNet-Similarity > >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >> > >> I got it from the following link: > >> > >> http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz > >> > >> > >> On Thu, Jun 27, 2013 at 5:25 PM, tpederse@d.umn.edu via RT < > >> bug-WordNet-Similarity@rt.cpan.org> wrote: > >>
> >>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >>> > >>> I know that you are using WordNet version 3.0, but where did you > >>> obtain it from? Is this the version from Princton, or perhaps the > >>> Debian packaged version, or ? > >>> > >>> The message about the hash code not matching installed WordNet > >>> suggests you might have a different version of WordNet than we are > >>> expecting. I don't think this should cause you any difficulty, but it > >>> would be good for us to know about this too. > >>> > >>> Thanks! > >>> Ted > >>> > >>> On Thu, Jun 27, 2013 at 4:26 AM, nishant sharma via RT > >>> <bug-WordNet-Similarity@rt.cpan.org> wrote:
> >>>> Queue: WordNet-Similarity > >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >>>> > >>>> Sir, > >>>> > >>>> Its a pleasure to hear from you. > >>>> I have installed the application using "make test". And its working
> for
> >>> now.
> >>>> Also i ran the test for lesk, following your instructions. The lesk
> test
> >>>> seemed fine but not so for trace (perl trace.t). Following are the
> >>> details
> >>>> of the test: > >>>> > >>>> . > >>>> . > >>>> . > >>>> ok 10 - use WordNet::Similarity::res; > >>>> ok 11 - use WordNet::Similarity::wup; > >>>> ok 12 - use File::Spec; > >>>> ok 13 - use File::Copy; > >>>> ok 14 > >>>> ok 15 > >>>> ok 16 > >>>> ok 17 > >>>> not ok 18 > >>>> # Failed test at trace.t line 99. > >>>> readline() on closed filehandle WNF at trace.t line 100. > >>>> not ok 19 > >>>> # Failed test at trace.t line 101. > >>>> not ok 20 > >>>> # Failed test at trace.t line 106. > >>>> ok 21 # skip Hash-code of key file(s) does not match installed WordNet > >>>> ok 22 # skip Hash-code of key file(s) does not match installed WordNet > >>>> . > >>>> . > >>>> . > >>>> ok 132 # skip Hash-code of key file(s) does not match installed
> WordNet
> >>>> # Looks like you failed 3 tests of 132. > >>>> > >>>> What surprises me is that at the "make test" step only 1 test of 132 > >>>> failed, but now 3 have failed. > >>>> > >>>> Thanks > >>>> > >>>> > >>>> On Thu, Jun 27, 2013 at 5:39 AM, tpederse@d.umn.edu via RT < > >>>> bug-WordNet-Similarity@rt.cpan.org> wrote: > >>>>
> >>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >>>>> > >>>>> I'm running WordNet::Similarity on Ubuntu 12.04 with WordNet-3.0 and > >>>>> can't recreate this particular issue, so I'm a little uncertain about > >>>>> what might be happening. I think sometimes lesk related testing
> errors
> >>>>> can have to do with the configuration file being used (or not), > >>>>> although that most often seems to happen on Windows. > >>>>> > >>>>> So, I think for the moment at least I'd suggest going ahead and > >>>>> forcing the install. You can do that on cpan via > >>>>> > >>>>> cpan
> >>>>>> force install WordNet::Similarity
> >>>>> > >>>>> This will in effect tell the installer to ignore the make test
> errors.
> >>>>> If you did not use cpan and simply installed after downloading that > >>>>> tar file, you can just go ahead and run > >>>>> > >>>>> make install > >>>>> > >>>>> to finish up the install. > >>>>> > >>>>> I would suggest that after you have installed that you go back and
> run
> >>>>> the lesk test again. It might be that in the process of installation > >>>>> this issue is resolved. You can do that by doing the following from > >>>>> within the WordNet::Similarity home directory... > >>>>> > >>>>> cd t > >>>>> perl lesk.t > >>>>> > >>>>> I hope this helps! > >>>>> > >>>>> Good luck, > >>>>> Ted > >>>>> > >>>>> > >>>>> On Wed, Jun 26, 2013 at 10:58 AM, nishant sharma via RT > >>>>> <bug-WordNet-Similarity@rt.cpan.org> wrote:
> >>>>>> Queue: WordNet-Similarity > >>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86437 > > >>>>>> > >>>>>> I am using Ubuntu(version 12.10) and WordNet-3.0 > >>>>>> > >>>>>> > >>>>>> On Wed, Jun 26, 2013 at 8:20 PM, Siddharth Patwardhan via RT < > >>>>>> bug-WordNet-Similarity@rt.cpan.org> wrote: > >>>>>>
> >>>>>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > >>>>>>> > >>>>>>> Yes, it is possible to install despite the "make test" failure. > >>>>>>> However, the test failure may indicate more fundamental problems,
> >>> which
> >>>>>>> could manifest themselves later. > >>>>>>> > >>>>>>> Can you give us more details about your system: which OS (linux,
> >>>>> windows,
> >>>>>>> mac)? which version of WordNet? > >>>>>>> > >>>>>>> -- Sid. > >>>>>>> > >>>>>>> > >>>>>>> On Jun 26, 2013, at 10:39 AM, "nishant sharma via RT" < > >>>>>>> bug-WordNet-Similarity@rt.cpan.org> wrote: > >>>>>>>
> >>>>>>>> Wed Jun 26 10:39:20 2013: Request 86440 was acted upon. > >>>>>>>> Transaction: Ticket created by nishantsharma486@gmail.com > >>>>>>>> Queue: WordNet-Similarity > >>>>>>>> Subject: Re: Failure of "make test" step > >>>>>>>> Broken in: (no value) > >>>>>>>> Severity: (no value) > >>>>>>>> Owner: Nobody > >>>>>>>> Requestors: nishantsharma486@gmail.com > >>>>>>>> Status: new > >>>>>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86440 > > >>>>>>>> > >>>>>>>> > >>>>>>>> Also, is it possible to install it despite the failure of "make
> >>>>> test"? So
> >>>>>>>> that i could move forward. > >>>>>>>> Thanks again. > >>>>>>>> > >>>>>>>> > >>>>>>>> On Wed, Jun 26, 2013 at 8:05 PM, nishant sharma > >>>>>>>> <nishantsharma486@gmail.com>wrote: > >>>>>>>>
> >>>>>>>>> Hi, > >>>>>>>>> > >>>>>>>>> First of all a big thanks to the whole team for making such tools
> >>>>> that
> >>>>>>>>> are, for students like me and researchers, very useful. > >>>>>>>>> > >>>>>>>>> I would like to report a bug i encountered during the
> >>> installation of
> >>>>>>>>> Wordnet-Similarity-2.05. I have installed all the pre-requisites > >>>>>>>>> successfully. Also to the best of my knowledge, the "perl
> >>>>> Makefile.PL"
> >>>>>>> and
> >>>>>>>>> "make" steps were successful as well. But the next step, i.e.
> >>> "make
> >>>>>>> test",
> >>>>>>>>> failed. Following are the details of its execution: > >>>>>>>>> > >>>>>>>>> nishant@nishant-Inspiron-1545
> >>> :~/Downloads/WordNet-Similarity-2.05$
> >>>>> make
> >>>>>>>>> test > >>>>>>>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >>>>>>>>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >>>>>>>>> t/access.t ........ ok > >>>>>>>>> t/hso.t ........... ok > >>>>>>>>> t/ICFinder.t ...... ok > >>>>>>>>> t/jcn.t ........... ok > >>>>>>>>> t/lch.t ........... ok > >>>>>>>>> t/lesk.t .......... ok > >>>>>>>>> t/lin.t ........... ok > >>>>>>>>> t/offsetwps.t ..... ok > >>>>>>>>> t/pairs-noroot.t .. ok > >>>>>>>>> t/pairs.t ......... ok > >>>>>>>>> t/path.t .......... ok > >>>>>>>>> t/PathFinder.t .... ok > >>>>>>>>> t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required
> for
> >>>>>>> testing
> >>>>>>>>> POD coverage > >>>>>>>>> t/pod-doc.t ....... skipped: Test::Pod 1.00 required for testing
> >>> POD
> >>>>>>>>> t/pod.t ........... skipped: Test::Pod 1.00 required for testing
> >>> POD
> >>>>>>>>> t/random.t ........ ok > >>>>>>>>> t/res.t ........... ok > >>>>>>>>> t/trace.t ......... 51/132 > >>>>>>>>> # Failed test at t/trace.t line 141. > >>>>>>>>> # got: '4' > >>>>>>>>> # expected: '0' > >>>>>>>>> # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2
> x
> >>>>> "any"
> >>>>>>>>> 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and
> >>>>>>> 'Overlaps: 1
> >>>>>>>>> x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x
> >>>>> "resembling
> >>>>>>>>> the" 2 x "any" 1 x "and" ' differ > >>>>>>>>> t/trace.t ......... 121/132 # Looks like you failed 1 test of
> 132.
> >>>>>>>>> t/trace.t ......... Dubious, test returned 1 (wstat 256, 0x100) > >>>>>>>>> Failed 1/132 subtests > >>>>>>>>> t/vector.t ........ ok > >>>>>>>>> t/vector_pairs.t .. ok > >>>>>>>>> t/wn30loop.t ...... ok > >>>>>>>>> t/wup.t ........... ok > >>>>>>>>> > >>>>>>>>> Test Summary Report > >>>>>>>>> ------------------- > >>>>>>>>> t/trace.t (Wstat: 256 Tests: 132 Failed: 1) > >>>>>>>>> Failed test: 76 > >>>>>>>>> Non-zero exit status: 1 > >>>>>>>>> Files=22, Tests=2027, 134 wallclock secs ( 0.44 usr 0.06 sys +
> >>>>> 128.26
> >>>>>>>>> cusr 4.94 csys = 133.70 CPU) > >>>>>>>>> Result: FAIL > >>>>>>>>> Failed 1/22 test programs. 1/2027 subtests failed. > >>>>>>>>> make: *** [test_dynamic] Error 255 > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> Please could you help me fix this, i am stuck. I need to use it
> >>> for
> >>>>> my
> >>>>>>>>> project and i am under a lot of time-pressure. > >>>>>>>>> Thanks a lot once again > >>>>>>>>> > >>>>>>>>> Nishant Sharma > >>>>>>>>> IIT Madras, India > >>>>>>>>>
> >>>>>>> > >>>>>>> > >>>>>>>
> >>>>>>
> >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> Ted Pedersen > >>>>> http://www.d.umn.edu/~tpederse > >>>>> > >>>>>
> >>>>
> >>> > >>> > >>> > >>> -- > >>> Ted Pedersen > >>> http://www.d.umn.edu/~tpederse > >>> > >>>
> >>
> > > > > > > > -- > > Ted Pedersen > > http://www.d.umn.edu/~tpederse
> > >
Download (untitled) / with headers
text/html 19.4k

Message body is not shown because it is too large.

User suggested solution : I tried to install WordNet::Similarity today using CPAN and got this error: # Failed test at t/trace.t line 141. # got: '4' # expected: '0' # lesk: The lines 'Overlaps: 1 x "the" 1 x "small" 1 x "of" 2 x "any" 1 x "in the" 1 x "or" 1 x "resembling the" 1 x "and" ' and 'Overlaps: 1 x "the" 1 x "small" 1 x "in the" 1 x "or" 1 x "of" 1 x "resembling the" 2 x "any" 1 x "and" ' differ t/trace.t ......... 121/132 # Looks like you failed 1 test of 132. If you look at the lines, it's most likely that they were constructed by retrieving keys and values from a hash without sorting by key, and then appended into a string. The 2 strings have the same data, but in different orders. You should be able to fix this in the file lib/WordNet/Similarity/lesk.pm, sub getRelatedness, by changing the line foreach $key (keys %{$overlaps}) to foreach $key (sort keys %{$overlaps}) and then regenerating all the lesktrace.key files. I don't know how to regenerate the lesktrace.key files. - Phil Goetz, philgoetz@gmail.com
Fixed in version 2.07 of WordNet::Similarity, released today.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.