Skip to content

Getting an invalid date error when extracting metadata for certain files #2

@swaathi

Description

@swaathi

Here is the log:

2015-02-06T09:56:30.100Z 92320 TID-oxbi4ru1w WARN: invalid date 2015-02-06T09:56:30.101Z 92320 TID-oxbi4ru1w WARN: /Users/karthik/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/exiftool-0.6.0/lib/exiftool/field_parser.rb:33:in civil'
/Users/karthik/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/exiftool-0.6.0/lib/exiftool/field_parser.rb:33:in civil_date'

And here's the code:

def filemeta(myfile)
return Exiftool.new(oldpath(myfile)).to_hash
end

I thought this was an EXIFtool error so I tried extracting the metadata using the exiftool system command, and it worked. I wonder where this issue is! Tried Googling for it, and nothing turned up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions