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

Error when converting timestamps in OLE metadata #12

Closed
decalage2 opened this issue May 23, 2013 · 1 comment
Closed

Error when converting timestamps in OLE metadata #12

decalage2 opened this issue May 23, 2013 · 1 comment

Comments

@decalage2
Copy link
Owner

Originally reported by: Philippe Lagadec (Bitbucket: decalage, GitHub: decalage2)


Bug reported by David Nides:

I keep running accross this error:

#!

Traceback (most recent call last):
  File "build\bdist.win32\egg\plaso\lib\worker.py", line 188, in ParseFile
    for evt in parsing_object.Parse(filehandle):
  File "build\bdist.win32\egg\plaso\parsers\office2003.py", line 58, in Parse
    metadata = loader.get_metadata()
  File "C:\Python27\lib\site-packages\OleFileIO_PL.py", line 1711, in get_metada
ta
    self.metadata.parse_properties(self)
  File "C:\Python27\lib\site-packages\OleFileIO_PL.py", line 507, in parse_prope
rties
    convert_time=True)
  File "C:\Python27\lib\site-packages\OleFileIO_PL.py", line 1680, in getpropert
ies
    value = _FILETIME_null_date + datetime.timedelta(microseconds=value/10)
OverflowError: date value out of range

I suspect this error is raised when attempting to convert one of the standard props (editing time) which is actually a duration and not a proper date/time.


@decalage2
Copy link
Owner Author

Original comment by Philippe Lagadec (Bitbucket: decalage, GitHub: decalage2):


fix #12
updated readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant