Traceback (most recent call last):


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\__main__.py", line 88, in main

cli(None, None, None)


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\core.py", line 717, in main

rv = self.invoke(ctx)


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\commands\__init__.py", line 37, in invoke

return super(PlatformioCLI, self).invoke(ctx)


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\core.py", line 555, in invoke

return callback(*args, **kwargs)


 "X:\Users\userName\.platformio\penv\lib\site-packages\click\decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\commands\lib.py", line 149, in lib_install

force=force)


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 353, in install

force=force)


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 724, in install

track=True)


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 523, in _install_from_url

return self._install_from_tmp_dir(_tmp_dir, requirements)


 "X:\Users\userName\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 606, in _install_from_tmp_dir

shutil.move(tmp_dir, pkg_dir)


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 569, in move

rmtree(src)


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 507, in rmtree

return _rmtree_unsafe(path, onerror)


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 386, in _rmtree_unsafe

_rmtree_unsafe(fullname, onerror)


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 386, in _rmtree_unsafe

_rmtree_unsafe(fullname, onerror)


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 386, in _rmtree_unsafe

_rmtree_unsafe(fullname, onerror)


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 391, in _rmtree_unsafe

onerror(os.unlink, fullname, sys.exc_info())


 "X:\Users\userName\.platformio\penv\lib\shutil.py", line 389, in _rmtree_unsafe

os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'X:\\Users\\userName\\Documents\\PlatformIO\\Projects\\pio-test-lib2\\.pio\\libdeps\\esp32doit-devkit-v1\\_tmp_installing-syxlieim-package\\.git\\objects\\06\\3bd79ae35475237188c6fcfed3b97aa076600f'

Traceback (most recent call last):


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform

await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for

return fut.result()


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/homeassistant/components/flume/sensor.py", line 44, in setup_platform

flume_devices = FlumeDeviceList(username, password, client_id, client_secret)


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/pyflume/__init__.py", line 152, in __init__

client_secret


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/pyflume/__init__.py", line 50, in __init__

self.read_token_file()


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/pyflume/__init__.py", line 134, in read_token_file

self.fetch_token()


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/pyflume/__init__.py", line 77, in fetch_token

self.write_token_file()


 "/srv/homeassistant_3.7/lib/python3.7/site-packages/pyflume/__init__.py", line 122, in write_token_file

with open(TOKEN_FILE, 'w') as token_file:
PermissionError: [Errno 13] Permission denied: 'flume_token'
