AltimateAI / AltimateAI/vscode-dbt-power-user

File lock

未关闭
#334 19 条评论 4 个 reaction 已指派 1 人 已被 @ralphstodomingo 认领 在 GitHub 查看
bug sweep
主要语言
JavaScript
星标
585
派生
121
平均合并
5 天 39 分钟
30 天内合并 PR
4

描述

### Expected behavior
I run `dbt clean` and `dbt deps` to update my packages. Updates happen without error.
### Actual behavior
When I run `dbt clean` and then `dbt deps`, it appears that there's a conflict with the dbt_project_evaluator package. I've not seen this previously.

### Steps To Reproduce
With `dbt power user` enabled, when I run `dbt clean` and then `dbt deps`, it appears that there's a conflict with the dbt_project_evaluator package. I've not seen this previously.
If I disable `power user`, and then run `dbt deps`, my packages install as expected. I then enable `dbt power user` and go on with my day.
### Log output/Screenshots
```
File "c:\users\...\fivetran_dbt_integrated\.venv\lib\site-packages\dbt\deps\base.py", line 117, in _install
connection_exception_retry(download_untar_fn, 5)
File "c:\users\...\fivetran_dbt_integrated\.venv\lib\site-packages\dbt\utils.py", line 616, in _connection_exception_retry
return fn()
File "c:\users\...\fivetran_dbt_integrated\.venv\lib\site-packages\dbt\deps\base.py", line 129, in download_and_untar
system.untar_package(tar_path, deps_path, package_name)
File "c:\users\...\fivetran_dbt_integrated\.venv\lib\site-packages\dbt\clients\system.py", line 497, in untar_package
dbt.clients.system.rename(downloaded_path, desired_path, force=True)
File "c:\users\...\fivetran_dbt_integrated\.venv\lib\site-packages\dbt\clients\system.py", line 485, in rename
shutil.move(from_path, to_path)
File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 578, in move
rmtree(src)
File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 516, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 395, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 404, in _rmtree_unsafe
onerror(os.rmdir, path, sys.exc_info())
File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 402, in _rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'dbt_packages\\dbt-project-evaluator-0.4.1\\integration_tests'
```
### Operating System
Windows 10
### dbt version
1.4.1
### dbt Adapter
Snowflake
### dbt Power User version
0.11.5
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。