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

PermissionError Crash: Can't access outdated vehicle file #21

Open
Carsmaniac opened this issue Oct 19, 2022 · 0 comments
Open

PermissionError Crash: Can't access outdated vehicle file #21

Carsmaniac opened this issue Oct 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Carsmaniac
Copy link
Owner

Crash caused by an access denied error when trying to delete an outdated vehicle database file, first reported 2022-10-06

PermissionError: [WinError 5] Accesso negato: 'library/vehicles/ets/am.mbad.ini'

Traceback:
  File "tkinter\__init__.py", line 1892, in __call__

  File "packer.py", line 221, in <lambda>

  File "packer.py", line 803, in switch_to_main_screen

  File "packer.py", line 828, in load_main_screen_variables

  File "packer.py", line 906, in check_for_outdated_vehicles
@Carsmaniac Carsmaniac added the bug Something isn't working label Oct 19, 2022
Carsmaniac added a commit that referenced this issue Oct 19, 2022
When checking for outdated vehicle database files, if one is found Paint
Job Packer will attempt to delete it. On at least one occasion this
resulted in a PermissionError crash. The crash still happens, as I'm not
sure how to programmatically resolve this, but the user is at least
warned beforehand, and instructed to reach out to me.

Crash tracked in issue #21, this doesn't completely fix it, but at least
improves the experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant