The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

PPM error while running kGenTimeMgmtPeriods.sh script

SOLVED
Go to solution
Highlighted
Jegadeesh Ramam
Super Collector

PPM error while running kGenTimeMgmtPeriods.sh script

Hello,

I'm working on a new PPM 7.5 setup and while running the kGenTimeMgmtPeriods.sh script to create time periods, hitting the following error:
-----
$ sh kGenTimeMgmtPeriods.sh 52
kGenTimeMgmtPeriods.sh: line 29: $'\r': command not found
: No such file or directorye 30: ./kVariables.sh

$ sh kGenTimeMgmtPeriods.sh 52
kGenTimeMgmtPeriods.sh: line 29: $'\r': command not found
: No such file or directory
kGenTimeMgmtPeriods.sh: line 31: $'\r': command not found
: No such file or directorye 32: cd: ..
kGenTimeMgmtPeriods.sh: line 33: $'\r': command not found
Exception in thread "main" java.lang.NoClassDefFoundError: com/kintana/tmg/util/
GenTimeMgmtPeriod
------

I've already seen the response to the post at -
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1198161

and we had already setup cygwin in unix mode only.
Any ideas/pointers to what could be the problem and how do I go about debugging this issue ?

Thanks in advance
Jegadeesh
3 REPLIES
Jyotir ++
Member
Solution

Re: PPM error while running kGenTimeMgmtPeriods.sh script

Hi Jegadeesh,

Try to use 'ash' inspite of using 'sh', for example :"$ ash kGenTimeMgmtPeriods.sh".it should work.

Hope this will help you.

Regards,
Jyotir
Jegadeesh Ramam
Super Collector

Re: PPM error while running kGenTimeMgmtPeriods.sh script

Hi Jyotir,

It worked with 'ash'.

Thanks much for the quick help...appreciate it!

regards
Jeg
Jegadeesh Ramam
Super Collector

Re: PPM error while running kGenTimeMgmtPeriods.sh script

This issue is resolved by using 'ash' as -

$ ash kGenTimeMgmtPeriods.sh

in Cygwin shell.
//Add this to "OnDomLoad" event