Closed Ronneesley closed 1 year ago
Hi,
I tried open the file:
https://seer.ufrgs.br/index.php/rita/article/view/RITA-VOL23-NR2-33/39354
My code was only:
julia> arquivo = "path/63581-Article Text-288970-1-10-20161203.pdf" julia> using PDFIO julia> f = pdDocOpen(arquivo)
The module returned the error:
ArgumentError: extra characters after whitespace in "4970\n396" Stacktrace: [1] tryparse_internal(#unused#::Type{Int64}, s::String, startpos::Int64, endpos::Int64, base_::Int64, raise::Bool) @ Base ./parse.jl:172 [2] parse(::Type{Int64}, s::String; base::Nothing) @ Base ./parse.jl:241 [3] parse @ ./parse.jl:240 [inlined] [4] read_object_info_from_stm(stm::CosStream, oids::Vector{Int64}, oloc::Vector{Int64}, n::Int64, first::Int64) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosObjStream.jl:93 [5] PDFIO.Cos.CosObjectStream(s::CosStream) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosObject.jl:311 [6] createObjectStreams @ ~/.julia/packages/PDFIO/Fv2i0/src/CosObjStream.jl:22 [inlined] [7] postprocess_indirect_object(ps::IOStream, hoffset::Int64, obj::CosDict, xref::Dict{CosIndirectObjectRef, PDFIO.Cos.CosObjectLoc}) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosReader.jl:328 [8] parse_indirect_obj(ps::IOStream, hoffset::Int64, xref::Dict{CosIndirectObjectRef, PDFIO.Cos.CosObjectLoc}) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosReader.jl:348 [9] cosDocGetObject(doc::PDFIO.Cos.CosDocImpl, stm::PDFIO.Cos.CosNullType, ref::CosIndirectObjectRef, locObj::PDFIO.Cos.CosObjectLoc) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosDoc.jl:198 [10] cosDocGetObject(doc::PDFIO.Cos.CosDocImpl, ref::CosIndirectObjectRef) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosDoc.jl:191 [11] cosDocGetObject(doc::PDFIO.Cos.CosDocImpl, stmref::CosIndirectObjectRef, ref::CosIndirectObjectRef, locObj::PDFIO.Cos.CosObjectLoc) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosDoc.jl:206 [12] cosDocGetObject(doc::PDFIO.Cos.CosDocImpl, ref::CosIndirectObjectRef) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosDoc.jl:191 [13] cosDocGetRoot(doc::PDFIO.Cos.CosDocImpl) @ PDFIO.Cos ~/.julia/packages/PDFIO/Fv2i0/src/CosDoc.jl:175 [14] PDFIO.PD.PDDocImpl(fp::String) @ PDFIO.PD ~/.julia/packages/PDFIO/Fv2i0/src/PDDocImpl.jl:15 [15] pdDocOpen(filepath::String) @ PDFIO.PD ~/.julia/packages/PDFIO/Fv2i0/src/PDDoc.jl:34 [16] top-level scope @ In[3]:1```
Hi! I did update on my Julia's package after the add PDFIO and the problem was solved.
I don't know why but the add command didn't get the last version.
Hi,
I tried open the file:
https://seer.ufrgs.br/index.php/rita/article/view/RITA-VOL23-NR2-33/39354
My code was only:
The module returned the error: