-
Notifications
You must be signed in to change notification settings - Fork 239
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
sentinelsat crashing when using command line and -d option #89
Comments
Can you provide the aoi.json file that you used? I'll try to reproduce the issue. |
Does it crash when you reorder the arguments to
|
I just tried on another machine where i had a working installation of sentinelsat from a while ago and there the same command works. Both list sentinelsat 0.7.4. Anything I have to consider when installing python and sentinelsat? I did a complete reinstallation of python and @valgur @Fernerkundung |
I'm fairly certain that this bug happens in pycurl, since any interpreter crashes almost always happen due to issues in external C code. I have no idea what might be going on in there, but if you are willing to add some debugging code inside homura, it would help a ton. def curl(self):
"""Sending a single cURL request to download"""
c = self._pycurl
# --- snippet start ---
def debug(debug_type, debug_msg):
print("debug({}): {}".format(debug_type, debug_msg))
c.setopt(c.VERBOSE, 1)
c.setopt(c.DEBUGFUNCTION, debug)
# --- snippet end ---
# Resume download
if os.path.exists(self.path) and self.resume: to around line 177 in |
done. I removed some information for security/anonymity. If you see something else please let me know.
|
Thanks a lot, @UNNIC! The crash appears to occur in the middle of downloading and, unfortunately, the only way I could debug this further is if I manage to replicate the situation on my machine. I'm afraid there is nothing more that can be done right now. |
closed as the issue is continued in https://github.com/ibamacsr/sentinelsat/issues/91 |
When i use
sentinel search --sentinel2 -s 20170115 user pwd aoi.json -d
i get the output
Will download 8 products Downloading
[...]and a corresponding ZIP file is created
then python crashes without an error (
python.exe stopped responding
)I reinstalled python and checked if homura, PycURL and certifi are updated.
Windows 10
Python 2.7.12
The text was updated successfully, but these errors were encountered: