How to start a new lab without waiting three hours?

UPDATE: issue solved after waiting 3 hours and starting a new lab.

the terminal in vs studio exits by error.

The terminal process “/bin/bash” terminated with exit code: 255.

Can not proceed with previous progress. problem can’t be fixed by restart the vs studio. How to restart the lab?
Why suddenly use vs studio in the last week? I find it quite unstable.

You can open again the terminal:
view > terminal or you can try: CTRL + `

Or you can create a new terminal.

At what step did you get this error? What command were you trying to run?

If for example, let’s say you were trying to run “terraform apply” and there was an error in any of the terraform files, the terminal might abruptly close. You can try again by opening the terminal, if the terminal continues on crashing you can run:
terraform apply -no-color 2> errors.txt
This will prevent the terminal from crashing and print the error message in errors.txt so you can open the file and read the error message.

1 Like

Note: Before you execute the following commands, make sure that inside the dbt_modeling folder (or any of its subfolders) there is no folder named .ipynb_checkpoints. This folder appears when you modify any file by using the Jupyter’s UI. Make sure to delete those checkpoint folders in your local environment and only then execute the commands. You can do it by running the command find . -name .ipynb_checkpoints -exec rm -rf {} \;

aws s3 cp $HOME/workspace/dbt_modeling/models/bi_views s3://<DBTBucket>/dbt_project/dbt_modeling/models/bi_views --recursive

aws s3 cp $HOME/workspace/dbt_modeling/dbt_project.yml s3://<DBTBucket>/dbt_project/dbt_modeling/dbt_project.yml

When I first attempted to execute the ‘find’ command, the terminal abruptly crashed and exited. Subsequently, I opened a new terminal, attempted to proceed, and executed the ‘aws’ command. However, the terminal crashed and exited again. Now I manually download the files and upload to s3.