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

download file error #30

Closed
mercurykd opened this issue Feb 20, 2021 · 2 comments
Closed

download file error #30

mercurykd opened this issue Feb 20, 2021 · 2 comments

Comments

@mercurykd
Copy link

windows 10
sublime 3

get('https://www.nationalgeographic.com/content/dam/animals/thumbs/rights-exempt/mammals/d/domestic-dog_thumb.jpg', filename='~/Desktop')

FileExistsError: [WinError 183] Невозможно создать файл, так как он уже существует: 'C:\Users\User\AppData\Roaming\Sublime Text 3\Packages\User\Requester.history.json.bkp'

Requester.history.json.bkp not delete after download.

@kylebebak
Copy link
Owner

There's no file at https://www.nationalgeographic.com/content/dam/animals/thumbs/rights-exempt/mammals/d/domestic-dog_thumb.jpg, and I can't repro with other image files

@mercurykd
Copy link
Author

mercurykd commented May 5, 2022

get('https://upload.wikimedia.org/wikipedia/commons/2/22/VTV_2013.png', filename='~/Desktop')

win11 x64, ST4126

Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\core/responses.py", line 145, in run
  File "./python3.3/concurrent/futures/_base.py", line 394, in result
  File "./python3.3/concurrent/futures/_base.py", line 353, in __get_result
  File "./python3.3/concurrent/futures/thread.py", line 54, in run
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\core/responses.py", line 66, in get_response
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\core/responses.py", line 108, in handle_special
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\commands/download.py", line 23, in __init__
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\commands/download.py", line 36, in run_initial_request
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\core/__init__.py", line 225, in persist_requests
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\core/__init__.py", line 401, in persist_requests
  File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\Requester.sublime-package\core/__init__.py", line 413, in write_json_file
FileExistsError: [WinError 183] Cannot create file because it already exists: 'C:\\Users\\User\\AppData\\Roaming\\Sublime Text\\Packages\\User\\Requester.history.json.bkp'

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

No branches or pull requests

2 participants