Giter VIP home page Giter VIP logo

taro.jl's Introduction

taro.jl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

taro.jl's Issues

Taro testing error

Hi, I got the following Taro testing error. I am running julia-0.6.0 64bit on Win10. I am not sure if it is a JavaCall problem or a Taro problem. Luckily, Taro still works most of the time...

julia> Pkg.test("Taro")
INFO: Testing Taro
Loaded C:\Program Files\Java\jre1.8.0_144\bin\server\jvm.dll

WARNING: deprecated syntax "typealias Workbook JavaObject{Symbol("org.apache.poi.ss.usermodel.Workbook")}" at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:21.
Use "const Workbook = JavaObject{Symbol("org.apache.poi.ss.usermodel.Workbook")}" instead.

WARNING: deprecated syntax "typealias Sheet JavaObject{Symbol("org.apache.poi.ss.usermodel.Sheet")}" at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:27.
Use "const Sheet = JavaObject{Symbol("org.apache.poi.ss.usermodel.Sheet")}" instead.

WARNING: deprecated syntax "typealias Row JavaObject{Symbol("org.apache.poi.ss.usermodel.Row")}" at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:30.
Use "const Row = JavaObject{Symbol("org.apache.poi.ss.usermodel.Row")}" instead.

WARNING: deprecated syntax "typealias Cell JavaObject{Symbol("org.apache.poi.ss.usermodel.Cell")}" at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:35.
Use "const Cell = JavaObject{Symbol("org.apache.poi.ss.usermodel.Cell")}" instead.

WARNING: deprecated syntax "typealias CellStyle JavaObject{Symbol("org.apache.poi.ss.usermodel.CellStyle")}" at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:38.
Use "const CellStyle = JavaObject{Symbol("org.apache.poi.ss.usermodel.CellStyle")}" instead.

WARNING: deprecated syntax "typealias DataFormat JavaObject{Symbol("org.apache.poi.ss.usermodel.DataFormat")}" at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:39.
Use "const DataFormat = JavaObject{Symbol("org.apache.poi.ss.usermodel.DataFormat")}" instead.
WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at .\deprecated.jl:70
 [2] Array(::Type{AbstractString}, ::Int64) at .\deprecated.jl:57
 [3] extract(::String) at C:\Users\chbian\.julia\v0.6\Taro\src\Taro.jl:75
 [4] include_from_node1(::String) at .\loading.jl:569
 [5] include(::String) at .\sysimg.jl:14
 [6] process_options(::Base.JLOptions) at .\client.jl:305
 [7] _start() at .\client.jl:371
while loading C:\Users\chbian\.julia\v0.6\Taro\test\runtests.jl, in expression starting on line 7
WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at .\deprecated.jl:70
 [2] Array(::Type{AbstractString}, ::Int64) at .\deprecated.jl:57
 [3] extract(::String) at C:\Users\chbian\.julia\v0.6\Taro\src\Taro.jl:75
 [4] include_from_node1(::String) at .\loading.jl:569
 [5] include(::String) at .\sysimg.jl:14
 [6] process_options(::Base.JLOptions) at .\client.jl:305
 [7] _start() at .\client.jl:371
while loading C:\Users\chbian\.julia\v0.6\Taro\test\runtests.jl, in expression starting on line 12
Exception in thread "main" java.lang.NullPointerException
        at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:236)
        at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:166)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:278)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:250)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:229)
ERROR: LoadError: Error calling Java: java.lang.NullPointerException
Stacktrace:
 [1] geterror(::Bool) at C:\Users\chbian\.julia\v0.6\JavaCall\src\core.jl:270
 [2] _jcall(::JavaCall.JavaMetaClass{Symbol("org.apache.poi.ss.usermodel.WorkbookFactory")}, ::Ptr{Void}, ::Ptr{Void}, ::Type{T} where T, ::Tuple{DataType}, ::JavaCall.JavaObject{Symbol("java.io.File")}, ::Vararg{JavaCall.JavaObject{Symbol("java.io.File")},N} where N) at C:\Users\chbian\.julia\v0.6\JavaCall\src\core.jl:228
 [3] jcall(::Type{JavaCall.JavaObject{Symbol("org.apache.poi.ss.usermodel.WorkbookFactory")}}, ::String, ::Type{T} where T, ::Tuple{DataType}, ::JavaCall.JavaObject{Symbol("java.io.File")}, ::Vararg{JavaCall.JavaObject{Symbol("java.io.File")},N} where N) at C:\Users\chbian\.julia\v0.6\JavaCall\src\core.jl:136
 [4] JavaCall.JavaObject{Symbol("org.apache.poi.ss.usermodel.Workbook")}(::String) at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:203
 [5] readxl(::String, ::String, ::Int64, ::Int64, ::Int64, ::Int64, ::Taro.ParseOptions{String}) at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:130
 [6] #readxl#2(::Bool, ::Array{String,1}, ::Array{String,1}, ::Array{String,1}, ::Array{Symbol,1}, ::Array{Any,1}, ::Int64, ::Array{Int64,1}, ::Bool, ::Taro.#readxl, ::String, ::String, ::String) at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:115
 [7] readxl(::String, ::String, ::String) at C:\Users\chbian\.julia\v0.6\Taro\src\hssf.jl:99
 [8] include_from_node1(::String) at .\loading.jl:569
 [9] include(::String) at .\sysimg.jl:14
 [10] process_options(::Base.JLOptions) at .\client.jl:305
 [11] _start() at .\client.jl:371
while loading C:\Users\chbian\.julia\v0.6\Taro\test\runtests.jl, in expression starting on line 16
===============================================================================================================[ ERROR: Taro ]===============================================================================================================

failed process: Process(`'C:\Users\chbian\AppData\Local\Julia-0.6.0\bin\julia.exe' -Cx86-64 '-JC:\Users\chbian\AppData\Local\Julia-0.6.0\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\chbian\.julia\v0.6\Taro\test\runtests.jl'`, ProcessExited(1)) [1]

=============================================================================================================================================================================================================================================
ERROR: Taro had test errors

[PkgEval] Taro may have a testing issue on Julia 0.4 (2014-10-12)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-10-11 the testing status was Tests pass.
  • On 2014-10-12 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   161  100   161    0     0   1917      0 --:--:-- --:--:-- --:--:--  1939

 23 27.0M   23 6382k    0     0  13.3M      0  0:00:02 --:--:--  0:00:02 13.3M
 74 27.0M   74 20.0M    0     0  13.6M      0  0:00:01  0:00:01 --:--:-- 13.8M
100 27.0M  100 27.0M    0     0  13.1M      0  0:00:02  0:00:02 --:--:-- 13.1M
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of Taro
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using Taro' log

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:47.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:48.
Use "[]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:61.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/Memoize/src/Memoize.jl:24.
Use "[]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/Reexport/src/Reexport.jl:11.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/Reexport/src/Reexport.jl:14.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a for a in b}" at /home/idunning/pkgtest/.julia/v0.4/Reexport/src/Reexport.jl:16.
... truncated ...

WARNING: deprecated syntax "{a for a in b}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/dataframe/reshape.jl:47.
Use "Any[a for a in b]" instead.

WARNING: deprecated syntax "{a for a in b}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/dataframe/reshape.jl:240.
Use "Any[a for a in b]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/dataframe/reshape.jl:242.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:92.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:119.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:167.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:179.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:196.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:287.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:287.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/deprecated.jl:46.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/deprecated.jl:246.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/deprecated.jl:314.
Use "Any[a,b, ...]" instead.
Julia Version 0.4.0-dev+1059
Commit 78cb1ff (2014-10-11 23:50 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

>>> test log

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:47.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:48.
Use "[]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:61.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/Memoize/src/Memoize.jl:24.
Use "[]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/Reexport/src/Reexport.jl:11.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/Reexport/src/Reexport.jl:14.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a for a in b}" at /home/idunning/pkgtest/.julia/v0.4/Reexport/src/Reexport.jl:16.
... truncated ...
WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:179.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:196.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:287.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/statsmodels/formula.jl:287.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/deprecated.jl:46.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/deprecated.jl:246.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/deprecated.jl:314.
Use "Any[a,b, ...]" instead.
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

ERROR: MemoryError()
 in _jcall at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:259
 in jcall at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:236
 in extract at /home/idunning/pkgtest/.julia/v0.4/Taro/src/Taro.jl:37
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:293
 in _start at ./client.jl:362
 in _start_3B_3787 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl, in expression starting on line 6

INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/idunning/julia04/usr/bin/julia /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:719
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:68
 in process_options at ./client.jl:221
 in _start at ./client.jl:362
 in _start_3B_3787 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so

>>> end of log

[PkgEval] Taro may have a testing issue on Julia 0.3 (2014-10-28)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2014-10-27 the testing status was Tests pass.
  • On 2014-10-28 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   161  100   161    0     0   1909      0 --:--:-- --:--:-- --:--:--  1916

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  2 27.0M    2  796k    0     0   690k      0  0:00:40  0:00:01  0:00:39  798k
 58 27.0M   58 15.8M    0     0  7564k      0  0:00:03  0:00:02  0:00:01 8156k
 97 27.0M   97 26.3M    0     0  8605k      0  0:00:03  0:00:03 --:--:-- 9053k
100 27.0M  100 27.0M    0     0  8667k      0  0:00:03  0:00:03 --:--:-- 9112k
INFO: Cloning cache of Taro from git://github.com/aviks/Taro.jl.git
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of Taro
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using Taro' log
Julia Version 0.3.1
Commit c03f413* (2014-09-21 21:30 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

>>> test log

signal (11): Segmentation fault
unknown function (ip: 1200304215)
unknown function (ip: 1200307189)
unknown function (ip: 1200379902)
bytestring at /home/idunning/pkgtest/.julia/v0.3/JavaCall/src/JavaCall.jl:136
jl_apply_generic at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
map_to! at abstractarray.jl:1311
jlcall_map_to!;20241 at  (unknown line)
jl_apply_generic at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
map at abstractarray.jl:1331
extract at /home/idunning/pkgtest/.julia/v0.3/Taro/src/Taro.jl:39
jl_apply_generic at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 1293832456)
unknown function (ip: 1293828729)
unknown function (ip: 1293829362)
unknown function (ip: 1293833978)
unknown function (ip: 1293827365)
unknown function (ip: 1293896311)
unknown function (ip: 1293897904)
jl_load at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
include at ./boot.jl:245
jl_apply_generic at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
include_from_node1 at loading.jl:128
jl_apply_generic at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
process_options at ./client.jl:285
_start at ./client.jl:354
_start_3B_1712 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so (unknown line)
jl_apply_generic at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 4200466)
julia_trampoline at /home/idunning/julia03/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 4199453)
__libc_start_main at /usr/lib/libc.so.6 (unknown line)
unknown function (ip: 4199507)
unknown function (ip: 0)
INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/idunning/julia03/usr/bin/julia /home/idunning/pkgtest/.julia/v0.3/Taro/test/runtests.jl`, ProcessSignaled(11)) [0]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:715
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:67
 in process_options at ./client.jl:213
 in _start at ./client.jl:354
 in _start_3B_1712 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so


>>> end of log

[PkgEval] Taro may have a testing issue on Julia 0.3 (2015-03-13)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2015-03-12 the testing status was Tests pass.
  • On 2015-03-13 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
INFO: Cloning cache of JavaCall from git://github.com/aviks/JavaCall.jl.git
INFO: Cloning cache of Taro from git://github.com/aviks/Taro.jl.git
INFO: Installing ArrayViews v0.4.9
INFO: Installing DataArrays v0.2.11
INFO: Installing DataFrames v0.6.1
INFO: Installing GZip v0.2.13
INFO: Installing JavaCall v0.2.1
INFO: Installing Memoize v0.0.0
INFO: Installing Reexport v0.0.2
INFO: Installing SortingAlgorithms v0.0.4
INFO: Installing StatsBase v0.6.12
INFO: Installing Taro v0.1.3
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   161  100   161    0     0   1158      0 --:--:-- --:--:-- --:--:--  5193

100   161  100   161    0     0     60      0  0:00:02  0:00:02 --:--:--    60
  0 27.0M    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--  -260
  7 27.0M    7 2015k    0     0   483k      0  0:00:57  0:00:04  0:00:53 1329k
 56 27.0M   56 15.2M    0     0  3015k      0  0:00:09  0:00:05  0:00:04 6208k
100 27.0M  100 27.0M    0     0  4626k      0  0:00:05  0:00:05 --:--:-- 8318k
INFO: Package database updated

>>> 'using Taro' log
Julia Version 0.3.6
Commit 0c24dca (2015-02-17 22:12 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
/home/vagrant/testpkg/v0.3/Taro
Found libjvm @ /usr/lib/jvm/java-7-oracle/jre/lib/amd64/server

>>> test log
log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.PDFStreamEngine).
log4j:WARN Please initialize the log4j system properly.
Found libjvm @ /usr/lib/jvm/java-7-oracle/jre/lib/amd64/server

ERROR: sheetname not defined
 in getSheet at /home/vagrant/testpkg/v0.3/Taro/src/Taro.jl:108
 in readxl at /home/vagrant/testpkg/v0.3/Taro/src/Taro.jl:130
 in readxl at /home/vagrant/testpkg/v0.3/Taro/src/Taro.jl:103
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/vagrant/testpkg/v0.3/Taro/test/runtests.jl, in expression starting on line 15
INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/vagrant/julia03/bin/julia /home/vagrant/testpkg/v0.3/Taro/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:718
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:67
 in process_options at ./client.jl:213
 in _start at ./client.jl:354


>>> end of log

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

[PkgEval] Taro may have a testing issue on Julia 0.4 (2014-10-08)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-10-05 the testing status was Tests pass.
  • On 2014-10-08 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

Special message from @IainNZ: This change may be due to breaking changes to Dict in JuliaLang/julia#8521, or the removal of deprecated syntax in JuliaLang/julia#8607.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   161  100   161    0     0   1833      0 --:--:-- --:--:-- --:--:--  1850

 22 27.0M   22 6140k    0     0  8870k      0  0:00:03 --:--:--  0:00:03 8870k
100 27.0M  100 27.0M    0     0  21.9M      0  0:00:01  0:00:01 --:--:-- 38.8M
INFO: Installing ArrayViews v0.4.6
INFO: Installing DataArrays v0.2.2
INFO: Installing DataFrames v0.5.9
INFO: Installing GZip v0.2.13
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Reexport v0.0.1
INFO: Installing SortingAlgorithms v0.0.2
INFO: Installing StatsBase v0.6.6
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of Taro
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using Taro' log

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/scalarstats.jl:98.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/scalarstats.jl:122.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>Float64)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/counts.jl:162.
Use "Dict{T,Float64}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/counts.jl:192.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>W)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/counts.jl:193.
Use "Dict{T,W}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/misc.jl:66.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/misc.jl:77.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "[a=>b, ...]" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/RDA.jl:11.
Use "Dict(a=>b, ...)" instead.
Julia Version 0.4.0-dev+998
Commit e24fac0 (2014-10-07 22:02 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

>>> test log

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/scalarstats.jl:98.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/scalarstats.jl:122.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>Float64)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/counts.jl:162.
Use "Dict{T,Float64}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/counts.jl:192.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>W)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/counts.jl:193.
Use "Dict{T,W}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/misc.jl:66.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "(T=>Int)[]" at /home/idunning/pkgtest/.julia/v0.4/StatsBase/src/misc.jl:77.
Use "Dict{T,Int}()" instead.

WARNING: deprecated syntax "[a=>b, ...]" at /home/idunning/pkgtest/.julia/v0.4/DataFrames/src/RDA.jl:11.
Use "Dict(a=>b, ...)" instead.
ERROR: `Dict{K,V}` has no method matching Dict{K,V}(::Array{ASCIIString,1}, ::Array{String,1})
 in extract at /home/idunning/pkgtest/.julia/v0.4/Taro/src/Taro.jl:47
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:293
 in _start at ./client.jl:362
 in _start_3B_3789 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl, in expression starting on line 6
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server


INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/idunning/julia04/usr/bin/julia /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:719
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:68
 in process_options at ./client.jl:221
 in _start at ./client.jl:362
 in _start_3B_3789 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so

>>> end of log

Package-Dependencies

Dear all,

First of all, thank you for sharing this great package. It is really helpful!!

Just a minor comment:

The first time I loaded Taro, it gave me the following error message:

"ERROR: StoredArray not defined"

So, I Installed "DataArrays" package and everything worked fine.

My question is: Would it be possible to analyze this kind of dependencies automatically? Just like happens with Debian packages: If I ask for the installation of a package A that depends on other packages B, C, and D, julia would be sure that B, C, and D are installed before proceeding with the installation of A.

Is it a Julia limitation? Or a choice of package admin? Or just an accident?

Best,

Charles

Exception in thread "process reaper" java.lang.StackOverflowError

Hello. I got this exception Exception in thread "process reaper" java.lang.StackOverflowError trying to run Taro example. How can I solve this?

P.S. It seems the documentation is out of date. In section Extraction Pkg.dir() for now is deprecated.

Full code down below.

julia> using Taro
[ Info: Precompiling Taro [61d0e4fa-4e73-5030-88a9-ae4c27b203dd]

julia> Taro.init()

julia> testfile = "/home/oem/.julia/packages/Taro/lMmIa/examples/tables.pdf"
"/home/oem/.julia/packages/Taro/lMmIa/examples/tables.pdf"

julia> meta, text = Taro.extract(testfile);
Oct 29, 2020 10:39:08 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Oct 29, 2020 10:39:08 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
Exception in thread "process reaper" java.lang.StackOverflowError
        at java.base/java.lang.invoke.MethodType.equals(MethodType.java:830)
        at java.base/java.lang.invoke.MethodType.equals(MethodType.java:822)
        at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:940)
        at java.base/java.lang.invoke.MethodType$ConcurrentWeakInternSet.get(MethodType.java:1317)
        at java.base/java.lang.invoke.MethodType.makeImpl(MethodType.java:312)
        at java.base/java.lang.invoke.MethodTypeForm.canonicalize(MethodTypeForm.java:253)
        at java.base/java.lang.invoke.MethodTypeForm.findForm(MethodTypeForm.java:215)
        at java.base/java.lang.invoke.MethodType.makeImpl(MethodType.java:327)
        at java.base/java.lang.invoke.MethodHandleNatives.findMethodHandleType(MethodHandleNatives.java:377)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:932)
        at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
        at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137)
        at java.base/java.lang.ProcessHandleImpl$1.run(ProcessHandleImpl.java:162)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:832)

My configuration

julia> versioninfo()
Julia Version 1.5.2
Commit 539f3ce943 (2020-09-23 23:17 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
  JULIA_COPY_STACKS = 1

Exception "Cannot get a text value from a numeric cell"

This happens when I try to read in a .xls file

Exception in thread "main" java.lang.IllegalStateException: Cannot get a text value from a numeric cell
        at org.apache.poi.hssf.usermodel.HSSFCell.typeMismatch(HSSFCell.java:648)
        at org.apache.poi.hssf.usermodel.HSSFCell.getRichStringCellValue(HSSFCell.java:725)
        at org.apache.poi.hssf.usermodel.HSSFCell.getStringCellValue(HSSFCell.java:708)
ERROR: Error calling Java: java.lang.IllegalStateException: Cannot get a text value from a numeric cell
 in error at ./error.jl:21
 in geterror at /datanumerik/bzfsikor/julia/pkg/v0.4/JavaCall/src/core.jl:243
 in _jcall at /datanumerik/bzfsikor/julia/pkg/v0.4/JavaCall/src/core.jl:211
 in jcall at /datanumerik/bzfsikor/julia/pkg/v0.4/JavaCall/src/core.jl:124
 in readxl at /datanumerik/bzfsikor/julia/pkg/v0.4/Taro/src/Taro.jl:163
 in readxl at /datanumerik/bzfsikor/julia/pkg/v0.4/Taro/src/Taro.jl:125

`Taro.init()`; ERROR: assertion failed

This happens when I try to execute Taro.init:

C:\Users\CSM>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

C:\Users\CSM>julia -q
julia> versioninfo()
Julia Version 0.3.5
Commit a05f87b* (2015-01-08 22:33 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

julia> using Taro
Found libjvm @ C:\Program Files\Java\jre1.8.0_31\bin\server\

julia> Taro.init()
ERROR: assertion failed: ccall(jnifunc.GetVersion,Cint,(Ptr{JNIEnv},),penv) == J
NI_VERSION_1_6
 in init at C:\Users\CSM\.julia\v0.3\JavaCall\src\JavaCall.jl:457
 in init at C:\Users\CSM\.julia\v0.3\Taro\src\Taro.jl:13

julia> ccall(jnifunc.GetVersion,Cint,(Ptr{JNIEnv},),penv)
ERROR: JNIEnv not defined

First I got #2, after wich I defined JAVA_LIB @ C:\Program Files\Java\jre1.8.0_31\bin\server\

Where and how should I define JNIEnv? Does Taro.jl only works with Java 1.6? If so, I think this should be mentioned.

Thanks!

Taro.init() segfaults

Running julia 0.62 on a Mac:

Main> Pkg.add("Taro.jl")
INFO: Cloning cache of JavaCall from https://github.com/JuliaInterop/JavaCall.jl.git
INFO: Cloning cache of Taro from https://github.com/aviks/Taro.jl.git
INFO: Installing JavaCall v0.5.2
INFO: Installing Taro v0.5.0
INFO: Building SpecialFunctions
INFO: Building Taro
INFO:   Downloading tika-app-1.10.jar from Maven Central
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 45.0M  100 45.0M    0     0  9229k      0  0:00:05  0:00:05 --:--:-- 10.4M
INFO:   Downloading fop-2.0 binary from Apache OSUOSL Mirror
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 17.3M  100 17.3M    0     0  17.3M      0  0:00:01  0:00:01 --:--:-- 14.5M
INFO: Package database updated

Main> using Taro
Loaded /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/server/libjvm.dylib

Main> Taro.init()

signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
unknown function (ip: 0x1302f22b3)
Allocations: 66991281 (Pool: 66970489; Big: 20792); GC: 167

Unable to refresh formulas in excel workbook

I am trying to refresh an excel workbook from within Julia (instead of having to open the document in excel). I have used Taro to update the cell's value, but the API for refreshing formulas is not available. I am trying to gain access to it, but I can not seem to correctly import it into JavaCall.jl. Here is the method I am trying to call: https://poi.apache.org/apidocs/dev/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.html#create-org.apache.poi.hssf.[…]i.ss.formula.udf.UDFFinder-

@mkitti thinks that Taro.jl may be using an older version https://github.com/aviks/Taro.jl/blob/master/deps/build.jl

using Taro
using JavaCall
Taro.init()


# update cell
w = Workbook("test.xlsx")
s = getSheet(w, "Display")
r = getRow(s, 1)
c = getCell(r, 2)
setCellValue(c, "V")

@jimport org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator
jcall(w, "evaluateAllFormulaCells", Workbook, ())
Exception in thread "main" java.lang.NoSuchMethodError: evaluateAllFormulaCells
ERROR: JavaCall.JavaCallError("Error calling Java: java.lang.NoSuchMethodError: evaluateAllFormulaCells")
Stacktrace:
 [1] geterror(allow::Bool)
   @ JavaCall C:\Users\tyler\.julia\packages\JavaCall\tjlYt\src\core.jl:418
 [2] jcall(typ::Type{JavaObject{Symbol("org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator")}}, method::String, rettype::Type, argtypes::Tuple{}, args::JavaObject{Symbol("org.apache.poi.ss.usermodel.Workbook")})
   @ JavaCall C:\Users\tyler\.julia\packages\JavaCall\tjlYt\src\core.jl:226
 [3] top-level scope
   @ REPL[18]:1

Tests failing

I am using Java 1.8 installed through brew. Pkg.test() fails with a segfault:

julia> VERSION
v"0.4.0"
signal (11): Segmentation fault: 11
_ZN13FingerprinterC2E12methodHandle at /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/server/libjvm.dylib (unknown line)
_ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread at /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/server/libjvm.dylib (unknown line)
jni_CallObjectMethodA at /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/server/libjvm.dylib (unknown line)
_jcall at /Users/viral/.julia/v0.4/JavaCall/src/core.jl:172
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1325
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1325
jcall at /Users/viral/.julia/v0.4/JavaCall/src/core.jl:123
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1325
extract at /Users/viral/.julia/v0.4/Taro/src/Taro.jl:63
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1691
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:55
eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:213
eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:219
eval_body at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:592
jl_interpret_toplevel_thunk_with at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:612
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:542
jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:577
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:620
include at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1325
include_from_node1 at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1325
process_options at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
_start at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jlcall__start_18627 at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1325
true_main at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/bin/julia (unknown line)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000003106c4e8e, pid=46044, tid=1299
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x322e8e]  Fingerprinter::Fingerprinter(methodHandle)+0x16
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/viral/.julia/v0.4/Taro/test/hs_err_pid46044.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
================================[ ERROR: Taro ]=================================

failed process: Process(`/Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/bin/julia --check-bounds=yes --code-coverage=none --color=yes /Users/viral/.julia/v0.4/Taro/test/runtests.jl`, ProcessSignaled(6)) [0]

================================================================================
ERROR: Taro had test errors
 in error at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in test at pkg/entry.jl:753
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in test at pkg.jl:71

[PkgEval] Taro may have a testing issue on Julia 0.4 (2014-09-17)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-09-16 the testing status was Tests pass.
  • On 2014-09-17 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 27.0M    0 25835    0     0  96231      0  0:04:54 --:--:--  0:04:54 96040
 26 27.0M   26 7433k    0     0  5865k      0  0:00:04  0:00:01  0:00:03 5862k
 48 27.0M   48 13.0M    0     0  5888k      0  0:00:04  0:00:02  0:00:02 5887k
 97 27.0M   97 26.3M    0     0  8257k      0  0:00:03  0:00:03 --:--:-- 8255k
100 27.0M  100 27.0M    0     0  8071k      0  0:00:03  0:00:03 --:--:-- 8071k
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
INFO: Package database updated

>>> 'using Taro' log
Julia Version 0.4.0-dev+627
Commit b3141cb (2014-09-17 05:21 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

>>> test log
log4j:WARN No appenders could be found for logger (org.apache.pdfbox.util.PDFStreamEngine).
log4j:WARN Please initialize the log4j system properly.
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

ERROR: test failed: (25 > 3000)
 in expression: length(body) > 3000
 in error at error.jl:21
 in default_handler at test.jl:25
 in do_test at test.jl:50
 in include at ./boot.jl:246
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_3614 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl, in expression starting on line 13

INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/idunning/julia04/usr/bin/julia /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:719
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:68
 in process_options at ./client.jl:213
 in _start at ./client.jl:354
 in _start_3B_3614 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so

>>> end of log

Tables version is old

Taro currently is compatible with Tables v0.2.0. The current version of Tables is 1.0.4. This makes it difficult to install Taro with other packages like CSV.

[PkgEval] Taro may have a testing issue on Julia 0.4 (2014-10-29)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-10-28 the testing status was Tests pass.
  • On 2014-10-29 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   161  100   161    0     0   1921      0 --:--:-- --:--:-- --:--:--  1939

 20 27.0M   20 5741k    0     0  6627k      0  0:00:04 --:--:--  0:00:04 6627k
 50 27.0M   50 13.6M    0     0  7509k      0  0:00:03  0:00:01  0:00:02 8275k
 76 27.0M   76 20.5M    0     0  7355k      0  0:00:03  0:00:02  0:00:01 7667k
100 27.0M  100 27.0M    0     0  7584k      0  0:00:03  0:00:03 --:--:-- 7884k
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
INFO: Package database updated

>>> 'using Taro' log

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:47.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:48.
Use "[]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:61.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/Memoize/src/Memoize.jl:24.
Use "[]" instead.
Julia Version 0.4.0-dev+1341
Commit 899c7c6 (2014-10-29 07:40 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

>>> test log

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:47.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:48.
Use "[]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:61.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/Memoize/src/Memoize.jl:24.
Use "[]" instead.

signal (11): Segmentation fault
unknown function (ip: -23769838)
unknown function (ip: -23738409)
_jcall at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:275
jl_apply_generic at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
jl_f_apply at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
jcall at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:236
jl_apply_generic at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
extract at /home/idunning/pkgtest/.julia/v0.4/Taro/src/Taro.jl:42
jl_apply_generic at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 77229248)
unknown function (ip: 77226542)
unknown function (ip: 77226360)
unknown function (ip: 77230762)
unknown function (ip: 77224005)
unknown function (ip: 77297367)
unknown function (ip: 77298960)
jl_load at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
include at ./boot.jl:242
jl_apply_generic at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
include_from_node1 at loading.jl:128
jl_apply_generic at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
process_options at ./client.jl:293
_start at ./client.jl:362
_start_3B_3757 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so (unknown line)
jl_apply_generic at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 4200466)
julia_trampoline at /home/idunning/julia04/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 4199453)
__libc_start_main at /usr/lib/libc.so.6 (unknown line)
unknown function (ip: 4199507)
unknown function (ip: 0)
INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/idunning/julia04/usr/bin/julia /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl`, ProcessSignaled(11)) [0]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:719
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:68
 in process_options at ./client.jl:221
 in _start at ./client.jl:362
 in _start_3B_3757 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so


>>> end of log

Pkg.add("Taro") Generates Error

I'm using Julia Version 1.3.0 (2019-11-26). When I attempt to install Taro through Pkg.add("Taro") I get the following error output:

ERROR: Unsatisfiable requirements detected for package Taro [61d0e4fa]:
Taro [61d0e4fa] log:
├─possible versions are: [0.7.0, 0.8.0] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.7.0, 0.8.0]
└─restricted by compatibility requirements with Tables [bd369af6] to versions: uninstalled — no versions left
└─Tables [bd369af6] log:
├─possible versions are: [0.1.0-0.1.15, 0.1.17-0.1.19, 0.2.0-0.2.11, 1.0.0-1.0.3] or uninstalled
└─restricted to versions 1.0.3 by an explicit requirement, leaving only versions 1.0.3
Stacktrace:
[1] #propagate_constraints!#61(::Bool, ::typeof(Pkg.GraphType.propagate_constraints!), ::Pkg.GraphType.Graph, ::Set{Int64}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\GraphType.jl:1007
[2] propagate_constraints! at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\GraphType.jl:948 [inlined]
[3] #simplify_graph!#121(::Bool, ::typeof(Pkg.GraphType.simplify_graph!), ::Pkg.GraphType.Graph, ::Set{Int64}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\GraphType.jl:1462
[4] simplify_graph! at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\GraphType.jl:1462 [inlined] (repeats 2 times)
[5] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:321
[6] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1010
[7] #add at .\none:0 [inlined]
[8] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[9] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[10] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [inlined]
[11] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [inlined]
[12] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [inlined]
[13] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [inlined]
[14] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:66
[15] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:66
[16] top-level scope at REPL[3]:1

Error: Error building `Taro`: tika-app-1.20.jar

Please, change link to tika....1.23.jar,
tika-app-1.20.jar not exist on serwer
Thanks
Paul


(v1.0) pkg> build Taro
  Building Taro → `C:\Users\Julai1_0_5\.julia\packages\Taro\0trbq\deps\build.log`
┌ Error: Error building `Taro`:
│ Exception calling "DownloadFile" with "2" argument(s): "Serwer zdalny zwr?ci? b??d: (404) Nie znalezio
│ At line:1 char:96
│ + ... pe]::Tls12; (New-Object System.Net.Webclient).DownloadFile('https://a ...
│ +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
│     + FullyQualifiedErrorId : WebException
│
│ [ Info:   Downloading tika-app-1.20.jar from Apache OSUOSL Mirror
│ ERROR: LoadError: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
n 3 -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtoc
:Tls12; (New-Object System.Net.Webclient).DownloadFile('https://apache.osuosl.org/tika/tika-app-1.20.jar
sers\Julai1_0_5\.julia\packages\Taro\0trbq\deps\tika-app-1.20.jar')"`, ProcessExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42
│  [2] pipeline_error at .\process.jl:705 [inlined]
│  [3] download(::String, ::String) at .\download.jl:20
│  [4] top-level scope at C:\Users\Julai1_0_5\.julia\packages\Taro\0trbq\deps\build.jl:5
│  [5] include at .\boot.jl:317 [inlined]
│  [6] include_relative(::Module, ::String) at .\loading.jl:1044
│  [7] include(::Module, ::String) at .\sysimg.jl:29
│  [8] include(::String) at .\client.jl:392
│  [9] top-level scope at none:0
│ in expression starting at C:\Users\Julai1_0_5\.julia\packages\Taro\0trbq\deps\build.jl:3
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdl


https://apache.osuosl.org/tika/
Index of /tika

Icon  Name                    Last modified      Size  Description[PARENTDIR] Parent Directory                             -   
[TXT] CHANGES-1.23.txt        2019-12-06 13:39   89K  
[   ] tika-1.23-src.zip       2019-12-06 13:39  113M  
[   ] tika-app-1.23.jar       2019-12-06 13:39   75M  
[   ] tika-eval-1.23.jar      2019-12-06 13:39   69M  
[   ] tika-server-1.23.jar    2019-12-06 13:39   77M  

Apache Server at apache.osuosl.org Port 443

building Taro fails on windows with julia 0.5

|> doesn't seem to work with Cmd objects. using pipeline(...) instead.

updating these lines: https://github.com/aviks/Taro.jl/blob/master/deps/build.jl#L16-L20 solved the problem and removed the deprecation warnings:

if !isfile(fop_jar)
    @static if is_unix() unpack_cmd = `tar xzf $fop_gz --directory=$tdeps` end
    @static if is_windows() unpack_cmd = pipeline(`7z x $fop_gz -y -so`,`7z x -si -y -ttar -o$tdeps`) end
    run(unpack_cmd)
end

@is_unix() and @is_windows() are deprecated in 0.5
sorry for not doing a pull request but setting up a whole fork committing 4 lines etc felt like unnecessary work x)

Memory problems when calling Taro.readxl a second time

I ran into this issue when I tried to using Taro for reading a pretty large sheet. It reads well the first time around. On the second reading of the same excel file, but a different sheet I get the error below. If I start a fresh julia session and switching the reading order, it works fine on the first read and crashed on the second. The sheets I am reading are in order of 12500x10, with the first two columns being large strings, and the rest integers.

My version information is

Julia Version 0.3.7
Commit cb9bcae* (2015-03-23 21:36 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.lang.String.substring(String.java:1913)
        at org.apache.poi.ss.util.CellReference.separateRefParts(CellReference.java:364)
        at org.apache.poi.ss.util.CellReference.<init>(CellReference.java:92)
        at org.apache.poi.xssf.usermodel.XSSFCell.<init>(XSSFCell.java:106)
        at org.apache.poi.xssf.usermodel.XSSFRow.<init>(XSSFRow.java:70)
        at org.apache.poi.xssf.usermodel.XSSFSheet.initRows(XSSFSheet.java:179)
        at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:143)
        at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:130)
        at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:286)
        at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
        at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:186)
        at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:91)
ERROR: Error calling Java: java.lang.OutOfMemoryError: GC overhead limit exceeded
 in error at error.jl:21
 in geterror at /home/user/.julia/JavaCall/src/JavaCall.jl:221
 in _jcall at /home/user/.julia/JavaCall/src/JavaCall.jl:285
 in jcall at /home/user/.julia/JavaCall/src/JavaCall.jl:235
 in readxl at /home/user/.julia/Taro/src/Taro.jl:128
 in readxl at /home/user/.julia/Taro/src/Taro.jl:103

JDK installed but Taro.init() crashes and requests JDK install on my mac

I have the most recent version of the JDK and Taro/JavaCall, julia 0.4.6 and Mac OS El Capitan.

When I run the following code, I get the supposedly harmless segfault, but then Julia crashes and I am presented a screen to install Java:

julia> using Taro
Loaded /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/server/libjvm.dylib

julia> Taro.init()

signal (11): Segmentation fault: 11
unknown function (ip: 0x30f2522b4)
No Java runtime present, requesting install.

java -version reports:

java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

What am I doing wrong?

[PkgEval] Taro may have a testing issue on Julia 0.4 (2014-09-29)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-09-28 the testing status was Tests pass.
  • On 2014-09-29 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This error on Julia 0.4 is possibly due to recently merged pull request JuliaLang/julia#8420.
This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("Taro")' log
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   161  100   161    0     0   1387      0 --:--:-- --:--:-- --:--:--  1400

 80 27.0M   80 21.7M    0     0  36.1M      0 --:--:-- --:--:-- --:--:-- 36.1M
100 27.0M  100 27.0M    0     0  39.2M      0 --:--:-- --:--:-- --:--:-- 60.6M
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
INFO: Package database updated

>>> 'using Taro' log
Julia Version 0.4.0-dev+842
Commit e5d8c1a (2014-09-29 06:50 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server

>>> test log
ERROR: MemoryError()
 in _jcall at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:259
 in jcall at /home/idunning/pkgtest/.julia/v0.4/JavaCall/src/JavaCall.jl:236
 in extract at /home/idunning/pkgtest/.julia/v0.4/Taro/src/Taro.jl:37
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_3625 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl, in expression starting on line 6
Found libjvm @ /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server


INFO: Testing Taro
================================[ ERROR: Taro ]=================================

failed process: Process(`/home/idunning/julia04/usr/bin/julia /home/idunning/pkgtest/.julia/v0.4/Taro/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: Taro had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:719
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:68
 in process_options at ./client.jl:213
 in _start at ./client.jl:354
 in _start_3B_3625 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so

>>> end of log

Error on loading Taro

On my mac, I get:

julia> using Taro
ERROR: Cannot find libjvm in: 
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib/server
/usr/lib
/usr/jre/lib
/usr/jre/lib/server
To override the search, set the JAVA_LIB environment variable to the directory containing libjvm.{so,dll,dylib}
 in error at error.jl:21
 in findjvm at /Users/viral/.julia/JavaCall/src/JavaCall.jl:77
 in reload_path at loading.jl:146
 in _require at loading.jl:59
 in require at loading.jl:46
 in reload_path at loading.jl:146
 in _require at loading.jl:59
 in require at loading.jl:43
while loading /Users/viral/.julia/JavaCall/src/JavaCall.jl, in expression starting on line 80
while loading /Users/viral/.julia/Taro/src/Taro.jl, in expression starting on line 3

build error due to change of position of `7z.exe`

7z.exe is under libexec/julia/ instead of libexec/

Problem is solve by manually copying files from libexec/julia/ to libexec/

(@v1.9) pkg> build Taro
    Building Taro  `E:\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\f987540c99daee40ce79d0557ccf98d5cc0145af\build.log`
ERROR: Error building `Taro`:
ERROR: LoadError: IOError: could not spawn `'E:\julia-1.9.2\bin\..\libexec\7z.exe' x 'E:\.julia\packages\Taro\7MUCw\deps\fop-2.3-bin.tar.gz' -y -so`: no such file or directory (ENOENT)
Stacktrace:
  [1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\process.jl:128
  [2] _spawn(cmd::Cmd, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}}, chain::Base.ProcessChain)
    @ Base .\process.jl:208
  [3] _spawn(cmds::Base.OrCmds, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}}, chain::Base.ProcessChain)
    @ Base .\process.jl:176
  [4] #762
    @ .\process.jl:147 [inlined]
  [5] setup_stdios(f::Base.var"#762#763"{Base.OrCmds}, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\process.jl:223
  [6] _spawn
    @ .\process.jl:146 [inlined]
  [7] run(::Base.OrCmds; wait::Bool)
    @ Base .\process.jl:479
  [8] run(::Base.OrCmds)
    @ Base .\process.jl:477
  [9] top-level scope
    @ E:\.julia\packages\Taro\7MUCw\deps\build.jl:27
 [10] include(fname::String)
    @ Base.MainInclude .\client.jl:478
 [11] top-level scope
    @ none:5
in expression starting at E:\.julia\packages\Taro\7MUCw\deps\build.jl:17

julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e90 (2023-07-05 09:39 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × Intel(R) Xeon(R) W-10885M CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
  Threads: 8 on 16 virtual cores
Environment:
  JULIA_DEPOT_PATH = E:\.julia
  JULIA_NUM_THREADS = 8
  JULIA_PKG_SERVER = https://mirrors.ustc.edu.cn/julia/

Build error on installation

Here is the console output

julia> Pkg.add("Taro")
INFO: Cloning cache of JavaCall from git://github.com/aviks/JavaCall.jl.git
INFO: Cloning cache of Memoize from git://github.com/simonster/Memoize.jl.git
INFO: Cloning cache of Taro from git://github.com/aviks/Taro.jl.git
INFO: Installing JavaCall v0.1.2
INFO: Installing Memoize v0.0.0
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
================================[ ERROR: Taro ]=================================


could not start process `which curl`: no such file or directory (ENOENT)
at C:\Users\0\.julia\Taro\deps\build.jl:4

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: Taro had build errors.

 - packages with build errors remain installed in C:\Users\0\.julia
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

================================================================================
INFO: 

julia> 
REQUIRE updated.

Typos in README

In the README, in usage, it says Toro, which should really be Taro.

Stuck at Building process

julia1.1
(v1.1) pkg> add Taro
Updating registry at C:\Users\Administrator\.julia\registries\General
┌ Warning: Some registries failed to update:
│ — C:\Users\Administrator\.julia\registries\General — registry dirty
└ @ Pkg.Types C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Types.jl:1269
Resolving package versions...
Installed Taro ─ v0.7.0
Updating C:\Users\Administrator\.julia\environments\v1.1\Project.toml
[61d0e4fa] + Taro v0.7.0
Updating C:\Users\Administrator\.julia\environments\v1.1\Manifest.toml
[61d0e4fa] + Taro v0.7.0
Building Taro → C:\Users\Administrator\.julia\packages\Taro\0trbq\deps\build.log

Converting FO files results in errors

Trying to create PDFs out of FO files just produces a bunch of errors.
Which FOP version is supported?
Tried Taro.fo("fonts.fo","fonts.pdf") and same format on all the attached fo files.
errors I got were:
fonts.fo
WARN The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 38:2) WARN The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 298:1) WARN The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 558:2) WARN The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 818:2) WARN The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 1066:2) WARN The contents of fo:block line 9 exceed the available area in the inline-progression direction by 7000 millipoints. (See position 569:2) WARN Glyph "m" (0x6d, m) not available in font "Symbol". INFO Rendered page #1. INFO Rendered page #2. INFO Rendered page #3. INFO Rendered page #4. INFO Rendered page #5.

region-1.fo
WARN Unknown formatting object "{http://www.antennahouse.com/names/XSL/Extensions}document-info" encountered (a child of fo:root}. (See position 4:85) WARN Unknown formatting object "{http://www.antennahouse.com/names/XSL/Extensions}document-info" encountered (a child of fo:root}. (See position 5:64) ERROR: 'file:/data/notebook_home/PDF%20tests/region-1.fo:8:64: For "fo:simple-page-master", "fo:region-body" must be declared before "fo:region-before"! (See position 8:64)'

fo-files.zip

julia 0.6 error

do you plan on supporting 0.6? currently Taro throws a couple warnings and one error:

julia> Pkg.checkout("Taro")
INFO: Checking out Taro master...
INFO: Pulling Taro latest master...
INFO: No packages to install, update or remove

julia> using Taro
WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] Array(::Type{String}, ::Int64) at ./deprecated.jl:51
 [3] include_from_node1(::String) at ./loading.jl:552
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:552
 [6] eval(::Module, ::Any) at ./boot.jl:235
 [7] _require(::Symbol) at ./loading.jl:466
 [8] require(::Symbol) at ./loading.jl:386
 [9] include_from_node1(::String) at ./loading.jl:552
 [10] eval(::Module, ::Any) at ./boot.jl:235
 [11] _require(::Symbol) at ./loading.jl:466
 [12] require(::Symbol) at ./loading.jl:386
 [13] eval(::Module, ::Any) at ./boot.jl:235
 [14] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 [15] macro expansion at ./REPL.jl:97 [inlined]
 [16] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading /Users/arthurb/.julia/v0.6/JavaCall/src/jvm.jl, in expression starting on line 124
WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] Array(::Type{String}, ::Int64) at ./deprecated.jl:51
 [3] include_from_node1(::String) at ./loading.jl:552
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:552
 [6] eval(::Module, ::Any) at ./boot.jl:235
 [7] _require(::Symbol) at ./loading.jl:466
 [8] require(::Symbol) at ./loading.jl:386
 [9] include_from_node1(::String) at ./loading.jl:552
 [10] eval(::Module, ::Any) at ./boot.jl:235
 [11] _require(::Symbol) at ./loading.jl:466
 [12] require(::Symbol) at ./loading.jl:386
 [13] eval(::Module, ::Any) at ./boot.jl:235
 [14] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 [15] macro expansion at ./REPL.jl:97 [inlined]
 [16] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading /Users/arthurb/.julia/v0.6/JavaCall/src/jvm.jl, in expression starting on line 125
ERROR: LoadError: LoadError: LoadError: invalid return type or argument type in ccall
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:552
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:552
 [4] eval(::Module, ::Any) at ./boot.jl:235
 [5] _require(::Symbol) at ./loading.jl:466
 [6] require(::Symbol) at ./loading.jl:386
 [7] include_from_node1(::String) at ./loading.jl:552
 [8] eval(::Module, ::Any) at ./boot.jl:235
 [9] _require(::Symbol) at ./loading.jl:466
 [10] require(::Symbol) at ./loading.jl:386
while loading /Users/arthurb/.julia/v0.6/JavaCall/src/jvm.jl, in expression starting on line 143
while loading /Users/arthurb/.julia/v0.6/JavaCall/src/JavaCall.jl, in expression starting on line 32
while loading /Users/arthurb/.julia/v0.6/Taro/src/Taro.jl, in expression starting on line 3

can't manage to install correctly, test fail on my computer

I cannot use any of the Taro functions.

Pkg.test("Taro")
INFO: No packages to install, update or remove
ERROR: Taro did not provide a test/runtests.jl file
in error at error.jl:21
in test at pkg/entry.jl:718
in anonymous at pkg/dir.jl:28
in cd at /usr/local/Cellar/julia/0.3.10/lib/julia/sys.dylib
in cd at pkg/dir.jl:28
in test at pkg.jl:67

`readxl` requires write access to the XLSX file. Tests fail on non-dev Taro package

readxl requires write access to the XLSX file.

Jun 21, 2020 11:16:57 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Jun 21, 2020 11:16:57 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: Tesseract OCR is installed and will be automatically applied to image files unless
you've excluded the TesseractOCRParser from the default parser.
Tesseract may dramatically slow down content extraction (TIKA-2359).
As of Tika 1.15 (and prior versions), Tesseract is automatically called.
In future versions of Tika, users may need to turn the TesseractOCRParser on via TikaConfig.
Jun 21, 2020 11:16:57 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
Exception in thread "main" java.io.FileNotFoundException: /home/mkitti/.julia/packages/Taro/1eT1a/test/df-test.xlsx (Permission denied)
	at java.io.RandomAccessFile.open0(Native Method)
	at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
	at org.apache.poi.poifs.nio.FileBackedDataSource.newSrcFile(FileBackedDataSource.java:158)
	at org.apache.poi.poifs.nio.FileBackedDataSource.<init>(FileBackedDataSource.java:60)
	at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:217)
	at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:170)
	at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:300)
	at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:273)
	at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:254)
ERROR: LoadError: JavaCall.JavaCallError("Error calling Java: java.io.FileNotFoundException: /home/mkitti/.julia/packages/Taro/1eT1a/test/df-test.xlsx (Permission denied)")
Stacktrace:
 [1] geterror(::Bool) at /home/mkitti/.julia/dev/JavaCall/src/core.jl:313
 [2] geterror at /home/mkitti/.julia/dev/JavaCall/src/core.jl:298 [inlined]
 [3] _jcall(::JavaMetaClass{Symbol("org.apache.poi.ss.usermodel.WorkbookFactory")}, ::Ptr{Nothing}, ::Ptr{Nothing}, ::Type{T} where T, ::Tuple{DataType}, ::JavaObject{Symbol("java.io.File")}) at /home/mkitti/.julia/dev/JavaCall/src/core.jl:271
 [4] jcall(::Type{JavaObject{Symbol("org.apache.poi.ss.usermodel.WorkbookFactory")}}, ::String, ::Type{T} where T, ::Tuple{DataType}, ::JavaObject{Symbol("java.io.File")}) at /home/mkitti/.julia/dev/JavaCall/src/core.jl:166
 [5] JavaObject{Symbol("org.apache.poi.ss.usermodel.Workbook")}(::String) at /home/mkitti/.julia/packages/Taro/1eT1a/src/hssf.jl:236
 [6] readxl(::String, ::String, ::Int64, ::Int64, ::Int64, ::Int64, ::Taro.ParseOptions{String}) at /home/mkitti/.julia/packages/Taro/1eT1a/src/hssf.jl:133
 [7] readxl(::String, ::String, ::String; header::Bool, nastrings::Array{String,1}, truestrings::Array{String,1}, falsestrings::Array{String,1}, colnames::Array{Symbol,1}, coltypes::Array{Any,1}, skipstart::Int64, skiprows::Array{Int64,1}, skipblanks::Bool) at /home/mkitti/.julia/packages/Taro/1eT1a/src/hssf.jl:118
 [8] readxl(::String, ::String, ::String) at /home/mkitti/.julia/packages/Taro/1eT1a/src/hssf.jl:102
 [9] top-level scope at /home/mkitti/.julia/packages/Taro/1eT1a/test/runtests.jl:19
 [10] include(::String) at ./client.jl:457
 [11] top-level scope at none:6
in expression starting at /home/mkitti/.julia/packages/Taro/1eT1a/test/runtests.jl:19
ERROR: Package Taro errored during testing

Cannot find java library jvm.dll

If I run the following:

using Taro
Taro.init()

The error message is:

ERROR: JavaCall.JavaCallError("Cannot find java library jvm.dll\...

My Julia is:

Julia Version 1.8.5
Commit 17cfb8e65e (2023-01-08 06:45 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 8 × Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_SSL_CA_ROOTS_PATH =
  JULIA_EDITOR = code
  JULIA_NUM_THREADS =

The full message is:

ERROR: JavaCall.JavaCallError("Cannot find java library jvm.dll\nSearch Path:\n   C:\\data\\git_repos\\hycenta_stefan_pofahl\n   C:\\bin\\winjulia\\bin\\server\n   C:\\bin\\winjulia\\jre\\bin\\server\n   C:\\bin\\winjulia\\bin\\client\n   C:\\bin\\winjulia\\jre\\lib\\server\n   C:\\bin\\winjulia\\lib\\server")
Stacktrace:
 [1] findjvm()
   @ JavaCall C:\Users\stefanpofahl\.julia\packages\JavaCall\MlduK\src\jvm.jl:108
 [2] _init(opts::Vector{String})
   @ JavaCall C:\Users\stefanpofahl\.julia\packages\JavaCall\MlduK\src\jvm.jl:286
 [3] init()
   @ JavaCall C:\Users\stefanpofahl\.julia\packages\JavaCall\MlduK\src\jvm.jl:277
 [4] init(opts::Vector{String})
   @ JavaCall C:\Users\stefanpofahl\.julia\packages\JavaCall\MlduK\src\jvm.jl:263
 [5] top-level scope
   @ c:\data\git_repos\hycenta_stefan_pofahl\julia_scripts\examples\data_import\XLSX\example_using_Taro_to_read_XLSX.jl:11

Any suggestion how to fix this?

Deprecation warnings

Getting a bunch of deprecation warnings on Taro.jl and JavaCall.jl:

WARNING: deprecated syntax "error (" at /Users/viral/.julia/v0.4/Taro/src/Taro.jl:152.
Use "error(" instead.

WARNING: deprecated syntax "{}" at /Users/viral/.julia/v0.4/Memoize/src/Memoize.jl:24.
Use "[]" instead.
Loaded /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/server/libjvm.dylib
WARNING: Base.Uint8 is deprecated, use UInt8 instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:72
WARNING: Base.Uint8 is deprecated, use UInt8 instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:72
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:87
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:88
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:89
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:90
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/jvm.jl:100
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in require at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in require at /Users/viral/Desktop/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
while loading /Users/viral/.julia/v0.4/JavaCall/src/core.jl, in expression starting on line 17
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/core.jl:59
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/core.jl:101
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/core.jl:117

WARNING: deprecated syntax "error (" at /Users/viral/.julia/v0.4/JavaCall/src/core.jl:194.
Use "error(" instead.
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/convert.jl:1
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/convert.jl:2
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/convert.jl:115
in anonymous at /Users/viral/.julia/v0.4/JavaCall/src/core.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/convert.jl:115
in anonymous at /Users/viral/.julia/v0.4/JavaCall/src/core.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/convert.jl:115
in anonymous at /Users/viral/.julia/v0.4/JavaCall/src/core.jl:81
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/reflect.jl:6
WARNING: Base.String is deprecated, use AbstractString instead.
  likely near /Users/viral/.julia/v0.4/JavaCall/src/reflect.jl:46

Taro.extract does not read more than 100,000 characters

Hi,
I am using the Taro.extract function to read PDF files. The extract function returns metadata and text but the text cannot be more than 100,000 character-long. Is there a way to circumvent this limitation (e.g., add an optional parameter to the extract function)?

Check out ExcelReaders

Just a note, I created another package that reads Excel files https://github.com/davidanthoff/ExcelReaders.jl. The main difference is that it uses the python xlrd package under the hood.

My main motivation is that getting Taro (or more JavaCall) working on Windows was really quite tricky and I needed something that required less user config steps. The python interface on julia seems really stable, so I had less problems that way. Also, I got the whole thing working in no time on juliabox, another thing that was important for my use-case.

I borrowed some code from here (not much, really just the range to cell conversion etc.), please let me know if you want me to ack that somehow in the new package.

Also, probably best to have both packages co-exist for a while?

how to set JULIA_COPY_STACKS=1 in jupyter?

When runing in jupyter the code below,

using Taro
Taro.init()
Taro.readxl("result.xls")

Erro occurs.

using Taro

Taro.init()

Taro.readxl("result.xls")

┌ Warning: JavaCall needs the environment variable `JULIA_COPY_STACKS` to be `1` or `yes`.
│ Calling the JVM may result in undefined behavior.
└ @ JavaCall /home/wangxl/.julia/packages/JavaCall/tjlYt/src/JavaCall.jl:53

JavaCall.JavaCallError("Either the environmental variable JULIA_COPY_STACKS must be 1 OR JavaCall must be used on the root Task.")

Stacktrace:
 [1] assertroottask_or_goodenv
   @ ~/.julia/packages/JavaCall/tjlYt/src/jvm.jl:236 [inlined]
 [2] _init(opts::Vector{String})
   @ JavaCall ~/.julia/packages/JavaCall/tjlYt/src/jvm.jl:285
 [3] init()
   @ JavaCall ~/.julia/packages/JavaCall/tjlYt/src/jvm.jl:277
 [4] init()
   @ Taro ~/.julia/packages/Taro/7MUCw/src/Taro.jl:21
 [5] top-level scope
   @ In[1]:2
 [6] eval
   @ ./boot.jl:373 [inlined]
 [7] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
   @ Base ./loading.jl:1196

readxl incorrect where column names are numbers and column type is number

Data: http://www.pjm.com/pub/operations/hist-meter-load/1994-hourly-loads.xls

df1994 = readxl("/Users/randyzwitch/Downloads/1994-hourly-loads.xls", "A1:Z5111")
showcols(df1994)

Exception in thread "main" java.lang.IllegalStateException: Cannot get a text value from a numeric cell
	at org.apache.poi.hssf.usermodel.HSSFCell.typeMismatch(HSSFCell.java:648)
	at org.apache.poi.hssf.usermodel.HSSFCell.getRichStringCellValue(HSSFCell.java:725)
	at org.apache.poi.hssf.usermodel.HSSFCell.getStringCellValue(HSSFCell.java:708)
WARNING: Tried to read column headers, but failed. Set 'headers=false' if you do not have headers

In this case, Taro falls back to keeping the first row and putting it into the dataframe, but the result is incorrect. In this case, maybe there is a way to use !names() with the first row of the dataframe that does come back, to get the correct result instead of throwing a warning

"using Taro" returns java error

Hi, tried using Taro but got the following error when I type "using Taro"

ERROR: Cannot find java library in: {"","/usr/lib/jvm/default-java/jre/lib/amd64/server","/usr/lib/jvm/default-java/jre/lib/server"}To override the search, set the JAVA_LIB environment variable to the directory containing libjvm.so
in error at error.jl:21
in findjvm at /home/user/.julia/v0.3/JavaCall/src/JavaCall.jl:85
in include at ./boot.jl:245
in include_from_node1 at ./loading.jl:128
in reload_path at loading.jl:152
in _require at loading.jl:67
in require at loading.jl:54
in include at ./boot.jl:245
in include_from_node1 at ./loading.jl:128
in reload_path at loading.jl:152
in _require at loading.jl:67
in require at loading.jl:51
while loading /home/user/.julia/v0.3/JavaCall/src/JavaCall.jl, in expression starting on line 88
while loading /home/user/.julia/v0.3/Taro/src/Taro.jl, in expression starting on line 3

I don't seem to have a "default-java" directory. I have a pretty standard Ubuntu 14.04 LTS installation.
Any ideas? Thanks!

[PkgEval] Taro may have a testing issue on Julia 0.3 (2014-07-14)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.2) and the nightly build of the unstable version (0.3). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2014-07-12 the testing status was Tests pass.
  • On 2014-07-14 the testing status changed to Package doesn't load.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Package doesn't load. means that PackageEvaluator did not find tests for your package. Additionally, trying to load your package with using failed.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

INFO: Installing ArrayViews v0.4.6
INFO: Installing DataArrays v0.1.12
INFO: Installing DataFrames v0.5.6
INFO: Installing GZip v0.2.13
INFO: Installing JavaCall v0.2.0
INFO: Installing Memoize v0.0.0
INFO: Installing Reexport v0.0.1
INFO: Installing SortingAlgorithms v0.0.1
INFO: Installing StatsBase v0.5.3
INFO: Installing Taro v0.1.1
INFO: Building Taro
INFO:     Downloading tika-app-1.4.jar from Maven Central
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 27.0M    0  151k    0     0   320k      0  0:01:26 --:--:--  0:01:26  320k
 18 27.0M   18 5189k    0     0  3521k      0  0:00:07  0:00:01  0:00:06 3520k
100 27.0M  100 27.0M    0     0  13.1M      0  0:00:02  0:00:02 --:--:-- 13.1M
INFO: Package database updated
Warning: could not import Sort.sortby into DataFrames
Warning: could not import Sort.sortby! into DataFrames
ERROR: repl_show not defined
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:54
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:51
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/idunning/pkgtest/.julia/v0.3/DataFrames/src/dataframe/reshape.jl, in expression starting on line 163
while loading /home/idunning/pkgtest/.julia/v0.3/DataFrames/src/DataFrames.jl, in expression starting on line 110
while loading /home/idunning/pkgtest/.julia/v0.3/Taro/src/Taro.jl, in expression starting on line 4
while loading /home/idunning/pkgtest/.julia/v0.3/Taro/testusing.jl, in expression starting on line 1
INFO: Package database updated

Note this is possibly due to removal of deprecated functions in Julia 0.3-rc1: JuliaLang/julia#7609

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.