Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Problem running grouper shell script

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Problem running grouper shell script


Chronological Thread 
  • From: Shilen Patel <>
  • To: "Polasi, Satish" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Problem running grouper shell script
  • Date: Tue, 11 Aug 2015 21:52:29 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

There might be another problem.  Can you send the full output again?

Thanks

- Shilen


"Polasi, Satish" <> wrote:

Hi Shilen Patel,

I changed the double quotes, but still no luck.

Thank You!!!
Satish

On 8/11/15, 1:22 PM, "Shilen Patel" <> wrote:

>Hi,
>
>I think it¹s because of your double quotes.
>
>³cedars²
>
>³Cedars²
>
>³Academic Appointees²
>
>
>Thanks!
>
>- Shilen
>
>On 8/11/15, 4:06 PM, "" <> wrote:
>
>>Hello Grouper Users,
>>
>>I am new to Grouper and I have task to add new stems, groups, roles and
>>permissions. When I try to run the following grouper shell script it
>>failing
>>with following message. I really appreciate if you anyone can help me or
>>provide any assistance resolving this issue.
>>
>>Command I issue to run grouper shell
>>$GROUPER_HOME/webapps/grouperUi/WEB-INF/bin/./gsh.sh <complete path to
>>gsh
>>file>
>>
>>Can .sh file reside anywhere in the computer? or should be in a specific
>>location?
>>
>>Below are the contents in the .sh file
>>
>>grouperSession = GrouperSession.startRootSession();
>>addStem("ucla:hierarchy:medicine:surgery", ³cedars², ³Cedars²);
>>
>>addStem("ucla:hierarchy:medicine:surgery:cedars", "appointed", "Academic
>>Appointees²);
>>addGroup("ucla:hierarchy:medicine:surgery:cedars:appointed", "home",
>>"Home");
>>addGroup("ucla:hierarchy:medicine:surgery:cedars:appointed",
>>"additional",
>>"Additional");
>>addGroup("ucla:hierarchy:medicine:surgery:cedars:appointed",
>>"all-academic-appointees", "All Academic Appointees");
>>
>>addMember("ucla:hierarchy:medicine:surgery:cedars:appointed:all-academic-
>>a
>>ppoi
>>ntees", "ucla:hierarchy:medicine:surgery:cedars:appointed:home");
>>addMember("ucla:hierarchy:medicine:surgery:cedars:appointed:all-academic-
>>a
>>ppoi
>>ntees", "ucla:hierarchy:medicine:surgery:cedars:appointed:additional");
>>addMember("ucla:hierarchy:medicine:surgery:all-academic-appointees",
>>"ucla:hierarchy:medicine:surgery:cedars:appointed:all-academic-appointees
>>"
>>);
>>
>>
>>addStem("ucla:hierarchy:medicine:surgery:cedars", "prospect",
>>"Prospective
>>Candidates for Appointment");
>>addGroup("ucla:hierarchy:medicine:surgery:cedars:prospect", "home",
>>"Home");
>>addGroup("ucla:hierarchy:medicine:surgery:cedars:prospect", "additional",
>>"Additional");
>>
>>addGroup("ucla:hierarchy:medicine:surgery:cedars", "archive", "Archive");
>>
>>
>>ERROR on execution
>>
>>edu.internet2.middleware.grouper.GrouperSession:
>>1d1c0a1895b84a6aafe010fa3d6c52d3,'GrouperSystem','application'
>>// Error: unable to evaluate command: Sourced file: inline evaluation of:
>>``addStem("ucla:hierarchy:medicine:surgery", ³cedars², ³Cedars²);''
>>Token Parsing Error: Lexical error at line 1, column 44.  Encountered:
>>"\u201c" (8220), after : ""
>>// Error: unable to evaluate command: Sourced file: inline evaluation of:
>>``addStem("ucla:hierarchy:medicine:surgery:cedars", "appointed",
>>"Academic
>>Appoint . . . '' Token Parsing Error: Lexical error at line 1, column 87.
>>Encountered: <EOF> after : "\"Academic Appointees\u201d);"
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars:appointed'
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars:appointed'
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars:appointed'
>>// Error: Cannot find group with name:
>>'ucla:hierarchy:medicine:surgery:cedars:appointed:all-academic-appointees
>>'
>>false
>>// Error: Cannot find group with name:
>>'ucla:hierarchy:medicine:surgery:cedars:appointed:all-academic-appointees
>>'
>>false
>>// Error: Cannot find group with name:
>>'ucla:hierarchy:medicine:surgery:all-academic-appointees'
>>false
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars'
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars:prospect'
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars:prospect'
>>// Error: Can't find stem by name:
>>'ucla:hierarchy:medicine:surgery:cedars'
>




Archive powered by MHonArc 2.6.16.

Top of Page