{"comment":{"created_at":"2011-10-17T01:40:22Z","body":"I ran into the second bug a few days ago so it seems like it is not yet fixed. Same is true for the third bug. There is no way to cancel out of a .wait() which is extremely frustrating. It should always be possible to send a keyboard interrupt to any python program.","updated_at":"2011-10-17T01:40:22Z","url":"https://api.github.com/repos/sunpy/sunpy/issues/comments/2424156","id":2424156,"user":{"avatar_url":"https://secure.gravatar.com/avatar/181690c6f9f97cc68450602d7b66e971?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"181690c6f9f97cc68450602d7b66e971","url":"https://api.github.com/users/ehsteve","id":739053,"login":"ehsteve"}},"action":"created","issue":{"number":68,"created_at":"2011-09-28T15:16:47Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've been playing around with VSO queries and gets, and I've come across some bugs.  It's possible some of these bugs are related to my being on Windows.  Here is the base code, which successfully retrieves 4 EUVI files and downloads them to a temporary directory:\r\n\r\n```python\r\nfrom sunpy.net import vso\r\n\r\nclient = vso.VSOClient()\r\n\r\nqueryresult = client.query(\r\n    vso.attrs.Time((2011, 9, 22, 10, 55), (2011, 9, 22, 11, 00)),\r\n    vso.attrs.Instrument('euvi')\r\n)\r\n\r\nresult = client.get(queryresult).wait()\r\n```\r\n\r\n# First bug: cannot query AIA data\r\nIf I instead try to query for AIA data, there is an unceremonious crash.\r\n\r\n```python\r\nqueryresult = client.query(\r\n    vso.attrs.Time((2011, 9, 22, 10, 55), (2011, 9, 22, 11, 00)),\r\n    vso.attrs.Instrument('aia')\r\n)\r\n```\r\n\r\n# Second bug: unexpected behavior of path for get()\r\nTo specify the download path, I apparently cannot specify just the folder name, but rather I also _need_ to include `{file}`.  Otherwise, `.get()` will try to write over the folder itself, which will generate an error, of course.  Is this intended/desired behavior?\r\n\r\n```python\r\nresult = client.get(queryresult, path=\"c:\\\\users\\\\ayshih\\\\downloads\\\\{file}\").wait()\r\n```\r\n\r\n# Third bug: wait() is not aware when get() crashes\r\nIf `.get()` crashes due to a bad specification for `path` (see above, and possibly for other reasons), the `.wait()` appears to cause Python to get stuck waiting for a thread that will never finish properly.  Control+C does not restore control.\r\n","comments":3,"title":"An assortment of bugs with VSO queries and gets","updated_at":"2011-10-17T01:40:22Z","url":"https://api.github.com/repos/sunpy/sunpy/issues/68","id":1765273,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d0bebeb9ee37a55b94142b5fbb43ea56?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d0bebeb9ee37a55b94142b5fbb43ea56","url":"https://api.github.com/users/ayshih","id":991759,"login":"ayshih"},"html_url":"https://github.com/sunpy/sunpy/issues/68","labels":[],"state":"open"},"legacy":{"issue_id":1765273,"comment_id":2424156}}