AltimateAI / AltimateAI/vscode-dbt-power-user
File lock
- Ngôn ngữ chính
- JavaScript
- Star
- 585
- Fork
- 121
- Merge trung bình
- 5 ngày 39 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
### 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!
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.