Skip to content

[BUG] .meile-gui/bin gets used by zombie process #152

Description

@freQniK

Sometimes, if Meile was inappropriately shutdown while connected it will lock the !~/.meile-gui/bin folder which causes the following error on startup in Windows

Process name codec error... Defaulting....
object of type 'NoneType' has no len()
 Traceback (most recent call last):
   File "conf\meile_config.py", line 55, in update_bin
 TypeError: object of type 'NoneType' has no len()

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "main\meile_gui.py", line 10, in <module>
   File "main\meile_gui.py", line 6, in main
   File "kivy\app.py", line 955, in run
   File "kivy\app.py", line 925, in _run_prepare
   File "main\main.py", line 61, in build
   File "ui\screens.py", line 240, in __init__
   File "ui\screens.py", line 267, in RewriteBIN
   File "conf\meile_config.py", line 73, in rewrite_bin
   File "conf\meile_config.py", line 70, in update_bin
   File "shutil.py", line 750, in rmtree
   File "shutil.py", line 624, in _rmtree_unsafe
   File "shutil.py", line 622, in _rmtree_unsafe
 PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\freqn\\.meile-gui\\bin'
[3620] Failed to execute script 'meile_gui' due to unhandled exception!

Activity

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

Metadata

Metadata

Assignees

Labels

WindowsWindows Bugs, Features, Requests, EnhancementsbugSomething isn't workingerror handlinggood first issueGood for newcomers

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions