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

[Windows] Pasting a file into user can give a PermissionError #250

Closed
mrob95 opened this issue Feb 20, 2021 · 1 comment
Closed

[Windows] Pasting a file into user can give a PermissionError #250

mrob95 opened this issue Feb 20, 2021 · 1 comment

Comments

@mrob95
Copy link

mrob95 commented Feb 20, 2021

Talon version 0.1.4-159.

Was copying a file from knausj into my user folder and had this error as the file finished copying:

2021-02-20 14:01:04 DEBUG [+] C:\Users\Mike\AppData\Roaming\talon\user\help\help.py
2021-02-20 14:01:04 ERROR user.help.help (C:\Users\Mike\AppData\Roaming\talon\user\help\help.py) import failed
   15:                  threading.py:912* # cron thread
   14:                  threading.py:954* 
   13:                  threading.py:892* 
   12:                 talon\cron.py:123| 
   11:                 talon\cron.py:83 | 
   10:                   talon\fs.py:54 | 
    9:                   talon\fs.py:47 | 
    8:       talon\scripting\rctx.py:225| # 'fs' main:on_change()
    7:       app\resources\loader.py:613| 
    6:       app\resources\loader.py:563| 
    5:       app\resources\loader.py:358| # [stack splice]
    4:         importlib\__init__.py:127| 
    3:       app\resources\loader.py:237| 
    2:       app\resources\loader.py:232| 
    1: importlib._bootstrap_external:979| 
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Mike\\AppData\\Roaming\\talon\\user\\help\\help.py'
2021-02-20 14:01:35 DEBUG [-] C:\Users\Mike\AppData\Roaming\talon\user\help\help.py
2021-02-20 14:01:37 DEBUG [+] C:\Users\Mike\AppData\Roaming\talon\user\help\help.py

I deleted the file and pasted again and it was fine, so presumably just a chance timing/locking issue. Should talon try to catch this and retry?

@lunixbochs
Copy link

fixed in next beta

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