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

KML files always show 0MB #7

Open
Fergui opened this issue Dec 31, 2019 · 0 comments
Open

KML files always show 0MB #7

Fergui opened this issue Dec 31, 2019 · 0 comments

Comments

@Fergui
Copy link
Member

Fergui commented Dec 31, 2019

The problem is that when requests try to access the KML url, it fails because of an authentification error. Solution would be to replace the line 122 in src/make_kmz.py by:

r = requests.get(url, stream=True, auth=('user', 'pass'))

This would require to specify 'user' and 'pass'. Therefore, it would be great to take them from etc/conf.json or include them in ~/.netrc file.

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

No branches or pull requests

1 participant