Open TobiasElssner opened 9 years ago
I just recognized that I didn't copy the expected exceptions properly, so here is the full report of failures I get:
testIterator(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): Unexpected exception, expected java.lang.UnsupportedOperationException but was java.lang.NumberFormatException
testEmptyNext(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): Unexpected exception, expected java.util.NoSuchElementException but was java.lang.NumberFormatException
testIterator(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): For input string: "2,300000"
testRemove(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected java.lang.UnsupportedOperationException but was java.lang.NumberFormatException
testEmptyNext(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected java.util.NoSuchElementException but was java.lang.NumberFormatException
testTransform(edu.ucla.sspace.matrix.SvdlibcSparseTextFileTransformerTest): For input string: "2,000000"
testIterator(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): Unexpected exception, expected java.lang.UnsupportedOperationException but was java.lang.NumberFormatException
testEmptyNext(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): Unexpected exception, expected java.util.NoSuchElementException but was java.lang.NumberFormatException
testTransform(edu.ucla.sspace.matrix.MatlabSparseFileTransformerTest): For input string: "2,000000"
testIterator(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): Unexpected exception, expected java.lang.UnsupportedOperationException but was java.lang.NumberFormatException
testEmptyNext(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): Unexpected exception, expected java.util.NoSuchElementException but was java.lang.NumberFormatException
testIterator(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): Unexpected exception, expected java.lang.UnsupportedOperationException but was java.lang.NumberFormatException
testEmptyNext(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): Unexpected exception, expected java.util.NoSuchElementException but was java.lang.NumberFormatException
Again, thank you for your help. Tobias
These errors look like they're due to the localization differences in how decimal numbers are formatted, e.g., "1.500" vs. "1,500". I thought we had addressed this at one point, but obviously these errors should be corrected. Thanks for reporting this and I'll see what I can figure out!
Thank you very much, Tobias
Hi,
I have the same problem, but I also try to change the localisation but it doesn't work. The error is like this:
Tests in error:
testRemove(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected
testIterator(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): For input string: "2,300000"
testEmptyNext(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected
Tests run: 1339, Failures: 0, Errors: 17, Skipped: 6
Please tell me how to solve this problem. Thanks a lot
Hi, I encountered two problems when getting started with S-Space. My operating system is Debian, and I have recently installed Matlab and Maven.
You have mentioned in your tutorial that after compiling with Maven, the output looks like this:
user@machine$ mvn compile [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building S-Space Package 2.0 [INFO] ------------------------------------------------------------------------ [INFO] Compiling 495 source files to /home/stevens35/devel/S-Space/target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.309s [INFO] Finished at: Thu Oct 27 08:56:28 PDT 2011 [INFO] Final Memory: 24M/361M [INFO] ------------------------------------------------------------------------
whereas my output is
[INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building S-Space Package 2.0.4 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ sspace --- [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ sspace --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/tobi/S-Space/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sspace --- [INFO] Compiling 5 source files to /home/tobi/S-Space/target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.854s [INFO] Finished at: Sun Feb 15 19:22:07 CET 2015 [INFO] Final Memory: 12M/89M [INFO] ------------------------------------------------------------------------
where only 5 source files have been compiled to /S-Space/target/classes.
Also, when testing, I get 17 errors, which occur when an iterator is used:
Tests in error: testIterator(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): Unexpected exception, expected but was
testEmptyNext(edu.ucla.sspace.matrix.SvdlibcDenseTextFileIteratorTests): Unexpected exception, expected but was
testIterator(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): For input string: "2,300000"
testRemove(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected but was
testEmptyNext(edu.ucla.sspace.matrix.MatlabSparseFileIteratorTests): Unexpected exception, expected but was
testTransform(edu.ucla.sspace.matrix.SvdlibcSparseTextFileTransformerTest): For input string: "2,000000"
testIterator(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): Unexpected exception, expected but was
testEmptyNext(edu.ucla.sspace.matrix.ClutoSparseFileIteratorTests): Unexpected exception, expected but was
testTransform(edu.ucla.sspace.matrix.MatlabSparseFileTransformerTest): For input string: "2,000000"
testIterator(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): Unexpected exception, expected but was
testEmptyNext(edu.ucla.sspace.matrix.SvdlibcSparseTextFileIteratorTests): Unexpected exception, expected but was
testIterator(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): For input string: "1,500000"
testRemove(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): Unexpected exception, expected but was
testEmptyNext(edu.ucla.sspace.matrix.DenseTextFileIteratorTests): Unexpected exception, expected but was
I guess it is just a simple bug, but I don't find it. Thank you for your help!
Tobias