https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33073

            Bug ID: 33073
           Summary: sip_cli_emulator doesn't work and documentation is in
                    error
 Change sponsored?: ---
           Product: Koha
           Version: 22.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: SIP2
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The documentation on SIP2 server setup gives an example of running the
sip_cli_emulator:

./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 \
  -l CPL --patron 23529001000463 -m checkout --item 39999000001259

it responds with No such file or directory

running:
/usr/share/koha/bin/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -l SLA -su
<loginID> -sp <login password> --patron <myID> --password <my password> -m
patron_information

it responds with Can't locate C4/SIP/Sip/Constants.pm

running:
 perl -I /usr/share/koha/lib /usr/share/koha/bin//sip_cli_emulator.pl  -a
localhost ...

it responds with:
Attempting socket connection to localhost:6001...connected!
Use of uninitialized value $hold_mode in string eq at
/usr/share/koha/bin//sip_cli_emulator.pl line 122.
SEND: 9300CNSLAAdmin_sip2|COst0newall1972|CPSLA|
READ: 940

Login Failed!

That user/password is in SIPconfiguration.xml. It's category is Staff and has
permissions:
Check out and check in items
Staff access
Place and modify holds for patrons
Manage patrons fines and fees
Manage the electronic resources module

I can log in with that ID and password

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to