You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am receiving this error:
Error: An error has occurred while parsing an indirect object!!
The error log:
, in parse
ret = body.updateObjects()
peepdf2/PDFCore.py", line 4283, in updateObjects
object.resolveReferences()
File "PDFCore.py", line 3243, in resolveReferences
ret = PDFParser.readObject(objectsSection[offset:])
TypeError: slice indices must be integers or None or have an index method
Traceback (most recent call last):
File "peepdf.py", line 494, in
ret, pdf = pdfParser.parse(fileName, options.isForceMode, options.isLooseMode, options.isManualAnalysis)
File "PDFCore.py", line 7064, in parse
ret = body.updateObjects()
File "PDFCore.py", line 4283, in updateObjects
object.resolveReferences()
File "PDFCore.py", line 3243, in resolveReferences
ret = PDFParser.readObject(objectsSection[offset:])
TypeError: slice indices must be integers or None or have an index method
This is the numbers array:
<type 'list'>: ['14', '0', '15', '165', '17', '332']
If i change it to int I get:
PDFParser.readObject(objectsSection[offset:])
{TypeError}unbound method readObject() must be called with PDFParser instance as first argument (got str instance instead)
The text was updated successfully, but these errors were encountered:
I am receiving this error:
Error: An error has occurred while parsing an indirect object!!
The error log:
, in parse
peepdf2/PDFCore.py", line 4283, in updateObjects
File "PDFCore.py", line 3243, in resolveReferences
TypeError: slice indices must be integers or None or have an index method
Traceback (most recent call last):
File "peepdf.py", line 494, in
File "PDFCore.py", line 7064, in parse
File "PDFCore.py", line 4283, in updateObjects
File "PDFCore.py", line 3243, in resolveReferences
TypeError: slice indices must be integers or None or have an index method
This is the numbers array:
<type 'list'>: ['14', '0', '15', '165', '17', '332']
If i change it to int I get:
PDFParser.readObject(objectsSection[offset:])
{TypeError}unbound method readObject() must be called with PDFParser instance as first argument (got str instance instead)
The text was updated successfully, but these errors were encountered: