IRC log for #koha, 2019-04-05

All times shown according to UTC.

Time S Nick Message
00:02 papa joined #koha
01:23 kathryn joined #koha
02:45 wizzyrea joined #koha
05:32 calire joined #koha
05:47 davidnind joined #koha
05:57 magnuse \o/
06:30 andreashm joined #koha
06:52 andreashm joined #koha
06:54 AndrewIsh joined #koha
06:56 alex_a joined #koha
06:56 alex_a bonjour
06:56 reiveune joined #koha
06:56 reiveune helo
07:09 fridolin joined #koha
07:10 fridolin hi
07:11 paul_p joined #koha
07:13 calire anyone able to get into ?
07:15 magnuse nope, "Service Unavailable"
07:15 calire yeah that'S what we get too
07:18 magnuse and the argentinians are sleeping, i guess...
07:18 calire most likely :)
07:33 josef_moravec joined #koha
07:48 laurence joined #koha
07:52 ashimema indragd isnt' online either
07:57 laurence joined #koha
08:08 magnuse good for our gdpr compliance if bug 22646 can get a signoff :-)
08:08 huginn` Bug[…]_bug.cgi?id=22646 normal, P5 - low, ---, koha-bugs, Needs Signoff , Fix use of PrivacyPolicyURL
08:43 fridolin joined #koha
08:54 cait joined #koha
08:58 * andreashm waves
09:05 vfernandes joined #koha
11:39 oleonard joined #koha
11:40 oleonard Hi #koha
11:43 cait hi oleonard :)
11:43 cait oleonard++ :)
11:45 oleonard Yes I too believe I deserve praise for showing up
11:45 cait was more thinking of the pathces i found in the bugzilla emails... but you can do with the karma as you please :)
11:46 oleonard Some mornings we all need a little extra encouragement
11:52 magnuse you know it's friday when... you start typing Koha::Records instead of Koha::Biblio
11:52 cait well... i see that it would make sense
11:53 oleonard Koha::Records is so much better than the "remastered" Koha::CDs
11:53 oleonard But everyone should see Koha::Live at least once in their life.
11:54 cait heh
11:54 alex_a joined #koha
11:55 magnuse lulz
12:03 magnuse gah! whu do i get "Can't use string ("Koha::Biblio") as a HASH ref while "strict refs" in use" when i try to do this: my $records_count = Koha::Biblio->search->count;
12:04 cait it somehow doesn't look right
12:04 cait but... gah.
12:04 cait wondering... would search need some limits?
12:05 magnuse as far as i can see, it is done this way a gazillion times in Koha code. e.g.: my $count1 = Koha::Holds->search->count;
12:21 ere magnuse: Shouldn't it be Biblio*s*?
12:22 ere And you did `use Koha::Biblios` before that, right? :)
12:25 magnuse yup
12:26 magnuse gah! you are probably right, there is both ::Biblio and ::Biblios...
12:26 magnuse thanks!
12:26 magnuse i already switched to old skool sql, though ;-)
12:28 ere magnuse: :)
12:29 cait ... that was it :P
12:38 alex_a_ joined #koha
12:57 caroline_catlady joined #koha
12:57 caroline_catlady Good morning!
12:58 oleonard Hi caroline_catlady
12:58 oleonard 🐈
13:00 cait bye all - catching a train :)
13:04 calire left #koha
13:06 magnuse the item search results table does not display itemtype?
13:09 oleonard Strange that no one has complained before now magnuse, I guess I didn't even notice
13:25 vfernandes hi #koha
13:26 caroline_catlady Can you use runtime variables (https://wiki.koha-community.or[…]Runtime_Variables) with LIKE in reports? or it has to be =?
13:26 caroline_catlady I'm getting collation errors -_-
13:28 vfernandes i'm getting an error when passing a empty/null date to output_pref( { dt => dt_from_string( $date ), dateonly => 1 } )
13:28 oleonard caroline_catlady: One of the examples in that section uses LIKE, so I assume it's possible
13:29 vfernandes when date is null, output_pref receives dt = "dateonly"
13:29 vfernandes which is strange
13:29 enaut joined #koha
13:29 caroline_catlady oleonard, you're right, I hadn't seen it
13:30 caroline_catlady thanks for looking :)
13:30 oleonard vfernandes: Are you trying to format a date before outputting it in the template?
13:30 vfernandes yes
13:31 oleonard vfernandes: We can do that with the $KohaDates template plugin now
13:32 vfernandes I know, but i getting an error with some serials after upgrading to the last Koha
13:32 vfernandes in some of them the planneddate or the publisheddate is null
13:34 vfernandes Can't locate object method "ymd" via package "dateonly" (perhaps you forgot to load "dateonly"?) at /etc/koha/lib/Koha/ line 233.
13:34 oleonard What page are you on vfernandes ?
13:35 vfernandes output_pref( { dt => dt_from_string( $line->{planneddate} ), dateonly => 1 } )
13:35 vfernandes -> GetLatestSerials
13:36 vfernandes oleonard: how output_pref is receiving dt = dateonly
13:36 oleonard vfernandes: How can I reproduce the problem? What page do I navigate to?
13:37 koha-jenkins Project Koha_Master_D9 build #701: SUCCESS in 27 min: https://jenkins.koha-community[…]ha_Master_D9/701/
13:37 enaut hey guys I'm trying to move our school library from some ancient "library for windows" program to koha... (not a librarian but a computer science guy)... I installed koha without issues but how do I import the data? I succeeded to export some file but I have no idea what format it is and how to get it to Marc21
13:37 enaut
13:37 tallestjoy joined #koha
13:37 enaut Can you Identify the format and give me a name so I can google for conversion solutions?
13:38 caroline_catlady enaut that kinda looks like MARC, but in text format
13:38 caroline_catlady (txt)
13:38 magnuse i think that is called "marc line format"?
13:38 magnuse ...which koha can't ingest directly
13:39 magnuse but have a look at MarcEdit, it might be able to convert to ISO2709 or MARCXML, which koha can ingest
13:39 * magnuse wanders off
13:40 vfernandes perl -e 'use Koha::DateUtils; my $date = "0000-00-00"; output_pref( { dt => dt_from_string( $date ),   dateonly => 1 } );'
13:40 oleonard enaut:
13:40 oleonard vfernandes: I can try to help you if you describe to me how to reproduce the error in my installation of Koha.
13:41 vfernandes set planneddate or publisheddate of one serial to NULL or '0000-00-00'
13:41 enaut caroline_catlady, oleonard: thanks!
13:41 vfernandes then try to open the details of the subscription record
13:41 oleonard enaut: I don't think that MARC text is ready to paste into MarcEdit and go, but that's definitely the tool you'll want to compile it after you've massaged the data
13:44 koha-jenkins Project Koha_Master_D8 build #207: SUCCESS in 36 min: https://jenkins.koha-community[…]ha_Master_D8/207/
13:47 koha-jenkins Project Koha_Master_U18 build #195: UNSTABLE in 37 min: https://jenkins.koha-community[…]a_Master_U18/195/
13:48 oleonard Sorry vfernandes I can't reproduce that problem
13:49 vfernandes oleonard: can you execute this on command line? perl -e 'use Koha::DateUtils; my $date = "0000-00-00"; output_pref( { dt => dt_from_string( $date ),   dateonly => 1 } );'
13:51 oleonard I get "output_pref is called with 'dateonly' (ref SCALAR), not a DateTime object"
13:54 Freddy_Enrique joined #koha
14:38 wizzyrea joined #koha
14:38 oleonard Hi wizzyrea
14:39 wizzyrea joined #koha
14:50 fridolin left #koha
14:51 Freddy_Enrique joined #koha
14:57 laurence left #koha
14:58 eythian way to scare people away temporarily oleopard
14:59 oleonard When they return they have faced their fears and they are stronger for it.
15:00 alex_a joined #koha
15:08 reiveune bye
15:08 reiveune left #koha
15:16 andreashm joined #koha
15:33 wizzyrea whoa what'd I miss
15:33 wizzyrea oleonard scaring people again
15:33 wizzyrea also hi
16:37 wizzycray joined #koha
17:12 oleonard Bye all
18:15 AndrewIsh joined #koha
21:01 andreashm joined #koha
21:02 andreash_ joined #koha

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