"Missing profile" error when opening a workspace
See original GitHub issueI’ve just started having an issue with the extension (v0.5.9). I recently upgraded to dbt v1.0.1 from v0.21.
dbt version: 1.0.1
python version: 3.7.7
python path: /Users/<me>/Documents/GitHub/data-warehouse/.venv/bin/python3
os info: Darwin-21.1.0-x86_64-i386-64bit
Using profiles.yml file at /Users/<me>/.dbt/profiles.yml
Using dbt_project.yml file at /Users/<me>/Documents/GitHub/data-warehouse/dbt_project.yml
Configuration:
profiles.yml file [OK found and valid]
dbt_project.yml file [OK found and valid]
Required dependencies:
- git [OK found]
I’ve confirmed the python path above is the one being used by the VS Code workspace.
When first opening a workspace with my dbt project in it, the Tasks - dbt
terminal displays the following:
> Executing task: dbt list
> Executing task: dbt list
> Executing task: dbt list
07:53:31 Encountered an error while reading the project:
07:53:31 ERROR: Runtime Error
dbt cannot run because no profile was specified for this dbt project.
To specify a profile for this project, add a line like the this to
your dbt_project.yml file:
profile: [profile name]
Here, [profile name] should be replaced with a profile name
defined in your profiles.yml file. You can find profiles.yml here:
/Users/<me>/.dbt/profiles.yml
07:53:31 Encountered an error:
Runtime Error
Could not run dbt
07:53:31 Encountered an error while reading the project:
07:53:31 ERROR: Runtime Error
Could not find profile named 'integration_tests'
07:53:31 Encountered an error:
Runtime Error
Could not run dbt
[dbt listing of models begins here...]
From that moment on, automatic listing of models doesn’t occur when I save a .sql
file.
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Web thru Proxy - Missing Profiles - VMware Communities
I am having an issue that all newly enrolled devices or existing devices that install the VMware web now are getting an error...
Read more >How to run Firefox when your profile is missing or inaccessible
Profile was deleted ; Click on the Windows Start button and click on Run... Type %appdata% in the Run box and click OK....
Read more >If no profile was created, runAnt fails with error message ... - IBM
In IBM Rational Application Developer, the headless build with runAnt.bat shows the error message "Workbench has not been created yet" and "Prompting details ......
Read more >Installation issues - Google Workspace Admin Help
This error can occur after you change your Windows password. To fix the issue, you need to enter the new password in your...
Read more >User Profile Cannot Be Loaded Error - MyQuickCloud
Option 1 – Install the latest MyQuickCloud host and re-create your user # · Open the control panel, search for users and delete...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve updated the visual code publishing plugin and now the publish succeeded.
Should be fixed in the just released 0.5.10 release, let me know if it works for you.