TypeError when searching for metadata #508

Closed
opened 2025-10-14 17:36:32 -06:00 by navan · 0 comments
Owner

Originally created by @Cornul11 on 10/2/2020

When searching for metadata, I got the following error:

Searching metadata...
[+] 1 device found !
Traceback (most recent call last):
File "hunt.py", line 114, in
gpics(gaiaID, client, cfg)
File "/home/dan/GHunt/lib/photos.py", line 42, in gpics
exifeater.output()
File "/home/dan/GHunt/lib/metadata.py", line 114, in output
dates = print_dates(data["History"]["Valid"])
File "/home/dan/GHunt/lib/metadata.py", line 94, in print_dates
dates["max"] = max(dates_list).strftime("%Y/%m/%d")
TypeError: '>' not supported between instances of 'NoneType' and 'datetime.datetime'

*Originally created by @Cornul11 on 10/2/2020* When searching for metadata, I got the following error: > Searching metadata... [+] 1 device found ! Traceback (most recent call last): File "hunt.py", line 114, in <module> gpics(gaiaID, client, cfg) File "/home/dan/GHunt/lib/photos.py", line 42, in gpics exifeater.output() File "/home/dan/GHunt/lib/metadata.py", line 114, in output dates = print_dates(data["History"]["Valid"]) File "/home/dan/GHunt/lib/metadata.py", line 94, in print_dates dates["max"] = max(dates_list).strftime("%Y/%m/%d") TypeError: '>' not supported between instances of 'NoneType' and 'datetime.datetime'
Sign in to join this conversation.
No labels
backdoor-try
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
can't read
can't read
can't read
can't read
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
google-patch
google-patch
hacktoberfest-accepted
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
knowledge-enrichment
known bug
question
question
question
question
question
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/GHunt#508
No description provided.