IRC log for #koha, 2024-01-30

All times shown according to UTC.

Time S Nick Message
06:42 paxed so, there's no command-line script to undelete biblios &c?
06:55 fridolin joined #koha
06:55 fridolin yellow
07:19 magnuse \o/
07:20 magnuse paxed: don't think so, the only thing i know about is a plugin
07:20 paxed it's simple enough, just few sql, but still ...
07:27 fridolin joined #koha
07:35 magnuse paxed: either it's not something a lot of people want to do, or it's so simple everyone has their own solutions
07:37 reiveune joined #koha
07:37 reiveune hello
07:53 lds joined #koha
08:05 cait joined #koha
08:06 Joubu fancy yet another auth bug? bug 35935
08:06 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=35935 major, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Wrong branch picked after an incorrect login
08:07 cait hm auth bug for breakfast? not sure about that
08:09 Joubu not what I prefer either
08:10 Joubu but there is a patch and testing is easy..
08:36 cait I need tot ake care of the other chaos first
08:59 NikolayGospodinov[m] Hello, I have the following question. Someone has uploaded Koha electronic materials to Europeana
09:00 magnuse Joubu: i'm having a go at 35935
09:04 magnuse done
09:08 magnuse joined #koha
09:11 Joubu thanks, magnuse!
09:14 ashimema morning
09:14 ashimema magnuse, just the man 🙂
09:14 ashimema Is 'Libris' like a Union catalogue?
09:15 magnuse lets see, yes i guess you would say so
09:16 magnuse cataloguiing happens there, and then records are exported from there to local ils'es
09:16 ashimema I've been tasked with integrating
09:17 magnuse Libris does not know about items, but can fetch item data in real time from ils'es
09:17 magnuse lucky you ;-)
09:17 ashimema I'm thinking a regular stage + commit from the command line nightly as a starting point
09:17 ashimema somewhat came out of nowhere for me.. lol.. sales people love committing me to things 😜
09:18 magnuse lulz
09:18 ashimema at some point I think Pedro will likely submit some merge requests to the Libris ILL backend btw.. to update it to ILL2.0 plugin style.. but it's a way off
09:19 magnuse that would be awesome
09:19 magnuse here is something a number of libraries use to import records from Libris: https://github.com/Libriotech/ftp2koha it can do both ftp and oai-pmh
09:20 ashimema oh cool, thanks for sharing
09:20 ashimema 🙂
09:20 magnuse :-)
09:21 ashimema We have loads of ftp scripts knocking around.. I've been meaning to try and turn them into a plugin for a while
09:21 magnuse interesting!
09:21 ashimema I kinda want to create a system where plugins can depend on other plugins
09:21 ashimema so a generic 'ftp' plugin would be a dependancy of various 'importer' plugins
09:22 magnuse +1
09:22 ashimema I get the feeling we're all writing our own 'quick and dirty' scripts to do the same stuff
09:22 ashimema mostly
09:22 ashimema be nice to formalise some bits of it and share the work ☹️
09:22 ashimema 🙂
09:22 ashimema even
09:24 magnuse hehe, that does sound like an awesome plan
09:28 ashimema EDI does ftp/sftp/ftps/scp all 'in koha'.. I reckon we could borrow a lot from it
09:28 ashimema has a nice enough UI for configuring etc
09:28 ashimema anywho.. many thanks for sharing
09:29 magnuse np
10:52 tcohen hola #koha o/
11:19 PedroAmorim[m] \o
11:21 oleonard o/
11:22 khall joined #koha
11:23 paulderscheid[m] I now know what OAI-PMH is. I want that :D
11:23 paulderscheid[m] morning #koha btw
11:25 paulderscheid[m] maybe we should tag everything on github w/ koha that's related to it ashimema magnuse
11:25 paulderscheid[m] Does gitlab have tags?
11:27 Joubu How do I share a list at the OPAC? it's private, OpacAllowSharingPrivateLists is on but "Share list" is hidden (the link is in the DOM)
11:36 oleonard I don't see that Joubu
11:40 Joubu oleonard: https://snipboard.io/ACEZTI.jpg
11:40 Joubu I am sure I am missing something obvious here...
11:41 krimsonkharne[m] is the link inside the list?
11:41 Joubu the "Share list" on the detail and "Share" on the list view, both buttons are missing
11:41 krimsonkharne[m] hmm
11:41 Joubu ha
11:41 Joubu ...
11:41 Joubu this one again
11:42 Joubu bug 33331
11:42 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=33331 normal, P5 - low, ---, oleonard, NEW , Qwant VIPrivacy is hidding "Share list" link
11:42 Joubu I need more space in my brain to store all those useless things
11:44 Joubu we need to turn wahanui into an AI bot
11:45 Prince joined #koha
11:45 oleonard Doesn't speak well of Qwant's extension if the existence of the word "share" is all it takes to get it hidden.
11:48 Joubu it's the sharelist class
12:09 * cait waves
12:12 * cait pushes things
12:12 oleonard \o/
12:13 cait well... git bz applying things... but push will be coming
12:15 oleonard Pretty soon I'll be ready to slip a Bootstrap 5 patch in between two smaller patches so you don't even notice it's there until after you push it ;)
12:15 cait lol
12:15 cait you can try... but I doubt it
12:15 * cait is being thorough
12:15 cait that said, I trust you tested bug 35483
12:15 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=35483 normal, P5 - low, ---, lari.taskula, Passed QA , Restore item level to record level hold switch in hold table
12:16 oleonard I remember testing it
12:16 cait always a good sign
12:19 Herwig joined #koha
12:23 cait hm no Matt around
12:23 cait ashimema: can you trigger him maybe?
12:24 ashimema consider him poked
12:24 ashimema he might be on lunch though.
12:30 cait thx anyway :) I think I resolved my first quesiton, running cypress tests now
12:31 magnuse cait++
12:31 ashimema 🙂
12:32 Herwig joined #koha
12:35 lds joined #koha
12:39 fridolin joined #koha
12:54 Herwig_ joined #koha
12:55 MatthewBlenkinsop[m] joined #koha
12:55 MatthewBlenkinsop[m] Sorry cait, was just on a lunch run - still need me for something?
12:58 Herwig_ Hello we are using koha 3.22 our server has moved to a new machine but now if i stage a mark file it get staged but i cant import them annymore also marc files i imported succesfully before the new server annyone anny id what the cause could be
12:58 ashimema wow.. that's going back
12:58 ashimema I've not seen a 3.22 series in years
12:58 Herwig_ ye we did not update in a while
12:58 cait maybe
12:59 cait MatthewBlenkinsop[m]: waiting for test results, but I think we might have an issue in preseration
12:59 cait hm
12:59 ashimema not since 2015 😉
12:59 cait or maybe you are not to blame for that, it looks likee we have failing cypress tests either way
13:00 ashimema actually.. it went out of support in May 22 2017
13:00 ashimema was a good release though.. had a long innings
13:00 cait ah, I was confused, but you are talking about 3.22
13:00 ashimema I'm afraid Herwig_ you're unlikely to find many people with a memory that long 😜
13:01 Herwig_ well we are planning an update afther this well that is what it says today ;)
13:01 cait MatthewBlenkinsop[m]: as you know more vue than i do... could you confirm that the tests are failing without the patches for you too?
13:01 cait https://paste.koha-community.org/37060
13:01 ashimema you'll likely need to take a deep dive into the logs and look at your dependancies and things
13:01 Herwig_ dependdancies on ?
13:02 ashimema Koha's depends on all sorts of perl modules and those might depend on various other code libraries and things
13:03 cait fi your new server has a new OS it might be something is not compatible
13:03 ashimema I'd put money on it being that your new server is using a much newer version of something that Koha is using and that there's been an incompatible change in that dependency that's causing you issues
13:03 Herwig_ it is lifted and chifted to a new system so nothing should have been changed
13:03 ashimema the hole OS image etc was moved?
13:03 ashimema or just Koha transplanted onto a new system
13:04 cait MatthewBlenkinsop[m]: Joubu confirms he sees the failures too, so we can rule out the infinite scroll - you are innocent ;)
13:04 Herwig_ as it is telling me (sitting next to me) they just moved everything os included
13:05 cait we used to have 3.22
13:05 cait if it's not a dependency issue... you still need to dig a big
13:05 ashimema interesting
13:05 ashimema OK.. I'm at a blank then
13:05 cait it could be the temp file not having right permissions or something like that
13:05 cait I very darkly remember something like that happeneing...
13:05 ashimema anything showing up in the Logs?
13:06 * ashimema liked 3.22.. but wow things have moved on since then
13:06 Herwig_ they will look at it later i keep you posted
13:18 marcelr joined #koha
13:18 marcelr o/
13:19 marcelr does anyone know the background of this qa tools warn pattern :{pattern => qr{_\('.*'\)}   , error => "simple-quote string"},  for single quoted strings ?
13:19 marcelr in templates
13:21 Joubu _('your string') is correct
13:21 Joubu you need _("your string")
13:21 marcelr why is single quote incorrect ?
13:21 Joubu _('The elephant') => 'l'éléphant' => boom
13:22 marcelr Yes but thats not my example, that just wrong quoting
13:22 marcelr cant we find example with " too ?
13:24 Joubu no
13:24 Joubu or it will explode
13:24 marcelr ok feels like a workaround
13:25 Joubu git log and you will find the bug number
13:25 marcelr git knows it all :)
13:26 cait French
13:26 cait it's a translation related coding guideline
13:27 cait translators can't tell the context of the string so they don't know how/when to escape chars
13:27 cait and we also had trouble in Pootle when we tried to escape things in the past
13:29 marcelr ok
13:30 Joubu cait: bug 35940
13:30 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=35940 normal, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Cypress tests for the Preservation module are failing
13:31 cait thanks
13:31 cait does it mean Jenkins was not running them?
13:31 Joubu yes
13:31 cait shoudl we fix that too?
13:31 Joubu no
13:31 Joubu it's expected
13:32 Joubu we run them if other things went well
13:34 Joubu @later tell PedroAmorim[m] could you QA 34886?
13:34 huginn` Joubu: The operation succeeded.
13:36 Joubu cait: I think it is still failing, inconsistently (on another test)
13:37 khall joined #koha
13:45 cait I'll wait for QA step
13:50 Dyrcona joined #koha
14:53 tcohen wizzyrea++
15:15 cait wizzyrea++
15:15 cait website?
15:41 lukeg joined #koha
15:42 lukeg marcelr: https://bugs.koha-community.or[…]_bug.cgi?id=35950
15:42 huginn` Bug 35950: normal, P5 - low, ---, koha-bugs, NEW , Move the handling of statistics patron logic out of CanBookBeIssued
15:42 lukeg Your opinion here would be much appreciated
15:42 marcelr ok
15:44 marcelr could you add a use case? is this kind of postponed cleanup action?
15:45 marcelr what should be the trigger?
15:47 JasonGreene[m] Following this "https://www.youtube.com/watch?v=syebBnhiARk&t=27s" to create the Patron Category, however the new version of Koha doesn't seem to have the link "Patron categories".
15:47 JasonGreene[m] Is there a new link on Koha 23 ?
15:47 marcelr anyone seeing this on perl -cw Koha/AuthorisedValue.pm ? Inconsistent hierarchy during C3 merge of class 'Koha::AuthorisedValue':
15:47 marcelr on current master
15:48 oleonard Is this a good idea? https://pasteboard.co/jt6MYbDBN6KF.gif
15:48 marcelr line 25 use base qw(Koha::Object Koha::Object::Limit::Library);
15:48 ashimema I've seen that a bunch of times marcelr
15:48 ashimema I have no idea what the fix might be though ☹️
15:49 marcelr hmm
15:49 ashimema what am I looking at oleonard 🙂 ?
15:49 Joubu I like it, oleonard
15:50 ashimema I like the idea of putting the library/desk/register stuff in that menu
15:50 caroline I like it oleonard
15:50 ashimema less sure about cog/menu button/form button there
15:50 ashimema but yeah.. generally I love it
15:50 oleonard ashimema: Yeah that was a quick add for the test
15:52 lukeg oleonard: that is nice, i like it.
15:54 oleonard Cool I will try to make it a patch... soon.
15:56 oleonard ashimema: What do you have in mind for Bug 35939? Do you not like that the page stretches to fill the whole screen?
15:56 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=35939 enhancement, P5 - low, ---, martin.renvoize, NEW , Can we have an additional breakpoint for the staff client?
15:57 ashimema We actually it to stretch
15:58 ashimema It's that it doesn't for the square ratio right now that they find weird.
15:58 oleonard In what situation?
15:58 ashimema Wide-screen looks nice with a left need and centered buttons.. square looks odd having whitespace
15:58 ashimema Let me head back up to my laptop.. on the phone right now having just walked in the door from school run
16:00 ashimema maybe it isn't an additional breakpoint so much as just triggering the existing one earlier
16:00 bag joined #koha
16:03 ashimema interesting
16:03 ashimema I just looked at the markup
16:05 reiveune bye
16:05 reiveune left #koha
16:10 ashimema yeah.. I don't know that this is gong to be all the simple
16:10 ashimema basically they would prefer the existing breakpoint were at an earlier resolution
16:15 ashimema they'd like lg to trigger higher I think
16:18 ashimema they want it to stay with the sm layout for a little longer.. for their 1024x1280 display's they've stuck in 'lg' but prefer ratios we have for 'sm'.. they don't want the 'greyspace' on the right side which basically takes up a same space as the left news block
16:18 ashimema it's a pain I reckon
16:18 JasonGreene[m] Is Patron categories no longer part of Koha or has its name changed?
16:18 JasonGreene[m] Koha 23
16:19 oleonard JasonGreene[m]: They're still there
16:19 ashimema it's still there
16:19 ashimema on the admin page
16:19 caroline Yeah, they should be under Administration > Patron categories
16:19 fridolin see u
16:19 ashimema 'Patr categories' first item under 'Patrons and ciruclation' on the 'Administration' page
16:19 fridolin left #koha
16:19 JasonGreene[m] :-) wherecaroline  you got it... thanks... there it is
16:20 caroline +1
16:21 ashimema I'm confused.. why is bug 35506 back to assigned?
16:21 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=35506 normal, P5 - low, ---, victor, ASSIGNED , selenium/regressions.t is failing randomly
16:21 ashimema I thought we'd agreed to push
16:59 cait It looks like it never left the ASSGINED status
17:00 cait there was no NSO or similar in its history
17:05 cait bye all
17:06 cait JasonGreene[m]: there is also no Koha 23 :) - either 23.05 or 23.11 - we do 2 major ones a year
17:14 ashimema Grr
17:36 lukeg Did additional_contents_localizations name get change or something? Wondering why I can't find it here: https://schema.koha-community.org/master/
17:37 ashimema marcelr did some work there fairly recently
17:37 JasonGreene[m] cait: Ok,  mine is Koha 23.05.04
19:50 tcohen @later tell Joubu I pushed some stuffs that make sense but are WIP
19:50 huginn` tcohen: The operation succeeded.
20:08 JasonGreene[m] I'm trying to remove a category and it says "This category is used 366 times" All protons are removed. What am I missing?
20:11 caroline JasonGreene[m], maybe check the database? There must be some patrons left with that category
20:12 caroline SELECT borrowernumber FROM borrowers WHERE categorycode = "ABC";
20:12 JasonGreene[m] thanks
20:13 caroline Or if you want the nuclear approach, you can UPDATE borrowers SET categorycode = "XYZ" WHERE categorycode = "ABC";
20:15 JasonGreene[m] hmmm... I don't know where to run those
20:15 caroline If you have access to the database, you can do it directly there. If not, you can do the select in the reports module
20:15 caroline reports > New from SQL
20:16 caroline And from there, you'll be able to batch edit the patrons to give them another category if necessary
20:16 caroline New from SQL : https://koha-community.org/man[…]l#report-from-sql
20:17 caroline batch modification 1 : https://koha-community.org/man[…]odification-tools
20:17 caroline batch modification 2 : https://koha-community.org/man[…]tron-modification
20:18 JasonGreene[m] I'll try, Thanks
20:41 JasonGreene[m] I think I found it....... (full message at <https://matrix.org/_matrix/med[…]eOsdnTNboStELBlFE>)
20:42 caroline JasonGreene[m], I would do a batch modification to change them, if that's the ultimate goal.
20:43 caroline From the report results, there should be a button "Batch operations with X visible records"
20:44 caroline You can change the Rows per page first (button right next to the batch button), lets say, Rows per page = 100, then Batch operations with 100 visible records > Batch patron modification
20:45 caroline Change the patron category in the batch tool, the rerun the report, you should have 1000 less results
20:45 caroline *100 less results
20:46 JasonGreene[m] I'd like to remove all of them
20:46 caroline Then Rows per page = 1000
20:47 caroline I like to try small batches at first to make sure it's doing what I think it's supposed to do, then do the rest of the batch in one go
20:53 JasonGreene[m] I don't see a "delete" option.
20:54 JasonGreene[m] or remove
20:54 caroline You want to delete the patrons?
20:54 JasonGreene[m] yes please
20:55 caroline ok, it's a bit of a longer road, but still possible
20:55 JasonGreene[m] I put them in too many times
20:55 caroline Oh, I think it might be easier that I thought. Go to Tools > Batch patron deletion and anonymization
20:56 caroline Check the box "Verify you want to delete patrons"
20:56 JasonGreene[m] ok
20:56 caroline Choose the category in "Whose patron category is"
20:56 caroline Click Next
20:57 caroline It should tell you how many will be deleted, then click Finish
20:57 caroline https://koha-community.org/man[…]ion-anonymization
21:00 JasonGreene[m] I did that and there are still some in there
21:00 caroline do they have checkouts, fines, holds or something like that?
21:01 JasonGreene[m] they have nothing... there are all new accounts
21:03 caroline I'm not sure what else would prevent deleting them
21:03 caroline Are you able to delete one of them manually? Patron account > More > Delete patron
21:05 JasonGreene[m] all account are gone and I'm trying to delete a Patron category and one won't let me because it says "This category is used 365 times. Deletion not possible"
21:07 caroline They are still in the borrowers table, so they are somewhere :/
21:07 JasonGreene[m] Sorry I'
21:07 JasonGreene[m] Sorry I'm lost
21:08 caroline yeah I'm a bit stumped too, sorry :/
21:11 khall joined #koha
21:15 JasonGreene[m] Thanks for your help, I'll pick up tomorrow and see what I can find.
21:20 JasonGreene[m] I got it... I changed the "Enrollment period" to yesterday and removed 364 connections... now only "one" is keeping it there... I move that date again and see what I get
21:22 JasonGreene[m] thanks again.  see you tomorrow

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