Giter VIP home page Giter VIP logo

Comments (11)

mxrch avatar mxrch commented on August 15, 2024 1

Issue fixed in => 8fd45a1, I'm closing this issue.

from ghunt.

ryzbaka avatar ryzbaka commented on August 15, 2024

I can try fixing this issue myself.

from ghunt.

mxrch avatar mxrch commented on August 15, 2024

Hello @ryzbaka , I can fix this issue but I'm curious, can you print the location before the "sanatize_location" line ? Because it means there is not the keys "city", "village", "town" AND "municipality", I thought it would be enough !

from ghunt.

streger avatar streger commented on August 15, 2024

Same here with village:

Traceback (most recent call last):
File "hunt.py", line 114, in
gpics(gaiaID, client, cookies, cfg)
File "/someplace/GHunt/lib/photos.py", line 134, in gpics
exifeater.feed(img)
File "/someplace/GHunt/lib/metadata.py", line 57, in feed
location = self.get_GPS(img)
File "/someplace/GHunt/lib/metadata.py", line 51, in get_GPS
return f'{location["village"]}, {location["country"]}'
KeyError: 'village'

from ghunt.

mxrch avatar mxrch commented on August 15, 2024

@streger can you print the location before the "sanatize_location" line and put the output here ? :)

from ghunt.

streger avatar streger commented on August 15, 2024

@mxrch can you guide me where would I find that?
I seem to can't find it anywhere in the repo.

from ghunt.

streger avatar streger commented on August 15, 2024

and if you mean the line before this happened, it's:

Google Photos : https://get.google.com/albumarchive/...
=> x albums, y photos

using:
Python 3.8.2

from ghunt.

mxrch avatar mxrch commented on August 15, 2024

@streger excuse me I confused your problem with the author's one, it's not the same, but effectively I understand the problem, I fix it right now.

from ghunt.

mxrch avatar mxrch commented on August 15, 2024

@streger fixed => d927c94

from ghunt.

streger avatar streger commented on August 15, 2024

@mxrch Can confirm that this now passed.

Edit:

Moved the rest of the comment to #1

Thanks @mxrch

from ghunt.

mxrch avatar mxrch commented on August 15, 2024

@streger seems like you have the same error of #1, can you please move to this issue so we keep issues clean ? 😄

from ghunt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.