payload: {"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/9234","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/9234/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/9234/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/9234/events","html_url":"https://github.com/spyder-ide/spyder/issues/9234","id":438361433,"node_id":"MDU6SXNzdWU0MzgzNjE0MzM=","number":9234,"title":"Autosave Error: The system cannot find the file specified","user":{"login":"CAM-Gerlach","id":17051931,"node_id":"MDQ6VXNlcjE3MDUxOTMx","avatar_url":"https://avatars0.githubusercontent.com/u/17051931?v=4","gravatar_id":"","url":"https://api.github.com/users/CAM-Gerlach","html_url":"https://github.com/CAM-Gerlach","followers_url":"https://api.github.com/users/CAM-Gerlach/followers","following_url":"https://api.github.com/users/CAM-Gerlach/following{/other_user}","gists_url":"https://api.github.com/users/CAM-Gerlach/gists{/gist_id}","starred_url":"https://api.github.com/users/CAM-Gerlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAM-Gerlach/subscriptions","organizations_url":"https://api.github.com/users/CAM-Gerlach/orgs","repos_url":"https://api.github.com/users/CAM-Gerlach/repos","events_url":"https://api.github.com/users/CAM-Gerlach/events{/privacy}","received_events_url":"https://api.github.com/users/CAM-Gerlach/received_events","type":"User","site_admin":false},"labels":[{"id":177786063,"node_id":"MDU6TGFiZWwxNzc3ODYwNjM=","url":"https://api.github.com/repos/spyder-ide/spyder/labels/component:Editor","name":"component:Editor","color":"d4c5f9","default":false},{"id":177778989,"node_id":"MDU6TGFiZWwxNzc3Nzg5ODk=","url":"https://api.github.com/repos/spyder-ide/spyder/labels/type:Bug","name":"type:Bug","color":"d73a4a","default":false}],"state":"closed","locked":false,"assignee":{"login":"jitseniesen","id":7941918,"node_id":"MDQ6VXNlcjc5NDE5MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/7941918?v=4","gravatar_id":"","url":"https://api.github.com/users/jitseniesen","html_url":"https://github.com/jitseniesen","followers_url":"https://api.github.com/users/jitseniesen/followers","following_url":"https://api.github.com/users/jitseniesen/following{/other_user}","gists_url":"https://api.github.com/users/jitseniesen/gists{/gist_id}","starred_url":"https://api.github.com/users/jitseniesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitseniesen/subscriptions","organizations_url":"https://api.github.com/users/jitseniesen/orgs","repos_url":"https://api.github.com/users/jitseniesen/repos","events_url":"https://api.github.com/users/jitseniesen/events{/privacy}","received_events_url":"https://api.github.com/users/jitseniesen/received_events","type":"User","site_admin":false},"assignees":[{"login":"jitseniesen","id":7941918,"node_id":"MDQ6VXNlcjc5NDE5MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/7941918?v=4","gravatar_id":"","url":"https://api.github.com/users/jitseniesen","html_url":"https://github.com/jitseniesen","followers_url":"https://api.github.com/users/jitseniesen/followers","following_url":"https://api.github.com/users/jitseniesen/following{/other_user}","gists_url":"https://api.github.com/users/jitseniesen/gists{/gist_id}","starred_url":"https://api.github.com/users/jitseniesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitseniesen/subscriptions","organizations_url":"https://api.github.com/users/jitseniesen/orgs","repos_url":"https://api.github.com/users/jitseniesen/repos","events_url":"https://api.github.com/users/jitseniesen/events{/privacy}","received_events_url":"https://api.github.com/users/jitseniesen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2019-04-29T15:01:08Z","updated_at":"2019-06-01T15:58:00Z","closed_at":"2019-06-01T11:12:06Z","author_association":"CONTRIBUTOR","body":"## Description\r\n\r\n### What steps will reproduce the problem?\r\n\r\n<!--- You can use Markdown here --->\r\n\r\n**Note:** This is *not* the same issue I reported on the Gitter that I can fairly consistently reproduce.\r\n\r\nAfter not using Spyder for many hours, I switched back to it, made a small modification to an existing file (that was saved and correctly did not have an autosave), and almost immediately saved it. However, I got an autosave error dialog as well as this error message upon doing so. In any case, this new autosaved file sticks around after closing the saved file, and causes a recovery dialog to appear on the next Spyder launch (in addition to the other problem, autosaves being created for unmodified files).\r\n\r\nI cannot repro it by simply making a change and saving the file again (although I can, of course, by making a change, waiting  for an autosave to be created, and then removing it). An autosave of the file appeared just as I was saving; I suspect it was either somehow triggered by the save itself or happened to be being saved simultaneously, and either way resulted in the error. \r\n\r\nWhile it therefore seems a bit of a fluke that I'm so far unable to reproduce, aside from that, I'm not sure simply not being able to find the autosave file (which could happen for a number of non-Spyder-related reasons, like the user removing it manually, or opening/saving it in another Spyder instance) should be a reportable Spyder-level error, but that's your call.\r\n\r\n![image](https://user-images.githubusercontent.com/17051931/56905647-9af1de80-6a6e-11e9-82c6-15422bf5cd69.png)\r\n\r\n### Traceback\r\n```python-traceback\r\nFileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\\\Users\\\\C. A. M. Gerlach\\\\.spyder-py3-dev\\\\autosave\\\\lis_vs_glm.py'\r\n```\r\n\r\n## Versions\r\n\r\n* Spyder version: 4.0.0.dev0 719f56082\r\n* Python version: 3.7.2\r\n* Qt version: 5.9.6\r\n* PyQt5 version: 5.9.2\r\n* Operating System: Windows 8.1\r\n\r\n### Dependencies\r\n\r\n```\r\npygments >=2.0    :  2.3.1 (OK)\r\nqdarkstyle >=2.6.4:  2.6.5 (OK)\r\nsphinx >=0.6.6    :  1.8.4 (OK)\r\npyls >=0.19.0     :  0.21.5 (OK)\r\nnbconvert >=4.0   :  5.4.0 (OK)\r\npandas >=0.13.1   :  0.24.2 (OK)\r\nnumpy >=1.7       :  1.15.4 (OK)\r\nsympy >=0.7.3     :  1.3 (OK)\r\ncython >=0.21     :  0.29.4 (OK)\r\nqtconsole >=4.2.0 :  4.4.3 (OK)\r\nIPython >=4.0     :  7.2.0 (OK)\r\nmatplotlib >=2.0.0:  3.0.2 (OK)\r\npylint >=0.25     :  2.2.2 (OK)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/497956161","html_url":"https://github.com/spyder-ide/spyder/issues/9234#issuecomment-497956161","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/9234","id":497956161,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5Nzk1NjE2MQ==","user":{"login":"CAM-Gerlach","id":17051931,"node_id":"MDQ6VXNlcjE3MDUxOTMx","avatar_url":"https://avatars0.githubusercontent.com/u/17051931?v=4","gravatar_id":"","url":"https://api.github.com/users/CAM-Gerlach","html_url":"https://github.com/CAM-Gerlach","followers_url":"https://api.github.com/users/CAM-Gerlach/followers","following_url":"https://api.github.com/users/CAM-Gerlach/following{/other_user}","gists_url":"https://api.github.com/users/CAM-Gerlach/gists{/gist_id}","starred_url":"https://api.github.com/users/CAM-Gerlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAM-Gerlach/subscriptions","organizations_url":"https://api.github.com/users/CAM-Gerlach/orgs","repos_url":"https://api.github.com/users/CAM-Gerlach/repos","events_url":"https://api.github.com/users/CAM-Gerlach/events{/privacy}","received_events_url":"https://api.github.com/users/CAM-Gerlach/received_events","type":"User","site_admin":false},"created_at":"2019-06-01T15:58:00Z","updated_at":"2019-06-01T15:58:00Z","author_association":"CONTRIBUTOR","body":"@jitseniesen Whatever the original cause might have been, its couldn't have been the same as #9420 , as that was a known result of my PR #9327 . However, I was unable to find a method to consistently reproduce it, so unless someone else stumbles upon one in the future, this is unlikely to be solved anytime soon anyway."}}
other: {"actor":{"display_login":"CAM-Gerlach"}}