IRC log for #koha, 2021-04-28

All times shown according to UTC.

Time S Nick Message
00:08 cait1 joined #koha
04:29 tuxayo dcook_: Hi :) the "Optimizing Starman startup" koha-devel email thread is quite over my head but still instructive. You often dig up interesting stuff ^^
04:30 dcook_ Haha. Thank you
04:31 dcook_ tuxayo: I'm not sure what else to say than I like solving problems
04:31 tuxayo :D
04:31 dcook_ At the office, we were willing to just wear the cost of the heavy startup, but it just bothers me
04:37 tuxayo dcook_: "wear the cost of the heavy startup" sorry I don't get it
04:37 tuxayo ok!
04:37 tuxayo i see
04:38 tuxayo => that the startup time was bearable
04:39 tuxayo I went reading the email thread when I noticed that restart_all in KTD uses a lot of CPU during a few seconds. And it was starman ^^
04:40 dcook_ Ah sorry for the idiom
04:40 dcook_ Yeah Starman is hungry..
04:40 dcook_ Even with this optimization, it'll probably still use a lot of CPU for a little bit. But less.
04:41 dcook_ And in the context of many instances being (re)started... it's a huge benefit
04:43 dcook_ tuxayo: I keep wanting to make Koha more efficient..
04:55 dcook_ tuxayo: And if you want to see interesting take a look at https://bugs.koha-community.or[…]_bug.cgi?id=12017
04:55 huginn Bug 12017: enhancement, P5 - low, ---, bgkriegel, Patch doesn't apply , Move language description out of database
04:55 dcook_ I actually just learned the thing about Chinese sorting using radicals and stroke count hehe
04:56 dcook_ Also if anyone wants the easiest SO... bug 28244
04:56 huginn Bug https://bugs.koha-community.or[…]_bug.cgi?id=28244 trivial, P5 - low, ---, dcook, Needs Signoff , Ukrainian is misspelled in language tables for English
04:58 tuxayo > Chinese sorting using radicals and stroke count
04:58 tuxayo Oh right! ideograms can't be sorted like small alphabets ^^"
05:02 dcook_ Of course not I'm wondering if Perl just sorted it on byte ordr..
05:02 dcook_ I mean maybe that's how they choose which bytes to use..
05:02 dcook_ That's too much of a rabbithole for me for today though heh
05:07 chriss joined #koha
05:15 tuxayo > maybe that's how they choose which bytes to use
05:15 tuxayo That would make sense. hopefully no ideograms are added over the years.
05:52 dcook_ tuxayo: Nah, I took at the tables and it's hopeless hehe
05:53 dcook_ I think the first examples I saw were coincidence
05:54 did joined #koha
06:31 reiveune joined #koha
06:32 reiveune hello
06:34 paul_p joined #koha
06:46 lds joined #koha
06:47 alex_a joined #koha
06:47 alex_a Bonjour
06:53 magnuse \o/
06:59 cait joined #koha
07:01 cait1 joined #koha
07:10 TImothyAlexis joined #koha
07:11 TImothyAlexis I've completed adding a MARC preview column to the authorities search results, using the same kind of modal which is on the biblio detail page. I did it in our version, should I add it as a patch for master too?
07:12 TImothyAlexis My colleagues think cataloguers at other libraries should want this enhancement too.
07:13 Joubu yes, that would be useful
07:24 ashimema nice easy QA available on bug 15788 if anyone wants it ;)
07:24 huginn Bug https://bugs.koha-community.or[…]_bug.cgi?id=15788 enhancement, P5 - low, ---, martin.renvoize, Signed Off , Split borrowers permission into create/edit and delete
07:24 ashimema That would be great TimothyAlexis :)
07:27 * cait1 waves
07:27 magnuse TimothyAlexis++
07:27 magnuse kia ora cait1
07:27 TImothyAlexis Which component is it?
07:28 fridolin joined #koha
07:34 Joubu "MARC authority data support"?
08:06 reiveune left #koha
08:12 reiveune joined #koha
08:57 TimothyAlexis joined #koha
09:18 huginn News from kohagit: Bug 17202: DBRev 20.12.00.042 <https://git.koha-community.org[…]f35a37ce0ac70eb94>
09:18 huginn News from kohagit: Bug 17202: (follow-up) Conditionally add FK <https://git.koha-community.org[…]6684a5bfd4d50b715>
09:18 huginn News from kohagit: Bug 17202: Unit tests <https://git.koha-community.org[…]637982f4261638ce1>
09:18 huginn News from kohagit: Bug 28234: Regression tests <https://git.koha-community.org[…]b314e84a8f44f9f4d>
09:19 huginn News from kohagit: Bug 28234: TestBuilder->build_sample_biblio should set UTF-8 encoding for record <https://git.koha-community.org[…]2ccb4ce65941e0f55>
09:19 huginn News from kohagit: Bug 28230: Regression tests <https://git.koha-community.org[…]37ea505a43f578730>
09:19 huginn News from kohagit: Bug 28230: Store C4::Message->{metadata} as Perl string always <https://git.koha-community.org[…]3f242bfce00ee3d8e>
09:19 huginn News from kohagit: Bug 28213: Prevent crash if patron or club deleted after search to hold <https://git.koha-community.org[…]469b034e563819ced>
09:19 huginn News from kohagit: Bug 17202: (QA follow-up) Add foreign key constraint <https://git.koha-community.org[…]1aff90394c6dc8319>
09:19 huginn News from kohagit: Bug 28202: Unit test <https://git.koha-community.org[…]dc6f4d54a9db850a0>
09:19 huginn News from kohagit: Bug 28202: Pickup libraries must be sorted by name when placing hold <https://git.koha-community.org[…]21e699abc179a6fb9>
09:19 huginn News from kohagit: Bug 28169: Add quotes around value in template to render proper JS <https://git.koha-community.org[…]d0d5765a0535378f9>
09:19 huginn News from kohagit: Bug 28148: Remove 'print' class from 'Print transfer slip' when transfer exists <https://git.koha-community.org[…]9cebe5b54d6e0f6b5>
09:19 huginn News from kohagit: Bug 17202: Don't report an item in a collection if the collection doesn't exist <https://git.koha-community.org[…]b1b13bf9a82640bd8>
09:19 huginn News from kohagit: Bug 27842: (follow-up) Correct existing serail/subscriptionhistory before deletion <https://git.koha-community.org[…]6c0de531ee247e139>
09:19 huginn News from kohagit: Bug 27842: Update serial.biblionumber when a subscription is linked with another... <https://git.koha-community.org[…]e5eff3ec901d6f067>
09:19 huginn News from kohagit: Bug 27842: Add tests <https://git.koha-community.org[…]cf82ac7e0a1dfcc0e>
09:19 huginn News from kohagit: Bug 27819: Fix Object POD <https://git.koha-community.org[…]4a9c534b1c6095065>
09:19 huginn News from kohagit: Bug 27819: Spurious item deletion errors from delete_records_via_leader.pl <https://git.koha-community.org[…]cdd3bd7449c5fbd3a>
09:24 chriss joined #koha
09:46 TimothyAlexis joined #koha
09:47 TimothyAlexis I'm trying to attach a patch and I get an error
09:47 TimothyAlexis NameError: global name 'host' is not defined
09:47 wahanui i already had it that way, TimothyAlexis.
09:48 Joubu check your git-bz configuration
09:50 TimothyAlexis I reviewed the Git bz configuration guide: https://wiki.koha-community.or[…]_bz_configuration
09:50 TimothyAlexis And the configuration I have is the same.
09:53 koha-jenkins Project Koha_Master_D9_MDB_Latest build #580: STILL UNSTABLE in 35 min: https://jenkins.koha-community[…]9_MDB_Latest/580/
09:58 Joubu TimothyAlexis: edit ~/.gitconfig
09:58 Joubu search for bz-tracker
09:58 wahanui joined #koha
09:58 Joubu you should see
09:58 Joubu [bz-tracker "bugs.koha-community.org"] path = /bugzilla3 https = true
09:59 Joubu bz-user and bz-password with your bugzilla credentials
10:00 TimothyAlexis I found it, thank you Joubu++
10:01 Joubu what was it?
10:01 TimothyAlexis The file had been overwritten.
10:19 koha-jenkins Project Koha_Master_D9 build #1640: STILL UNSTABLE in 1 hr 0 min: https://jenkins.koha-community[…]a_Master_D9/1640/
10:21 koha-jenkins Project Koha_Master build #1634: STILL UNSTABLE in 1 hr 1 min: https://jenkins.koha-community[…]Koha_Master/1634/
10:31 oleonard Hi all
10:31 ashimema morning oleonard
10:34 koha-jenkins Project Koha_Master_D10_CPAN build #315: STILL UNSTABLE in 1 hr 15 min: https://jenkins.koha-community[…]ter_D10_CPAN/315/
10:35 khall joined #koha
10:40 cait joined #koha
10:49 koha-jenkins Project Koha_Master_D9_My8 build #561: STILL UNSTABLE in 41 min: https://jenkins.koha-community[…]aster_D9_My8/561/
10:54 koha-jenkins Project Koha_Master_D11 build #281: STILL UNSTABLE in 47 min: https://jenkins.koha-community[…]a_Master_D11/281/
11:13 koha-jenkins Project Koha_Master_U_Stable build #170: STILL UNSTABLE in 51 min: https://jenkins.koha-community[…]ter_U_Stable/170/
11:43 fridolin joined #koha
11:44 henryb joined #koha
12:44 marie-luce joined #koha
12:48 Dyrcona joined #koha
13:03 khall joined #koha
13:06 lukeG1 joined #koha
13:49 stefan joined #koha
13:53 stefan hello. I'm looking for a quick help on how to write a request against the rest api. how do I get information about orders from koha? I've tried /api/v1/acquisitions/orders/1832, /api/v1/acquisitions/orders/?order_id=1832, /api/v1/acquisitions/orders/?order_number=1832, and many more, but I only get exceptions from koha back. does anyone know how to write this?
13:56 Joubu stefan: Hit /api/v1/.html#op-get--acqu​isitions-orders--order_id-
13:56 Joubu it will tell you it's: GET /api/v1/acquisitions/orders/{order_id}
13:56 Joubu Which version of Koha are you using? Are you sure the route is already implemented in your version?
13:58 stefan we have version 20.05.09
13:59 Joubu which error do you get?
14:02 stefan our version doesn't say /api/v1/acquisitions/orders/{order_id}
14:02 stefan sorry. it does
14:03 stefan I get "message": "Expected integer - got null.",
14:03 stefan "path": "/created_by"
14:04 stefan this is when I do a call against /api/v1/app.pl/api/v1/acquisitions/orders/1832
14:04 stefan a get request
14:06 stefan I'm using ordernumber from table aqorders. is this the order id?
14:08 Joubu try GET /api/v1/acquisitions/orders/1832 (remove the /api/v1/app.pl from the beginning)
14:09 stefan get the same exception
14:11 Joubu do you find something more meaningful in the Koha logs?
14:13 stefan [2021-04-28 14:09:28.04709] [601399] [warn] OpenAPI >>> GET api/v1/acquisitions/orders/1832 [{"message":"Expected integer - got null.","path":"\/created_by"}]
14:14 Joubu stefan: double check the value of aqorders.created_by for ordernumber=1832
14:14 Joubu looks like it's undef
14:15 Joubu and the API expects an integer (borrowernumber)
14:16 stefan if I call /api/v1/acquisitions/orders/ to get all I get
14:16 stefan [2021-04-28 14:10:21.48828] [600131] [warn] OpenAPI >>> GET api/v1/acquisitions/orders/ [{"message":"Expected integer - got null.","path":"\/0\/created​_by"},{"message":"Expected integer - got null.","path":"\/1\/created​_by"},{"message":"Expected integer - got null.","path":"\/2\/created​_by"},{"message":"Expected integer - got null.","path":"\/3\/created​_by"},{"message":"Expected integer - got null.","path":"\/4\/created_by"},{"message":"Exp
14:16 Joubu and that would be a bug, it has a "default null" at DB level
14:16 Joubu tcohen: ^
14:17 stefan created_by is null in db
14:17 Joubu stefan: it's a bug, please report on the bug tracker
14:17 stefan Ok. I will. thanks for your help
14:17 Joubu a workaround would be to set aqorders.borrowernumber=a fictive (or not) borrowernumber
14:17 Joubu fictive=created patron for this purpose only
14:18 stefan would that solve the created_by problem?
14:19 Joubu should fix it, yes, at DB level. The real fix is to adjust the API specs
14:21 caroline do we have any plans on translating the cookbook?
14:21 stefan aqorders.borrowernumber does not exist. http://schema.koha-community.o[…]les/aqorders.html
14:21 stefan do you mean created_by?
14:22 Joubu yes sorry
14:23 stefan ok. thanks
14:31 Joubu bug 28248
14:31 huginn Bug https://bugs.koha-community.or[…]_bug.cgi?id=28248 major, P5 - low, ---, koha-bugs, NEW , Exception when getting all orders
14:34 koha-jenkins Project Koha_Master build #1635: ABORTED in 8 min 52 sec: https://jenkins.koha-community[…]Koha_Master/1635/
14:39 Joubu mtj: playing with Jenkins?
14:40 mtj hi Joubu, just building new docker images, then a jenkins build
14:43 mtj ...my main laptop died 2 days ago, so running a bit behind on stuff :/
14:45 Joubu erk bad news!
14:46 mtj not tooo bad, i have spares :p
14:48 mtj i spilt coffee on the laptop  (my first time)
14:50 mtj i'll aim to have the packages up in 1 hour
14:57 koha-jenkins Project Koha_Master build #1636: FAILURE in 4 min 56 sec: https://jenkins.koha-community[…]Koha_Master/1636/
15:17 lisettelatah joined #koha
15:17 lisettelatah Morning (or afternoon, or evening) all
15:26 reiveune bye
15:26 reiveune left #koha
15:29 fridolin left #koha
15:30 khall joined #koha
15:45 khall joined #koha
15:58 koha-jenkins Project Koha_Master build #1637: NOW UNSTABLE in 1 hr 1 min: https://jenkins.koha-community[…]Koha_Master/1637/
16:04 koha-jenkins Project Koha_20.11_D10 build #92: SUCCESS in 1 hr 0 min: https://jenkins.koha-community[…]oha_20.11_D10/92/
16:05 koha-jenkins Project Koha_20.05_D10 build #284: SUCCESS in 47 min: https://jenkins.koha-community[…]ha_20.05_D10/284/
16:27 koha-jenkins Project Koha_19.11_D10 build #150: SUCCESS in 37 min: https://jenkins.koha-community[…]ha_19.11_D10/150/
16:32 khall joined #koha
16:42 * cait1 waves at lisettelatah and runs out
16:42 cait1 left #koha
16:51 khall joined #koha
17:20 khall_ joined #koha
17:23 khall_ joined #koha
18:27 paul_p joined #koha
18:39 cait joined #koha
18:47 khall joined #koha
19:24 magnuse wow, 11 minutes to download the koha-common package on a linode. don't think i have seen that before
19:29 magnuse well, not quite 11: Fetched 65,5 MB in 8min 47s (124 kB/s)
19:44 magnuse otherwise a very smooth upgrade from 20.05.04 to 20.11.05. yay team!
19:52 Nemo_bis Nice. Is everyone upgrading at once?
19:52 Nemo_bis Reliable releases making people more likely to upgrade, making upgrade slower? :D
19:55 tcohen you need to keep the intrigue
19:56 Nemo_bis Seems to be about 1 MB/s at the moment for me in Finland
19:58 Nemo_bis I often enjoy the mirrors at https://mirrorservice.org/ and https://ftp.acc.umu.se/about/index.html for other things FWIW

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary