Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zlib1 error in Windows #110

Closed
islent opened this issue Jul 15, 2023 · 3 comments
Closed

zlib1 error in Windows #110

islent opened this issue Jul 15, 2023 · 3 comments

Comments

@islent
Copy link

islent commented Jul 15, 2023

julia> pdDocOpen("test.pdf")
ERROR: could not load library "zlib1"
%1 is not a valid Win32 application.
Stacktrace:
  [1] _zlibVersion
    @ E:\.julia\packages\PDFIO\Fv2i0\src\Inflate.jl:54 [inlined]
  [2] _inflateInit
    @ E:\.julia\packages\PDFIO\Fv2i0\src\Inflate.jl:56 [inlined]
  [3] inflate(io::IOStream)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\Inflate.jl:72
  [4] decode_flate(input::IOStream, parms::PDFIO.Cos.CosNullType)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosStream.jl:24
  [5] decode_filter(io::IOStream, filter::CosName, parms::PDFIO.Cos.CosNullType)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosStream.jl:82
  [6] decode(stm::PDFIO.Cos.CosIndirectObject{CosStream})
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosStream.jl:77
  [7] cosStreamRemoveFilters(stm::PDFIO.Cos.CosIndirectObject{CosStream})
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosStream.jl:57
  [8] read_xref_stream(xrefstm::PDFIO.Cos.CosIndirectObject{CosStream}, xref::Dict{CosIndirectObjectRef, PDFIO.Cos.CosObjectLoc})
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosObjStream.jl:45
  [9] read_xref_stream(xrefstm::PDFIO.Cos.CosIndirectObject{CosStream}, doc::PDFIO.Cos.CosDocImpl)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosDoc.jl:397
 [10] read_xref_streams(ps::IOStream, doc::PDFIO.Cos.CosDocImpl)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosDoc.jl:360
 [11] doc_trailer_update(ps::IOStream, doc::PDFIO.Cos.CosDocImpl)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosDoc.jl:323
 [12] cosDocOpen(fp::String)
    @ PDFIO.Cos E:\.julia\packages\PDFIO\Fv2i0\src\CosDoc.jl:110
 [13] PDFIO.PD.PDDocImpl(fp::String)
    @ PDFIO.PD E:\.julia\packages\PDFIO\Fv2i0\src\PDDocImpl.jl:14
 [14] pdDocOpen(filepath::String)
    @ PDFIO.PD E:\.julia\packages\PDFIO\Fv2i0\src\PDDoc.jl:34
 [15] top-level scope
    @ REPL[8]:1
@sambitdash
Copy link
Owner

On review of the error message, I guess there are some installation issues in Julia packages. Here are the steps:

  1. Create a new directory.
  2. c:\new_dir> julia
  3. julia> ]activate .
  4. add PDFIO
  5. test PDFIO

You should see something like this.

...
Test Summary: | Pass  Total
PDFIO tests   |  124    124
Removing Arial.afm from C:\Users\sambi\.julia\packages\PDFIO\V4YuN\test\..\data\fonts
     Testing PDFIO tests passed

If you see the tests fail, my assumption will be your installation has some issues that need attention.

@islent
Copy link
Author

islent commented Jul 15, 2023

Thanks for reply. My fresh installation PDFIO seems not failing due to zlib1. It now works on reading a pdf file.

However there's error on testing the package (not related to this issue I guess). Here's my full running log:

(@v1.9) pkg> activate TestPDFIO
  Activating new project at `C:\Users\leois\TestPDFIO`

(TestPDFIO) pkg> add PDFIO
   Resolving package versions...
   Installed URIParser ─ v0.4.1
   Installed BinDeps ─── v1.0.2
   Installed PDFIO ───── v0.1.14
    Updating `C:\Users\leois\TestPDFIO\Project.toml`
  [4d0d745f] + PDFIO v0.1.14
    Updating `C:\Users\leois\TestPDFIO\Manifest.toml`
⌅ [1520ce14] + AbstractTrees v0.3.4
  [715cd884] + AdobeGlyphList v0.1.2
  [9e28174c] + BinDeps v1.0.2
  [8bb1440f] + DelimitedFiles v1.9.1
  [18e54dd8] + IntegerMathUtils v0.1.2
  [692b3bcd] + JLLWrappers v1.4.1
  [2e475f56] + LabelNumerals v0.1.1
  [4d0d745f] + PDFIO v0.1.14
  [21216c6a] + Preferences v1.4.0
  [27ebfcd6] + Primes v0.5.4
  [9a9db56c] + Rectangle v0.1.3
  [37834d88] + RomanNumerals v0.3.3
  [30578b45] + URIParser v0.4.1
⌅ [458c3c95] + OpenSSL_jll v1.1.21+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.2
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [4536629a] + OpenBLAS_jll v0.3.21+4
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850b90] + libblastrampoline_jll v5.8.0+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
    Building PDFIO  `E:\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\0c676de71d61a22bcc6b371c3e14e8702097ce91\build.log`
Precompiling project...
  4 dependencies successfully precompiled in 8 seconds. 14 already precompiled.

(TestPDFIO) pkg> test PDFIO
     Testing PDFIO
      Status `C:\Users\leois\AppData\Local\Temp\jl_53Ad9j\Project.toml`
⌅ [1520ce14] AbstractTrees v0.3.4
  [715cd884] AdobeGlyphList v0.1.2
  [9e28174c] BinDeps v1.0.2
  [8bb1440f] DelimitedFiles v1.9.1
  [2e475f56] LabelNumerals v0.1.1
  [4d0d745f] PDFIO v0.1.14
  [9a9db56c] Rectangle v0.1.3
  [37834d88] RomanNumerals v0.3.3
  [a5390f91] ZipFile v0.10.1
⌅ [458c3c95] OpenSSL_jll v1.1.21+0
  [ade2ca70] Dates `@stdlib/Dates`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [44cfe95a] Pkg v1.9.2 `@stdlib/Pkg`
  [de0858da] Printf `@stdlib/Printf`
  [8dfed614] Test `@stdlib/Test`
  [83775a58] Zlib_jll v1.2.13+0 `@stdlib/Zlib_jll`
      Status `C:\Users\leois\AppData\Local\Temp\jl_53Ad9j\Manifest.toml`
⌅ [1520ce14] AbstractTrees v0.3.4
  [715cd884] AdobeGlyphList v0.1.2
  [9e28174c] BinDeps v1.0.2
  [8bb1440f] DelimitedFiles v1.9.1
  [18e54dd8] IntegerMathUtils v0.1.2
  [692b3bcd] JLLWrappers v1.4.1
  [2e475f56] LabelNumerals v0.1.1
  [4d0d745f] PDFIO v0.1.14
  [21216c6a] Preferences v1.4.0
  [27ebfcd6] Primes v0.5.4
  [9a9db56c] Rectangle v0.1.3
  [37834d88] RomanNumerals v0.3.3
  [30578b45] URIParser v0.4.1
  [a5390f91] ZipFile v0.10.1
⌅ [458c3c95] OpenSSL_jll v1.1.21+0
  [0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
  [7b1f6079] FileWatching `@stdlib/FileWatching`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
  [76f85450] LibGit2 `@stdlib/LibGit2`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [a63ad114] Mmap `@stdlib/Mmap`
  [ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
  [44cfe95a] Pkg v1.9.2 `@stdlib/Pkg`
  [de0858da] Printf `@stdlib/Printf`
  [3fa0cd96] REPL `@stdlib/REPL`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [fa267f1f] TOML v1.0.3 `@stdlib/TOML`
  [a4e569a6] Tar v1.10.0 `@stdlib/Tar`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
  [4ec0a83e] Unicode `@stdlib/Unicode`
  [e66e0078] CompilerSupportLibraries_jll v1.0.5+0 `@stdlib/CompilerSupportLibraries_jll`
  [deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
  [29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
  [c8ffd9c3] MbedTLS_jll v2.28.2+0 `@stdlib/MbedTLS_jll`
  [14a3606d] MozillaCACerts_jll v2022.10.11 `@stdlib/MozillaCACerts_jll`
  [4536629a] OpenBLAS_jll v0.3.21+4 `@stdlib/OpenBLAS_jll`
  [83775a58] Zlib_jll v1.2.13+0 `@stdlib/Zlib_jll`
  [8e850b90] libblastrampoline_jll v5.8.0+0 `@stdlib/libblastrampoline_jll`
  [8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
  [3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading.
Precompiling project...
  19 dependencies successfully precompiled in 10 seconds
     Testing Running tests...
┌ Warning: Base.download is deprecated; use Downloads.download instead
│   caller = top-level scope at runtests.jl:25
└ @ Core E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:25
Filename: PDFTest-0.0.9/
Filename: PDFTest-0.0.9/DigSig/
Filename: PDFTest-0.0.9/DigSig/PAdES_SmartID.pdf
Filename: PDFTest-0.0.9/DigSig/blank_signed.pdf
Filename: PDFTest-0.0.9/DigSig/pades_example-1.pdf
Filename: PDFTest-0.0.9/DigSig/pdf-signer-tool-guide.pdf
Filename: PDFTest-0.0.9/DigSig/sample01.pdf
Filename: PDFTest-0.0.9/DigSig/sample02.pdf
Filename: PDFTest-0.0.9/DigSig/sample03.pdf
Filename: PDFTest-0.0.9/DigSig/sample04.pdf
Filename: PDFTest-0.0.9/DigSig/sample05.pdf
Filename: PDFTest-0.0.9/DigSig/sample06.pdf
Filename: PDFTest-0.0.9/DigSig/sample07.pdf
Filename: PDFTest-0.0.9/DigSig/sample08.pdf
Filename: PDFTest-0.0.9/DigSig/samplecertifiedpdf.pdf
Filename: PDFTest-0.0.9/DigSig/sbid_3rd_party_sign_pades.pdf
Filename: PDFTest-0.0.9/DigSig/sbid_authbased_signflow_pades.pdf
Filename: PDFTest-0.0.9/README.md
Filename: PDFTest-0.0.9/certs/
Filename: PDFTest-0.0.9/certs/CA.crt
Filename: PDFTest-0.0.9/certs/doc-crypt.crt
Filename: PDFTest-0.0.9/certs/doc-crypt.p12
Filename: PDFTest-0.0.9/content-commands.pdf
Filename: PDFTest-0.0.9/encrypt/
Filename: PDFTest-0.0.9/encrypt/dt-256-aes.pdf
Filename: PDFTest-0.0.9/encrypt/dt-all-aes-128.pdf
Filename: PDFTest-0.0.9/encrypt/dt-att-protected.pdf
Filename: PDFTest-0.0.9/encrypt/dt-cert-all.pdf
Filename: PDFTest-0.0.9/encrypt/dt-embed-protected-cert.pdf
Filename: PDFTest-0.0.9/encrypt/dt-embed-protected.pdf
Filename: PDFTest-0.0.9/encrypt/dt-nopass.pdf
Filename: PDFTest-0.0.9/encrypt/dt-own-pass-same.pdf
Filename: PDFTest-0.0.9/encrypt/dt-protected.pdf
Filename: PDFTest-0.0.9/encrypt/dt-rc-4-all.pdf
Filename: PDFTest-0.0.9/encrypt/dt.pdf
Filename: PDFTest-0.0.9/encrypt/pdf-example-encryption.pdf
Filename: PDFTest-0.0.9/encrypt/pdf-example-password.pdf
Filename: PDFTest-0.0.9/encrypt/samplesecured_256bitaes.pdf
Filename: PDFTest-0.0.9/encrypt/upw-password-opw-sample.pdf
Filename: PDFTest-0.0.9/files/
Filename: PDFTest-0.0.9/files/00007.pdf
Filename: PDFTest-0.0.9/files/1.pdf
Filename: PDFTest-0.0.9/files/16-969_o7jp.pdf
Filename: PDFTest-0.0.9/files/16.cmap
Filename: PDFTest-0.0.9/files/1_noinfo.pdf
Filename: PDFTest-0.0.9/files/8.cmap
Filename: PDFTest-0.0.9/files/A1947-14.pdf
Filename: PDFTest-0.0.9/files/A1947-15.pdf
Filename: PDFTest-0.0.9/files/Apr2000.pdf
Filename: PDFTest-0.0.9/files/Graphics-wpf.pdf
Filename: PDFTest-0.0.9/files/Pratham-Sanskaran.pdf
Filename: PDFTest-0.0.9/files/empty_property.pdf
Filename: PDFTest-0.0.9/files/fileAttachment.pdf
Filename: PDFTest-0.0.9/files/fileAttachment_fileAttachmentAnnotation.pdf
Filename: PDFTest-0.0.9/files/outline.pdf
Filename: PDFTest-0.0.9/files/page5.txt
Filename: PDFTest-0.0.9/files/pdf-17.pdf
Filename: PDFTest-0.0.9/files/pdf-example-bookmarks.pdf
Filename: PDFTest-0.0.9/files/pdf-sample.pdf
Filename: PDFTest-0.0.9/files/sample-google-doc.pdf
Filename: PDFTest-0.0.9/files/spec-2.pdf
Filename: PDFTest-0.0.9/files/spec-2c.pdf
Filename: PDFTest-0.0.9/fonts/
Filename: PDFTest-0.0.9/fonts/Arial.afm
Filename: PDFTest-0.0.9/source/
Filename: PDFTest-0.0.9/source/dt.odt
Filename: PDFTest-0.0.9/source/outline.tex
Filename: PDFTest-0.0.9/stillhq/
Filename: PDFTest-0.0.9/stillhq/3.pdf
Filename: PDFTest-0.0.9/stillhq/325.pdf
Filename: PDFTest-0.0.9/stillhq/339.pdf
Filename: PDFTest-0.0.9/stillhq/388.pdf
Filename: PDFTest-0.0.9/stillhq/431.pdf
Filename: PDFTest-0.0.9/stillhq/504.pdf
Filename: PDFTest-0.0.9/stillhq/582.pdf
Filename: PDFTest-0.0.9/stillhq/589.pdf
Filename: PDFTest-0.0.9/templates/
Filename: PDFTest-0.0.9/templates/00007.txt
Filename: PDFTest-0.0.9/templates/16-969_o7jp.txt
Filename: PDFTest-0.0.9/templates/431.toc
Filename: PDFTest-0.0.9/templates/431.txt
Filename: PDFTest-0.0.9/templates/A1947-15.txt
Filename: PDFTest-0.0.9/templates/Graphics-wpf.txt
Filename: PDFTest-0.0.9/templates/Pratham-Sanskaran.txt
Filename: PDFTest-0.0.9/templates/dt-256-aes.txt
Filename: PDFTest-0.0.9/templates/dt-all-aes-128.txt
Filename: PDFTest-0.0.9/templates/dt-cert-all.txt
Filename: PDFTest-0.0.9/templates/dt-embed-protected-cert.txt
Filename: PDFTest-0.0.9/templates/dt-embed-protected.txt
Filename: PDFTest-0.0.9/templates/dt-nopass.txt
Filename: PDFTest-0.0.9/templates/dt-own-pass-same.txt
Filename: PDFTest-0.0.9/templates/dt-protected.txt
Filename: PDFTest-0.0.9/templates/dt-rc-4-all.txt
Filename: PDFTest-0.0.9/templates/dt.txt
Filename: PDFTest-0.0.9/templates/outline.toc
Filename: PDFTest-0.0.9/templates/page5.txt
Filename: PDFTest-0.0.9/templates/pdf-example-encryption.txt
Filename: PDFTest-0.0.9/templates/pdf-example-password.txt
Filename: PDFTest-0.0.9/templates/sample-google-doc.txt
Filename: PDFTest-0.0.9/templates/samplesecured_256bitaes.txt
Filename: PDFTest-0.0.9/templates/spec-2.txt
Filename: PDFTest-0.0.9/templates/spec-2c.txt
Filename: PDFTest-0.0.9/templates/upw-password-opw-sample.txt
Copying Arial.afm to E:\.julia\packages\PDFIO\V4YuN\test\..\data\fonts
┌ Warning: Embedded file streams without Crypt filters may not decrypt
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\StdSecHandler.jl:357
┌ Warning: Embedded file streams without Crypt filters may not decrypt
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\PKISecHandler.jl:62
[ Info: Begin testing corrupt flate
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
┌ Warning: invalid or incomplete inflate data
└ @ PDFIO.Cos E:\.julia\packages\PDFIO\V4YuN\src\Inflate.jl:93
[ Info: End testing corrupt flate
Non-standard CMap: Test Failed at E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:416
  Expression: files_equal(resfile, template)

Stacktrace:
 [1] macro expansion
   @ E:\julia-1.9.2\share\julia\stdlib\v1.9\Test\src\Test.jl:478 [inlined]
 [2] macro expansion
   @ E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:404 [inlined]
 [3] macro expansion
   @ E:\julia-1.9.2\share\julia\stdlib\v1.9\Test\src\Test.jl:1498 [inlined]
 [4] macro expansion
   @ E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:404 [inlined]
 [5] macro expansion
   @ E:\julia-1.9.2\share\julia\stdlib\v1.9\Test\src\Test.jl:1498 [inlined]
 [6] top-level scope
   @ E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:61
Inline Image test: Test Failed at E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:689
  Expression: files_equal(result, template_file)

Stacktrace:
 [1] macro expansion
   @ E:\julia-1.9.2\share\julia\stdlib\v1.9\Test\src\Test.jl:478 [inlined]
 [2] macro expansion
   @ E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:673 [inlined]
 [3] macro expansion
   @ E:\julia-1.9.2\share\julia\stdlib\v1.9\Test\src\Test.jl:1498 [inlined]
 [4] macro expansion
   @ E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:673 [inlined]
 [5] macro expansion
   @ E:\julia-1.9.2\share\julia\stdlib\v1.9\Test\src\Test.jl:1498 [inlined]
 [6] top-level scope
   @ E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:61
Test Summary:                   | Pass  Fail  Total   Time
PDFIO tests                     |  122     2    124  27.2s
  Miscellaneous                 |    8            8   0.9s
  CDDate                        |   14           14   0.8s
  Crypto APIs                   |   66           66  16.6s
  Test FlateDecode              |    3            3   0.9s
  Document without Info         |    1            1   0.0s
  Document with empty property  |    1            1   0.1s
  PDF File with ObjectStreams   |    1            1   0.3s
  General File Opening 3        |    1            1   0.0s
  Hybrid x-ref                  |    2            2   0.2s
  Floating point CIDWidth       |    2            2   0.1s
  Non-standard CMap             |    1     1      2   2.1s
  Corrupt File                  |    1            1   1.0s
  Test RunLengthDecode          |    1            1   0.0s
  Test ASCIIHexDecode           |    1            1   0.0s
  Test ASCII85Decode            |    2            2   0.1s
  LZWDecode Filter              |    2            2   0.2s
  Content Array                 |    1            1   0.0s
  Test read_string              |    1            1   0.0s
  Page label test with outlines |    3            3   1.1s
  Outlines                      |    1            1   0.6s
  Symbol Fonts test             |    1            1   0.7s
  Font Flags test               |    1            1   0.5s
  Forms XObjects Test           |    2            2   0.3s
  Inline Image test             |    1     1      2   0.3s
  MacRomanEncoding Fonts test   |    1            1   0.0s
  Text before header test       |    1            1   0.0s
  Attachment PDF                |    2            2   0.1s
ERROR: LoadError: Some tests did not pass: 122 passed, 2 failed, 0 errored, 0 broken.
in expression starting at E:\.julia\packages\PDFIO\V4YuN\test\runtests.jl:60
ERROR: Package PDFIO errored during testing

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/

@sambitdash
Copy link
Owner

sambitdash commented Jul 15, 2023

Hmm... seems like some compat issues with 1.9. Will test and see. Thanks for reporting.

@islent islent closed this as completed Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants