.bashrc not found after Open Terminal from Job Composer

Open job composer, select a job, select Open Terminal and I get .bashrc not found. ~/.bashrc exists and type bash after loads my bash profile. Thoughts?

Open Terminal ->
bash: .bashrc: No such file or directory
lcapps@prometheus:~/ondemand/data/sys/myjobs/projects/default/27$ ll
bash: ll: command not found
lcapps@prometheus:~/ondemand/data/sys/myjobs/projects/default/27$ ls ~/.bashrc
/home/lcapps/.bashrc

lcapps@prometheus:~/ondemand/data/sys/myjobs/projects/default/27$ bash
lcapps@prometheus:~/ondemand/data/sys/myjobs/projects/default/27$ ll
total 154
drwxr-xr-x+ 3 lcapps dip 10 Apr 28 16:16 ./
drwxr-xr-x+ 6 lcapps dip 6 Apr 28 16:11 …/
-rwxr-xr-x+ 1 lcapps dip 335 Apr 25 12:33 d-tf*
drwxr-xr-x+ 2 lcapps dip 13 Apr 25 12:55 log/

Thx,
Louis

I just tried this on OOD 1.5 on my test box, and I get a shell window with a prompt, no errors, viz:

[ric@login3 1]$ pwd

/home/u23/ric/ondemanddev/data/sys/myjobs/projects/default/1

[ric@login3 1]$

Which version of OOD are you running, and are there any errors in nginx logs for your account?
Ric

The problem is that your .bash_profile likely has a line like this:

source .bashrc

when instead it should have this

source ~/.bashrc

So when you start the shell in your home directory, both work, but when you start the shell in a directory in your home directory, the first will fail.

I reproduced this myself by adding source .bashrc to my .bash_profile and then launching the shell app from the Job Composer and got this:

bash: .bashrc: No such file or directory
efranz@owens-login04:~/ondemand/data/sys/myjobs/projects/default/13$ 

Bingo… that was it.

thx,
Louis