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

--- Comment #12 from Nick Clemens (kidclamp) <[email protected]> ---
(In reply to Alex Buckley from comment #11)
> Hi, 
> 
> 1) Can you please give us a more detailed test plan?
    Which parts are unclear? I should have mentioned creating a user with
kohauser/kohapass as the credentials, or use the credentials for an existing
account with the correct permissions

> 2) Are we supposed to make the /etc/koha/sites/kohadev/connexion.cnf file?
    Yes, create this file if it doesn't exist

> 3) We noticed that there are some strange characters in the sample record
> for import file (
> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174097 ), which
> is giving us the following output in step 6:
> 
> kohadev-koha@kohadevbox:koha((v24.05.06))$ perl
> misc/bin/connexion_import_daemon.pl -c /etc/koha/sites/kohadev/connexion.cnf
> no mapping found for [0x90] at position 0 in ��96475 g0=ASCII_DEFAULT
> g1=EXTENDED_LATIN at /usr/share/perl5/MARC/Charset.pm line 308.
> no mapping found for [0x90] at position 2 in 8␞2024022215392
> g0=ASCII_DEFAULT g1=EXTENDED_LATIN at /usr/share/perl5/MARC/Charset.pm line
> 308.
> no mapping found for [0x90] at position 4 in 4.0␞981015s1948    enk         
> 000    g0=ASCII_DEFAULT g1=EXTENDED_LATIN at
> /usr/share/perl5/MARC/Charset.pm line 308.

I think this may be from copying/pasting or the way it was downloaded - you can
simply export a single record from your koha in marc format and add:
U8kohauserP8kohapass
at the start - connection expects those two fields then parses the rest as marc
- you will need to create a user with those credentials and permissions to edit
the catalogue - or substitute your own credentials



> 4) For step 8 we get the following, is this to be expected?
> 
> kohadev-koha@kohadevbox:koha((v24.05.06))$     cat bug_33418.test  | nc -v
> localhost 8888
> nc: connect to localhost (::1) port 8888 (tcp) failed: Connection refused
> Connection to localhost (127.0.0.1) 8888 port [tcp/*] succeeded!
> Unsuccessful requestkohadev-koha@kohadevbox:koha((v24.05.06))$

No, the request shoudl be successful, but perhaps the user wasn't created?
I get:
kohadev-koha@kohadevbox:koha(main)$ cat bug_33418.test  | nc -v localhost 8888
nc: connect to localhost (::1) port 8888 (tcp) failed: Connection refused
Connection to localhost (127.0.0.1) 8888 port [tcp/*] succeeded!
Success.  Batch number 2 - biblio record number 439 overlaid by import.

http://kohadev-intra.myDNSname.org:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=439kohadev-koha@kohadevbox:koha(main)$

-- 
You are receiving this mail because:
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