Time |
S |
Nick |
Message |
00:21 |
|
libsysguy |
o/ |
00:25 |
|
|
brylie joined #koha |
00:54 |
|
|
brylie joined #koha |
01:32 |
|
|
BobB joined #koha |
01:34 |
|
|
ago43 joined #koha |
02:04 |
|
mtj |
random Q, anyone know where a koha or kohacon12 vector file is? |
02:04 |
|
|
mtompset joined #koha |
02:05 |
|
mtj |
mle or slef? |
02:05 |
|
mtompset |
Greetings, #koha. |
02:05 |
|
mtompset |
Greetings, mtj |
02:05 |
|
libsysguy |
sup mtompset |
02:05 |
|
mtompset |
Greetings, libsysguy. |
02:06 |
|
mtompset |
I noticed your post about the Catalyst framework. |
02:06 |
|
mtj |
sup libz mtompz |
02:06 |
|
libsysguy |
heh |
02:06 |
|
mtj |
yeah, me too :) |
02:06 |
|
libsysguy |
uh oh |
02:06 |
|
mtompset |
Have you revised the authentication module already? :) |
02:06 |
|
libsysguy |
am I about to get pounced |
02:06 |
|
mtompset |
No, no pouncing. |
02:06 |
|
libsysguy |
actually I was just looking at it |
02:06 |
|
mtj |
heh, nah... :p |
02:07 |
|
mtj |
i *was* thinking hmm, why not dancer or mojo? |
02:07 |
|
libsysguy |
ugh mtj you and druthb with dancer |
02:07 |
|
mtompset |
I was thinking ... why not pure perl, because the hard way is more fun. :P |
02:07 |
|
|
Oak joined #koha |
02:07 |
|
Oak |
Ahoy me hearties |
02:07 |
|
libsysguy |
dancer is lighter but it doesn't have quite the backing that catalyst does |
02:08 |
|
libsysguy |
mtompset: i like the way you think :p |
02:08 |
|
libsysguy |
ello Oak |
02:08 |
|
Oak |
:) |
02:09 |
|
mtompset |
Thanks, libsysguy |
02:09 |
|
mtj |
libsysguy: yeah, i thought that was the most likely reason |
02:09 |
|
libsysguy |
do you prefer mojo or dancer over catalyst?? |
02:09 |
|
mtompset |
Actually, a couple late replies: http://www.youtube.com/watch?v=iz8yg9MYf8Q (ballerina girl due to 'dancer') |
02:09 |
|
mtj |
i dont have enuff experience with catalyst to say disagree |
02:09 |
|
libsysguy |
oops - one ? |
02:10 |
|
libsysguy |
I used it at a previous job |
02:10 |
|
libsysguy |
but that was about 3 years ago |
02:10 |
|
libsysguy |
we all know how much software can change in 3 years :p |
02:10 |
|
mtompset |
http://www.youtube.com/watch?v=tauYnVE6ykU (because of the way you guys greeted me and each other) :) |
02:11 |
|
mtj |
ive only used dancer so-far (for a toy-app) , but had a very pleasant experience |
02:11 |
|
mtj |
-> soba.kohaaloha.com |
02:11 |
|
libsysguy |
druthb seems to like it as well |
02:12 |
|
libsysguy |
dang it mtj now I want a beer |
02:12 |
|
mtompset |
By the way, does koha have any robots.txt to prevent indexing by web-spiders |
02:12 |
|
* mtompset |
grins. |
02:12 |
|
mtompset |
Sorry for the slow reply, but greetings Oak |
02:13 |
|
Oak |
Hello mtompset :) good to see you! |
02:13 |
|
mtompset |
And you too, Oak |
02:13 |
|
libsysguy |
ack forgot to export cpan to always say yes |
02:13 |
|
libsysguy |
why is it so needy all the time |
02:14 |
|
mtj |
libsysguy: mojo looked clever and snazzy, but too much learning curve for what i wanted.... |
02:14 |
|
libsysguy |
there is lots of stuff out there |
02:14 |
|
mtj |
dancer looked 'just right' for what i wanted |
02:14 |
|
libsysguy |
this is just kind of my idea of getting the ball rolling |
02:14 |
|
libsysguy |
im a little afraid of why I haven't gotten any replies to the devel list |
02:14 |
|
* libsysguy |
is a paranoid kind of guy |
02:16 |
|
mtompset |
Aren't all developers? ;) |
02:17 |
|
libsysguy |
heh true story |
02:18 |
|
* mtompset |
laughs, "I just looked at the site. No wonder libsysguy wants a beer. soba-winter-ale-festival combined with the budweiser 'wuzzap' = beer craving." |
02:18 |
|
libsysguy |
see…mtj is a cruel person |
02:20 |
|
mtj |
mwahahahahaaa... beer |
02:20 |
|
mtompset |
I found it funny that it is on a kohaaloha domain... almost suggests that koha goes with beer. ;) |
02:20 |
|
libsysguy |
well koha development does |
02:21 |
|
mtompset |
http://xkcd.com/323/ -- like this, libsysguy |
02:22 |
|
* libsysguy |
crosses fingers for balmers peak comic |
02:22 |
|
libsysguy |
and it is |
02:22 |
|
mtompset |
It is. :) |
02:22 |
|
libsysguy |
mtompset++ |
02:22 |
|
libsysguy |
my favorite comic |
02:22 |
|
mtj |
mtompset: -> http://git.koha-community.org/[…]b;f=README.robots |
02:23 |
|
mtompset |
mtj++ |
02:23 |
|
mtompset |
thanks. |
02:43 |
|
* mtj |
sips a beer... |
02:44 |
|
libsysguy |
i hate it when you find a package in debian only to eventually see its in sid |
02:51 |
|
|
libsysguy joined #koha |
02:56 |
|
|
mtompset joined #koha |
02:59 |
|
mtompset |
Ah, okay. italicized means super idle. I'm still figuring out ChatZilla. |
03:28 |
|
libsysguy |
libsysguy? |
03:28 |
|
wahanui |
you are Koha's hottest developer or partying with swedes on his deck |
03:28 |
|
libsysguy |
ohh wahanui got an update? |
03:32 |
|
|
brylie joined #koha |
03:53 |
|
mtompset |
libsysguy? |
03:53 |
|
wahanui |
libsysguy is Koha's hottest developer or partying with swedes on his deck |
03:54 |
|
mtompset |
Sweet... it does the difference between 'you' and 'libsysguy'. |
04:25 |
|
|
chris_n` joined #koha |
04:28 |
|
mtompset |
Hmmm... Is there a way to get a URL removed from historical #koha logs? |
04:29 |
|
mtompset |
I think Google picked up the URL and now is trying to index our site, which is the staff client. |
04:29 |
|
mtompset |
http://irc.koha-community.org/[…]12-05-31#i_982072 |
04:30 |
|
mtompset |
I added a robots.txt, but I'd like to not have the staff client show up in Google at all. |
04:31 |
|
rangi |
it shouldl be failing because of no password but yes ill remove it for you |
04:32 |
|
rangi |
goneski |
04:34 |
|
mtompset |
thank you. |
04:35 |
|
mtompset |
it is failing, but I don't like error logs building up. :) |
04:35 |
|
rangi |
fair enough |
04:35 |
|
mtompset |
rangi++ |
04:36 |
|
mtompset |
If you didn't scroll back in the IRC logs, I got my perl object working. I was so tired, I missed several typos. :) |
04:36 |
|
libsysguy |
OOP can kill am man mtompset |
04:36 |
|
mtompset |
Nice pure perl, no extra classes. :) |
04:37 |
|
libsysguy |
well…object oriented perl not paradigm |
04:37 |
|
rangi |
:) |
04:37 |
|
rangi |
i still like class::accessor |
04:37 |
|
libsysguy |
i wrote a very small indexing engine once in object oriented perl |
04:37 |
|
rangi |
as a low overhead object class |
04:37 |
|
libsysguy |
mistake |
04:37 |
|
mtompset |
It does look nice. |
04:37 |
|
rangi |
and its perl core |
04:37 |
|
libsysguy |
hmm |
04:37 |
|
rangi |
so no need to install anything |
04:38 |
|
libsysguy |
well that is fancy |
04:38 |
|
rangi |
http://search.cpan.org/~kasei/[…]Class/Accessor.pm |
04:38 |
|
libsysguy |
I was just working on catalyst and apparently catalystx doesn't work on debian |
04:38 |
|
libsysguy |
I can't even get it to compile from cpan |
04:38 |
|
libsysguy |
so I have to write logins the old way :-/ |
04:38 |
|
rangi |
this is the bit i like the best |
04:39 |
|
rangi |
__PACKAGE__->follow_best_practice |
04:39 |
|
* mtompset |
grins. |
04:39 |
|
libsysguy |
0.0 |
04:39 |
|
libsysguy |
that is awesome |
04:39 |
|
mtompset |
Yes, following best practice is cool. |
04:39 |
|
rangi |
makes all your setters and getters for you |
04:39 |
|
* mtompset |
nods, "Very handy" |
04:39 |
|
rangi |
and its Fast |
04:40 |
|
rangi |
http://search.cpan.org/~kasei/[…]sor.pm#EFFICIENCY |
04:40 |
|
* libsysguy |
needs that for rest |
04:40 |
|
rangi |
but now, its beer oclock |
04:40 |
|
libsysguy |
and that means it bed time for me |
04:41 |
|
libsysguy |
ill see *some of you* tomorrow |
05:06 |
|
|
edveal joined #koha |
05:19 |
|
|
edveal joined #koha |
06:09 |
|
|
edveal left #koha |
06:12 |
|
|
mbalmer joined #koha |
06:21 |
|
|
laurence joined #koha |
06:51 |
|
|
gaetan_B joined #koha |
06:52 |
|
gaetan_B |
hello |
06:53 |
|
mtompset |
Greetings, gaetan_B |
06:54 |
|
|
julian_m joined #koha |
06:55 |
|
julian_m |
hello |
06:55 |
|
wahanui |
privet, julian_m |
07:04 |
|
matts |
hi ! |
07:07 |
|
|
cait joined #koha |
07:10 |
|
|
eythian joined #koha |
07:11 |
|
|
asaurat joined #koha |
07:12 |
|
mtompset |
How does wahanui know you greet you in something other than English, julian_m |
07:12 |
|
eythian |
hello |
07:14 |
|
julian_m |
mtompset, wahanui is a big mistery for me :) |
07:15 |
|
mtompset |
wahanui? |
07:15 |
|
wahanui |
yes, mtompset? |
07:15 |
|
mtompset |
wahanui? |
07:15 |
|
wahanui |
yes, mtompset? |
07:15 |
|
mtompset |
wahanui? |
07:15 |
|
wahanui |
mtompset? |
07:15 |
|
mtompset |
wahanui? |
07:15 |
|
wahanui |
yes, mtompset? |
07:15 |
|
mtompset |
I was hoping it would say something is a big mystery. ;) |
07:19 |
|
* cait |
waves |
07:19 |
|
Oak |
oh look cait is here |
07:19 |
|
wahanui |
i already had it that way, Oak. |
07:19 |
|
cait |
:) |
07:20 |
|
|
francharb joined #koha |
07:21 |
|
francharb |
good morning all |
07:21 |
|
cait |
hi francharb |
07:24 |
|
mtompset |
cait? |
07:24 |
|
wahanui |
That's Ms. Cait to you! or in a very good mood today :) or a librarian, you will get wahanui's information or a hero or signing off on wahanui's patch :) |
07:25 |
|
cait |
lol |
07:25 |
|
cait |
yes? |
07:25 |
|
mtompset |
I wanted to see what would be said, sorry. Greetings to you. :) |
07:25 |
|
mtompset |
francharb? |
07:25 |
|
wahanui |
francharb falls asleep easily at sea. Don't believe me? Just ask Brooke. |
07:26 |
|
cait |
greetings to you too |
07:26 |
|
francharb |
hi mtompset !;) |
07:26 |
|
francharb |
hi cait |
07:26 |
|
cait |
heya :) |
07:26 |
|
cait |
rangi? |
07:26 |
|
wahanui |
I LIKE ALMONDS! HAVE SOME NUTS! |
07:33 |
|
mtompset |
Someone really loves almonds and nuts. |
07:36 |
|
* mtompset |
goes off to try to install another VM. |
07:37 |
|
* mtompset |
waves. |
07:40 |
|
|
asaurat joined #koha |
07:50 |
|
|
paul_p joined #koha |
07:56 |
|
|
Brooke joined #koha |
07:56 |
|
Brooke |
o/ |
08:09 |
|
|
paul_p_ joined #koha |
08:09 |
|
|
eythian_ joined #koha |
08:17 |
|
|
mtompset joined #koha |
08:17 |
|
mtompset |
Greetings, #koha. |
08:18 |
|
mtompset |
I was just noticing that download.koha-community.org points to 3.6.5 as the current maintenance release, but 3.6.6 is out. I hope this gets fixed when 3.6.7 comes out. :) |
08:19 |
|
* Brooke |
scratches her head to think of who maintains that... |
08:19 |
|
Brooke |
perhaps @later wizzyrea to change that? |
08:19 |
|
Brooke |
I know that she _can_ |
08:19 |
|
Brooke |
but I'm not sure if she's meant to |
08:20 |
|
|
asaurat1 joined #koha |
08:22 |
|
mtompset |
Hmm... Brooke, you could change the topic to reflect the next meeting's date and time. :) |
08:22 |
|
Brooke |
I'm not an admin |
08:22 |
|
Brooke |
I only get that powah for meetings |
08:22 |
|
mtompset |
Ah. |
08:27 |
|
|
julian_m joined #koha |
08:36 |
|
|
julian_m joined #koha |
08:45 |
|
eythian |
gaetan_B, julian_m: bz8376 signed off with notes |
08:49 |
|
mtompset |
bz was bug, right? |
08:50 |
|
eythian |
BugZilla, yeah |
09:20 |
|
eythian |
My sin for the day: perl -e '$conf = do { local $/ = <> } ; ($clientpart) = $conf =~ m/\[client\]\n(.*?)(?:\n\[|$)/s ; @hostline = grep { /^host\W/ } split("\n", $clientpart) ; ($hostname) = $hostline[0] =~ m/^.*?=\s*(.*)$/ ; print $hostname."\n" ;' /tmp/koha-common.cnf |
09:36 |
|
|
hdl joined #koha |
09:48 |
|
|
hdl joined #koha |
10:14 |
|
|
techno joined #koha |
10:15 |
|
techno |
hi all |
10:27 |
|
gaetan_B |
with the removal of items information from the marc data, items are gone from MARCdetail.pl (in the staff client) but still show up in opac-MARCdetail.pl (which is more convenient) is it a bug ? or is it intended ? |
10:29 |
|
mtompset |
That is some seriously ugly and beautiful code, eythian. |
10:29 |
|
eythian |
mtompset: turns out that, while it works, I don't want to be doing that after all. |
10:30 |
|
mtompset |
Are you a regular expression junkie? |
10:30 |
|
eythian |
I know how to use them, but they are the best way of processing text, as that's what they're for. |
10:32 |
|
mtompset |
but why not just look at the file? Or is this an automated process? |
10:32 |
|
eythian |
yes |
10:32 |
|
eythian |
this was going to go in a script where I needed that value |
10:33 |
|
mtompset |
The worst I did today was: |
10:33 |
|
mtompset |
cat $TMPFILE2 | perl -e '@data=<STDIN>; foreach (@data) { s/\:\:/\-/g; s/ //g; chomp $_; print "$_\-perl\n"; }' > $TMPFILE1 |
10:33 |
|
eythian |
that won't work. |
10:34 |
|
mtompset |
why not? |
10:34 |
|
mtompset |
Seems to run just fine. |
10:34 |
|
mtompset |
Is there a case it will break? |
10:34 |
|
eythian |
a) you're missing the lib prefix, b) it's not a given that a package will be of the form libmodule-name-perl |
10:35 |
|
eythian |
c) case issues |
10:35 |
|
mtompset |
cat $TMPFILE1 | tr [:upper:] [:lower:] > $TMPFILE2 |
10:35 |
|
eythian |
d) have a look in debian/list-deps for how to do it using apt-file |
10:36 |
|
eythian |
e) useless use of 'cat' ;) |
10:36 |
|
mtompset |
I don't like long lines. :P |
10:36 |
|
eythian |
it's shorter without cat |
10:36 |
|
eythian |
tr ... < $TMPFILE1 > $TMPFILE2 |
10:37 |
|
eythian |
arguably easier to read however. |
10:37 |
|
mtompset |
DOH! |
10:37 |
|
mtompset |
I could have <'d. |
10:37 |
|
mtompset |
My brain must be half awake. |
10:38 |
|
eythian |
but most importantly is that change won't work for all modules |
10:38 |
|
eythian |
s/change/method/ |
10:38 |
|
mtompset |
if there is no ::, then $_ stays the same, does it not? |
10:39 |
|
eythian |
yes |
10:39 |
|
mtompset |
then there's no problem. |
10:39 |
|
eythian |
but, then you end up with something that isn't a package name |
10:39 |
|
mtompset |
yes, but that's where the aptitude search -F "%p" comes in. |
10:40 |
|
mtompset |
because if there is only one match, I know the lib name. :) |
10:40 |
|
mtompset |
if there is more than one match, I suspect it is the shortest one. |
10:40 |
|
eythian |
you're reinventing the wheel |
10:40 |
|
eythian |
(and, I think, badly) |
10:40 |
|
mtompset |
apt-file... |
10:40 |
|
eythian |
debian/list-deps has a method that works well and is always correct |
10:41 |
|
mtompset |
Yes, but that isn't installed by default. |
10:41 |
|
mtompset |
And I'm using Ubuntu. :P |
10:41 |
|
eythian |
if you're in a position to create lists of packages, you're in a position to install that |
10:41 |
|
eythian |
it can be installed on Ubuntu |
10:41 |
|
mtompset |
true enough... |
10:41 |
|
mtompset |
eythian++ |
10:42 |
|
mtompset |
I'll see about apt-file. |
10:43 |
|
mtompset |
Still has the problem of multiple matches. |
10:54 |
|
|
logbot joined #koha |
10:54 |
|
|
Topic for #koha is now Koha 3.8.2, 3.6.6 and 3.4.8 Now Available | Koha Community Website - http://www.koha-community.org/ | General IRC meeting, 18 July 2012 at 10:00 UTC+0 |
11:04 |
|
|
mveron joined #koha |
11:04 |
|
mveron |
Hi #koha |
11:06 |
|
drojf |
hi mveron |
11:06 |
|
drojf |
still in greece! nice |
11:06 |
|
mveron |
Hi drojf! |
11:07 |
|
mveron |
Last day in Greece, hot but windy. Very bad internet DSL connection because overhead phone wires swing in the wind :-( |
11:10 |
|
drojf |
uh sounds weird. so your dsl flies away? :) |
11:10 |
|
|
mveron_ joined #koha |
11:11 |
|
|
mveron_ joined #koha |
11:11 |
|
* mveron_ |
was disconnected... |
11:11 |
|
mveron_ |
What are legal characters for Patron category codes? Discussion about in bug 7628 |
11:11 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7628 normal, P3, ---, veron, Signed Off , Required format is not enforced for Patron Categories |
11:12 |
|
|
hdl joined #koha |
11:13 |
|
mveron_ |
Oh, I see that Bug 7621 needs to be signed-off again... |
11:13 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7621 enhancement, P1 - high, ---, veron, Needs Signoff , Circulation: Match age restriction of title with borrower's age without using categories |
11:13 |
|
drojf |
mveron_: i assume only ascii for the category code |
11:13 |
|
drojf |
but it's just a guess |
11:15 |
|
|
jwagner joined #koha |
11:16 |
|
mveron |
Thanks, drojf. |
11:17 |
|
* mveron |
...waits for better connection... |
11:20 |
|
|
oleonard joined #koha |
11:21 |
|
oleonard |
Hi #koha |
11:36 |
|
|
drojf1 joined #koha |
11:40 |
|
|
cait joined #koha |
11:44 |
|
|
libsysguy joined #koha |
11:45 |
|
|
cait left #koha |
12:25 |
|
oleonard |
So how hot is it in Croatia dpavlin? |
12:42 |
|
|
ago43 joined #koha |
12:45 |
|
|
laurence joined #koha |
12:54 |
|
drojf1 |
ok, very funny, perl. is that needed 1; at the end of a module some kind of developer initiation ritual? |
12:54 |
|
|
eythian_ joined #koha |
12:54 |
|
|
paul_p__ joined #koha |
12:58 |
|
oleonard |
Wow, trying to QA a bug with two sequential updatedatabase patches is really annoying. |
13:00 |
|
drojf1 |
ok good to know, i won't have another syspref in my followup for bug 8377 then :D |
13:00 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8377 enhancement, P5 - low, ---, 5p4m, Failed QA , Show HTML5 video/ audio in OPAC for media files in 856 |
13:01 |
|
oleonard |
drojf1: Cool enhancement by the way. I wonder how common it is to have media files in the 856? |
13:03 |
|
drojf1 |
oleonard: i don't know. since i work in an audio-visual library i hope we will actually use it one day. but i did it mostly to learn and for fun |
13:06 |
|
|
asaurat joined #koha |
13:11 |
|
drojf1 |
why do i get 'Can't locate object method "field" via package "C4::Templates" at /home/pi/koha/Koha/HTML5Media.pm line 74.' when i am pretty sure that field is supposed to come from MARC::Field and not C4::Templates ? |
13:11 |
|
|
julian_m joined #koha |
13:11 |
|
drojf1 |
it works in a subroutine in opac-detail.pl, but when i try to put it in an extra module it doesn#t |
13:17 |
|
|
tcohen joined #koha |
13:20 |
|
|
hdl joined #koha |
13:22 |
|
|
julian_m joined #koha |
13:27 |
|
|
edveal joined #koha |
13:55 |
|
tcohen |
hi #koha |
13:55 |
|
mtompset |
Greetings. |
13:55 |
|
mtompset |
drojf, are you still here? |
13:55 |
|
mtompset |
That error sounds like the fun I was having when I was playing around with Perl OO. |
13:56 |
|
mtompset |
Library paths are a pain. :) |
13:56 |
|
mtompset |
check your PERL5LIB? |
13:57 |
|
mtompset |
Did you copy the C4 directory elsewhere and it expect it to work? |
14:02 |
|
|
sekjal joined #koha |
14:10 |
|
oleonard |
Hi sekjal |
14:11 |
|
sekjal |
hi, oleonard |
14:23 |
|
drojf |
mtompset: no, just added a module (HTML5Media.pm) in a random folder (i used Koha, how is defined where to put it? doesn't work in c4 either) and tried to use it. i circumvented the problem for now, passing the field info to the module in the subroutine call instead of getting the field info directly in the subroutine. but now i got "Can't locate object method "param" via package "Koha::HTML5Media" at /home/pi/koha/Koha/HTML5Media.pm line 245." when i t |
14:23 |
|
mtompset |
check your PERL5LIB. |
14:24 |
|
mtompset |
<path1>:<path2>:...:<path_n> |
14:24 |
|
eythian_ |
drojf: you'll have to see what hte line that's causing the error is |
14:24 |
|
eythian_ |
and what is containing in the variable that is trying to have param accessed on it |
14:25 |
|
mtompset |
I had typos in my objects. :) |
14:25 |
|
mtompset |
are you sure you didn't type params in one place, and param in another? |
14:26 |
|
drojf |
mtompset: i copied that directly from a subroutine inside of opac-detail.pl that works |
14:26 |
|
drojf |
it just does not work in the extra module |
14:26 |
|
mtompset |
Yes, and what dependencies does it have? |
14:26 |
|
eythian |
presumably the object you're trying to access is a different type in the new place |
14:27 |
|
eythian |
or it's being called wrong |
14:27 |
|
eythian |
i.e. with a -> rather than a :: perhaps |
14:28 |
|
drojf |
hm. the line is |
14:28 |
|
drojf |
$template->param( |
14:28 |
|
drojf |
like it was in the other file |
14:28 |
|
eythian |
so in the new place, what does $template get assigned? |
14:28 |
|
mtompset |
and you have the appropriate use? |
14:29 |
|
mtompset |
eythian's suggestions are better. :) |
14:32 |
|
drojf |
in opac-detail.pl i do |
14:32 |
|
drojf |
$template = Koha::HTML5Media->gethtml5media($template,$record,@HTML5Media_sets,@HTML5Media_fields); |
14:32 |
|
drojf |
and in Koha/HTML5Media.pm i do |
14:32 |
|
drojf |
my $template = shift; |
14:32 |
|
drojf |
my $record = shift; |
14:32 |
|
drojf |
my @HTML5Media_sets = shift; |
14:32 |
|
drojf |
my @HTML5Media_fields = shift; |
14:32 |
|
drojf |
[ a lot of ] |
14:32 |
|
drojf |
$template::param( |
14:32 |
|
drojf |
HTML5MediaEnabled => 1, |
14:32 |
|
drojf |
HTML5MediaSets => \@HTML5Media_sets, |
14:32 |
|
drojf |
HTML5MediaParent => $HTML5MediaParent, |
14:32 |
|
drojf |
HTML5MediaWidth => $HTML5MediaWidth); |
14:32 |
|
drojf |
return $template; |
14:32 |
|
drojf |
*flood* |
14:32 |
|
drojf |
don't know if that came though, should have used paste |
14:33 |
|
eythian |
right, so my $template = shift; is shift |
14:33 |
|
eythian |
err |
14:33 |
|
eythian |
is different |
14:33 |
|
eythian |
that's possibly the key bit |
14:37 |
|
drojf |
what do you mean by "is different"? |
14:38 |
|
eythian |
<drojf> in opac-detail.pl i do |
14:38 |
|
eythian |
<drojf> $template = Koha::HTML5Media->gethtml5media($template,$record,@HTML5Media_sets,@HTML5Media_fields); |
14:38 |
|
eythian |
<drojf> and in Koha/HTML5Media.pm i do |
14:38 |
|
eythian |
<drojf> my $template = shift; |
14:38 |
|
eythian |
template is getting a value in a different way |
14:38 |
|
eythian |
so possibly it's a different object. |
14:39 |
|
drojf |
ok. but it works exactly like this if the subroutine is directly in opac-detail.pl |
14:40 |
|
eythian |
but they may be getting different values in $template |
14:40 |
|
eythian |
(almost certainly are, otherwise you wouldn't have that error) |
14:42 |
|
gaetan_B |
bye ! |
14:43 |
|
|
JesseM joined #koha |
14:55 |
|
|
Oak joined #koha |
14:55 |
|
|
eythian_ joined #koha |
14:55 |
|
|
paul_p_ joined #koha |
15:00 |
|
mtompset |
eythian, I realized apt-file is a necessary evil, and simplified my script a WHOLE bunch. "apt-file list perl" dumps all perl related files. Then just grep the dump. |
15:00 |
|
|
asaurat1 joined #koha |
15:11 |
|
jcamins |
drojf: don't forget if you're using OOP, the first argument is always $self. |
15:11 |
|
libsysguy |
^^ |
15:12 |
|
libsysguy |
@_ ftw |
15:12 |
|
huginn |
libsysguy: I'll give you the answer as soon as RDA is ready |
15:12 |
|
|
eythian_ joined #koha |
15:12 |
|
libsysguy |
heh who sent that |
15:13 |
|
jcamins |
Marc Chantreux. |
15:13 |
|
libsysguy |
no the one before |
15:13 |
|
libsysguy |
from huginn |
15:13 |
|
|
paul_p__ joined #koha |
15:14 |
|
jcamins |
libsysguy: it's because you use @ at the beginning of a sentence. |
15:14 |
|
libsysguy |
doh |
15:15 |
|
libsysguy |
well i feel retarded |
15:17 |
|
eythian_ |
Ubuntu package installation fix for anyone keen on looking in to that kind of thing on bug 8162 |
15:17 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8162 critical, P3, ---, robin, Needs Signoff , packaging scripts create user incorrectly |
15:19 |
|
drojf |
jcamins++ # error gone, thanks |
15:20 |
|
|
asaurat joined #koha |
15:20 |
|
jcamins |
drojf: I've done that a lot. |
15:20 |
|
drojf |
:) |
15:21 |
|
jcamins |
paul_p__: do you have a moment to share an opinion? |
15:21 |
|
paul_p__ |
jcamins sure |
15:21 |
|
jcamins |
paul_p: I've been thinking about where to put for example GetAuthorityType in Koha:: |
15:22 |
|
|
asaurat left #koha |
15:22 |
|
paul_p |
Koha::BusinessLogic::Authority.pm ? (s/BusinessLogic/Service/ if I move to the last koha-devel proposition) |
15:23 |
|
jcamins |
I have an object-oriented Koha::Authority module for the View layer, but $authority->authority_type would get the authority type for that particular authority, rather than (as is needed) a lookup based on authtypecode. |
15:23 |
|
jcamins |
So I've been stumped on this for a while. |
15:24 |
|
jcamins |
Then it occurred to me... would it be better to just use have Koha::Authority::GetAuthorityTypeFromAuthTypeCode? |
15:24 |
|
jcamins |
s/use // |
15:25 |
|
jcamins |
Eventually that should go away because all the authority view code should be centralized in object-oriented Koha::Authority, but we can't rewrite all of C4 just like that. |
15:25 |
|
paul_p |
(I think i'm against Koha::Authority as is. Koha::View::Authority sounds better to me) |
15:26 |
|
jcamins |
It's fine to change the name. |
15:26 |
|
jcamins |
I don't care what the module is called. |
15:26 |
|
paul_p |
jcamins what would do GetAuthorityTypeFromAuthTypeCode ? |
15:26 |
|
|
julian_m joined #koha |
15:26 |
|
jcamins |
It would replace the current GetAuthorityType. |
15:27 |
|
jcamins |
(or maybe GetAuthType... I'm not at my computer right now) |
15:27 |
|
paul_p |
if it's a replace, it should not be called "Get" ? |
15:27 |
|
* paul_p |
not sure to understand well the question... |
15:27 |
|
jcamins |
The silly routine that we shouldn't need but use all over. |
15:27 |
|
jcamins |
I am asking where to put a shim. |
15:27 |
|
jcamins |
You are right, the right way to do it would be to have Koha::[View::]Authority->authtype. |
15:28 |
|
jcamins |
But we use GetAuthType or GetAuthorityType in places we shouldn't in C4. |
15:28 |
|
jcamins |
So we need to have an alternative to GetAuthType/GetAuthorityType (whichever it's called), or we'll have duplicate code in C4:: and Koha:: |
15:29 |
|
jcamins |
Basically all the routine does is look up something in the database. |
15:29 |
|
paul_p |
jcamins = we have, currently: C4/AuthoritiesMarc.pm:sub GetAuthTypeCode { |
15:29 |
|
paul_p |
C4/AuthoritiesMarc.pm:sub GetAuthType { |
15:29 |
|
jcamins |
One of those is a simple SQL lookup. |
15:29 |
|
jcamins |
I think GetAuthType. |
15:29 |
|
paul_p |
jcamins GetAuthTypeCode does = my $sth = $dbh->prepare("select authtypecode from auth_header where authid=?"); |
15:29 |
|
jcamins |
Yeah, GetAuthType is the problematic one. |
15:30 |
|
jcamins |
GetAuthTypeCode is easy to replace. It goes in Koha::Data::Authority. |
15:30 |
|
paul_p |
GetAuthType does select * from auth_types where authtypecode=?" |
15:30 |
|
paul_p |
this one should go to Koha::Data::AuthType (if we consider removing the _ and UCasing the names) |
15:31 |
|
paul_p |
(and singular, the default automatic behaviour of DBIx::Class) |
15:32 |
|
jcamins |
paul_p: but we can't move anything to Koha::Data until we have the entire model, right? |
15:32 |
|
paul_p |
jcamins = I think we can move so basic & trivial subs, without using DBIx::Class, |
15:33 |
|
jcamins |
Okay, so it sounds like you're saying you don't need for a shim, and the code might as well go where it belongs right away. |
15:33 |
|
jcamins |
Thanks. |
15:33 |
|
tcohen |
Data::Paginator and Data::Pagination are the same thing? |
15:34 |
|
jcamins |
tcohen: nope. |
15:34 |
|
paul_p |
jcamins = I'm not sure I know what "shim" means ;-) |
15:34 |
|
paul_p |
(chimère in french ?) |
15:35 |
|
paul_p |
jcamins = ggl translate says "cale", which doesn't help me at all :D |
15:35 |
|
jcamins |
paul_p: a "shim" is a piece of code you put in so that the program will work without needing a complete rewrite. |
15:35 |
|
tcohen |
jcamins: is there a pre-defined policy on what packages to add to debian.k-c.org ? |
15:35 |
|
paul_p |
OK, then I understand the french word now ! |
15:35 |
|
tcohen |
i mean, we add a perl dependancy, not packaged for debian, will we package it? |
15:35 |
|
jcamins |
tcohen: all the ones required by Koha that will compile. |
15:35 |
|
jcamins |
tcohen: if we can, yes. |
15:36 |
|
paul_p |
jcamins = we have 2 options here = mine is a kind of shim, yours is another one isn't it ? |
15:36 |
|
jcamins |
paul_p: yeah, but yours is a lot less shim-y. |
15:36 |
|
jcamins |
:D |
15:36 |
|
tcohen |
i'm planning to add instructions for adding debian.k-c to sources.list in the .tar.gz install instructions |
15:36 |
|
* paul_p |
finally understand why bug 7420 does not work for him, it's because of bug 8251 :\\ |
15:36 |
|
jcamins |
Yea! |
15:36 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7420 enhancement, P3, ---, srdjan, Passed QA , Add max fines to circulation matrix |
15:36 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8251 critical, P1 - high, ---, koha, Passed QA , Patrons are systematically debarred at checkin |
15:36 |
|
jcamins |
Good idea! |
15:37 |
|
jcamins |
tcohen++ |
15:37 |
|
paul_p |
tcohen++ |
15:37 |
|
paul_p |
jcamins = just don't forget to add a FIXME to Koha::Data::AuthType.pm ;-) |
15:37 |
|
jcamins |
paul_p: right. |
15:37 |
|
jcamins |
paul_p: first I have to create the file. ;) |
15:44 |
|
mtompset |
Hmmm... 8162 doesn't match what you were talking about eythian \ |
15:45 |
|
eythian |
I don't know what you mean |
15:45 |
|
mtompset |
why did the link go to mozilla's bugzilla rather than koha's?! |
15:45 |
|
jcamins |
Bug 8162 |
15:45 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8162 critical, P3, ---, robin, Needs Signoff , packaging scripts create user incorrectly |
15:46 |
|
mtompset |
Your link that you put in the chat was a mozilla bug link... huggin's followed up correctly. |
15:46 |
|
mtompset |
Same problem with jcamins. |
15:46 |
|
eythian |
<eythian_> Ubuntu package installation fix for anyone keen on looking in to that kind of thing on bug 8162 |
15:46 |
|
eythian |
<huginn> Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8162 critical, P3, ---, robin, Needs Signoff , packaging scripts create user incorrectly |
15:46 |
|
huginn |
Bug 8162: critical, P3, ---, robin, Needs Signoff , packaging scripts create user incorrectly |
15:46 |
|
eythian |
no it didn't |
15:46 |
|
jcamins |
mtompset: error with your IRC client. |
15:47 |
|
mtompset |
Are you suggesting my chatzilla is getting in the way? |
15:47 |
|
eythian |
yep, that's what it looks like to me too |
15:47 |
|
eythian |
ah |
15:47 |
|
eythian |
yes |
15:47 |
|
jcamins |
"bug 8162" isn't a link. |
15:47 |
|
eythian |
most definitely |
15:47 |
|
jcamins |
It's just text. |
15:47 |
|
mtompset |
silly people, tell me to get an IRC client, and then find a bug with the one I choose. :P |
15:48 |
|
jcamins |
Use one that's well-tested. |
15:48 |
|
eythian |
I like xchat |
15:48 |
|
eythian |
I also have to go |
15:48 |
|
eythian |
see you all later |
15:48 |
|
jcamins |
I use irssi. |
15:48 |
|
jcamins |
Decades of testing! |
15:48 |
|
jcamins |
:P |
15:49 |
|
jcamins |
(yes, I was joking about using one that's well-tested... you can probably just disable that "feature") |
15:52 |
|
mtompset |
I don't see how to disable it, but I can change it to be a koha-community URL :) |
15:53 |
|
mtompset |
bug 8162 |
15:53 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8162 critical, P3, ---, robin, Needs Signoff , packaging scripts create user incorrectly |
16:04 |
|
|
melia joined #koha |
16:18 |
|
|
brylie joined #koha |
16:22 |
|
drojf |
ok i got a seperate module now for bug 8377 (not attached to the bug yet), called HTML5Media.pm. It takes $template and $record and returns $template with template parameters based on field 856. this enhancement is for opac, but it should be possible to use the module for the staff client too. my question is: where is the module supposed to go? i have it in Koha/HTML5Media.pm now, is that ok or should it be somewhere else, eg. C4? |
16:22 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8377 enhancement, P5 - low, ---, 5p4m, Failed QA , Show HTML5 video/ audio in OPAC for media files in 856 |
16:23 |
|
|
laurence left #koha |
16:23 |
|
jcamins |
What does it depend on? |
16:24 |
|
drojf |
i got use C4::Context; use MARC::Record; use MARC::Field; |
16:24 |
|
drojf |
not sure what C4:Context does right now |
16:25 |
|
jcamins |
For sysprefs. |
16:26 |
|
drojf |
ah right |
16:28 |
|
jcamins |
I see no reason not to put it in Koha:: |
16:28 |
|
mtompset |
So out of curiousity, will 3.6.7 be out early next week? |
16:28 |
|
jcamins |
mtompset: yes, if all goes well. |
16:29 |
|
jcamins |
(no reason to expect it won't, I won't push anything that makes problems with the release process, and I haven't found any problems with the proposed 3.6.7) |
16:29 |
|
jcamins |
That second "won't" is a general rule. |
16:30 |
|
mtompset |
have the dependencies changed between 3.6.6 and 3.6.7? |
16:30 |
|
mtompset |
(more perl libraries) |
16:30 |
|
jcamins |
Hm. |
16:30 |
|
drojf |
jcamins: what would be a reason not to put something in Koha::? |
16:30 |
|
jcamins |
Don't think so. |
16:31 |
|
jcamins |
drojf: actually, I can't think of any. |
16:31 |
|
drojf |
heh |
16:31 |
|
drojf |
what is C4 anyway? what does it stand for and why is it not all Koha::? |
16:31 |
|
mtompset |
So, the install_misc/ubuntu.packages should be the same, unless it has been patched with missing items? ;) |
16:32 |
|
wizzyrea |
oh I know this |
16:32 |
|
jcamins |
No idea what it stands for, but it exists because that used to be the namespace. |
16:32 |
|
jcamins |
We'd keep it except it's such a mess it's hopeless. |
16:32 |
|
wizzyrea |
it's cheap, cheerful … something |
16:32 |
|
wizzyrea |
the last c is the name of HLT's old ILS |
16:32 |
|
drojf |
oh, i thought it was related to exploding when touched :D |
16:32 |
|
wizzyrea |
that is the *other* meaning |
16:32 |
|
* mtompset |
laughs. |
16:32 |
|
jcamins |
drojf: that's how I always think of it. ;) |
16:34 |
|
jcamins |
mtompset: tcohen just filed a bug and is working on a patch to update ubuntu.packages. |
16:34 |
|
mtompset |
okay, great to hear. |
16:34 |
|
mtompset |
I was thinking of doing that. |
16:34 |
|
mtompset |
I was tinkering with a script. :) |
16:35 |
|
mtompset |
to help me find the missing pieces/ |
16:45 |
|
|
lemon joined #koha |
16:45 |
|
wizzyrea |
rosalie says C4 stands for "Cheap & Cheerful Copy of (the ILS program HLT used to use)" |
16:46 |
|
wizzyrea |
she won't say the name of the old one |
16:47 |
|
wizzyrea |
if you want to know the story - http://blip.tv/the-curious-and[…]lie-blake-4367524 |
16:48 |
|
wizzyrea |
C4 is "Cheap & Cheerful Copy of (the ILS program HLT used to use)" |
16:48 |
|
wizzyrea |
c4? |
16:48 |
|
wahanui |
it has been said that c4 is a high explosive :-) |
16:48 |
|
wizzyrea |
C4? |
16:48 |
|
wahanui |
C4 is a high explosive :-) |
16:48 |
|
wizzyrea |
C4 is also "Cheap & Cheerful Copy of (the ILS program HLT used to use)" |
16:48 |
|
wahanui |
okay, wizzyrea. |
16:48 |
|
wizzyrea |
C4? |
16:48 |
|
wahanui |
somebody said C4 was a high explosive :-) or "Cheap & Cheerful Copy of (the ILS program HLT used to use)" |
16:51 |
|
|
Morthland joined #koha |
16:51 |
|
Morthland |
I recently updated koha to 3.8 |
16:51 |
|
Morthland |
And now it will not display the subtitle on OPAC |
16:51 |
|
drojf |
wizzyrea++ |
16:56 |
|
mtompset |
3.6.7 is going to be a dream to install on Ubuntu 12.04 -- no cpan requirements. :) |
16:57 |
|
jcamins |
mtompset: and the package script fix may go into it. |
16:58 |
|
jcamins |
Jumping the queue a bit, but I'd like it to work on Ubuntu. |
16:58 |
|
melia |
are there any QA team people around at the moment? I desperately want critical Bug 8418 to get some QA so that it might get into the 3.8.3 release (if it's not too late already) |
16:58 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8418 critical, P5 - low, ---, koha-bugs, Signed Off , Koha::Calendar is_holiday ignores all user data |
17:00 |
|
mtompset |
I'm assuming the only reason the ubuntu.packages needs updating is because the file PerlDependencies is what is frequently updated, and not ubuntu.packages. |
17:00 |
|
jcamins |
Right. |
17:00 |
|
mtompset |
My script that I just wrote does a mass grep. :) |
17:01 |
|
mtompset |
based on ./koha_perl_dep |
17:01 |
|
mtompset |
and for 3.6.6 there were only 3 libraries not found under 10.04 |
17:01 |
|
mtompset |
those libraries exist in 12.04 |
17:02 |
|
sekjal |
melia: I'll try to take a look in the next hour or so |
17:03 |
|
jcamins |
There were only three not found under 10.04? |
17:03 |
|
mtompset |
Yep. |
17:03 |
|
jcamins |
When I installed 3.6.1 on 10.04, there were a half dozen that had to be installed manually. |
17:03 |
|
mtompset |
Well, then PerlDependencies has changed. :) |
17:04 |
|
melia |
oh yay! thank you sekjal!! |
17:04 |
|
mtompset |
HTTP::OAI ~ NOT FOUND! |
17:04 |
|
mtompset |
Locale::Currency::Format ~ NOT FOUND! |
17:04 |
|
mtompset |
Memoize::Memcached ~ NOT FOUND! |
17:04 |
|
Morthland |
Is there a way to batch edit biblios? |
17:05 |
|
jcamins |
Cool. :) |
17:05 |
|
jcamins |
Morthland: I think possibly there will be in 3.10. |
17:05 |
|
jcamins |
mtompset: does your script have to be run on Ubuntu? |
17:06 |
|
mtompset |
No. I suppose it could run under Debian, but Debian has the packages. Why would you need it? :) |
17:06 |
|
jcamins |
To generate ubuntu.packages at release time. |
17:06 |
|
jcamins |
I want to run it on Debian *for* Ubuntu. |
17:06 |
|
Morthland |
Should I pursue doing this through MYSQL? |
17:07 |
|
jcamins |
Morthland: the first question? |
17:07 |
|
wahanui |
"What are you trying to do?" "What is the goal?" or "What problem are you experiencing?" |
17:07 |
|
Morthland |
yes. |
17:07 |
|
Morthland |
I imported my entire database from a backup |
17:07 |
|
Morthland |
it changed the framework |
17:07 |
|
Morthland |
I need to set it back |
17:07 |
|
jcamins |
Why? |
17:07 |
|
Morthland |
They are all set to audio-cassetes |
17:07 |
|
jcamins |
(why do you need to set it back) |
17:07 |
|
Morthland |
instead of books |
17:08 |
|
Morthland |
my keyword-to marc mapping is messed up |
17:08 |
|
jcamins |
Okay. |
17:08 |
|
jcamins |
Did you delete the default framework? |
17:08 |
|
Morthland |
no. |
17:09 |
|
Morthland |
They were all books/booklets |
17:09 |
|
jcamins |
How did you backup and restore your database? |
17:10 |
|
Morthland |
Export bibliographics/holdings |
17:10 |
|
Morthland |
stage records for import |
17:12 |
|
jcamins |
Ah. |
17:12 |
|
mtompset |
Is the default framework wrong, or something? |
17:13 |
|
Morthland |
hmm? |
17:15 |
|
jcamins |
mtompset: yeah, that's what I'm wondering about. |
17:15 |
|
jcamins |
Morthland: what you describe shouldn't happen if you had the same frameworks in the old database and the new one. |
17:15 |
|
jcamins |
And if you didn't, everything should have showed up as "default" on the new. |
17:16 |
|
jcamins |
Unless you deleted the default framework. |
17:16 |
|
jcamins |
What version? |
17:16 |
|
Morthland |
3.6 to 2.8 |
17:16 |
|
wahanui |
12.968 |
17:17 |
|
jcamins |
Morthland: 3.8? |
17:17 |
|
wahanui |
3.8 is going to be great :) |
17:18 |
|
jcamins |
Is there any reason you can't do a mysqldump and transfer the entire database? |
17:18 |
|
jcamins |
That way you will keep all your existing frameworks. |
17:18 |
|
Morthland |
I already have this transfered, as well as my patrons. Seems simpler just to manually edit from here. |
17:19 |
|
Morthland |
is BIBLIO the correct table? |
17:19 |
|
jcamins |
I don't think so. |
17:19 |
|
jcamins |
Manually editing via the database almost always ends in disaster. |
17:19 |
|
jcamins |
And by "almost always" I mean I cannot think of any counterexample. |
17:19 |
|
tcohen |
mtompset: for k in $(for i in $(./koha_perl_deps.pl -m -u | grep '::' | cut -d" " -f1 | perl -pi -e 's/::/-/g' | tr '[A-Z]' '[a-z]') ; do echo lib$i-perl ; done); do apt-cache search $k ; done |
17:19 |
|
|
martian523 joined #koha |
17:19 |
|
jcamins |
Wait... |
17:20 |
|
jcamins |
I know why it's set to the wrong framework. |
17:20 |
|
jcamins |
You select a framework when importing records. |
17:20 |
|
martian523 |
hi, i have a questions about adding shipping costs to acquisitions |
17:20 |
|
sekjal |
melia: 8418 no longer applies |
17:20 |
|
jcamins |
Or, rather, you *should* select a framework. |
17:20 |
|
melia |
dang it |
17:20 |
|
martian523 |
is there anyway to add shipping costs? |
17:20 |
|
jcamins |
Revert the import, and reimport, this time making sure to set the framework the way you want. |
17:20 |
|
jcamins |
martian523: not to my knowledge. |
17:21 |
|
Morthland |
how do I revert import? |
17:21 |
|
mtompset |
not quit. |
17:21 |
|
Morthland |
is it just an option? |
17:21 |
|
mtompset |
CGI |
17:21 |
|
mtompset |
YAML |
17:22 |
|
jcamins |
Morthland: if you used stage MARC import, you just go click "Revert import." If you used bulkmarcimport, the best option is probably just to delete the records. |
17:23 |
|
Morthland |
I clicked clean. |
17:23 |
|
Morthland |
That was a mistake |
17:23 |
|
jcamins |
Yes. |
17:23 |
|
jcamins |
Well... |
17:23 |
|
jcamins |
You could try an overlay. |
17:23 |
|
Morthland |
Right. |
17:24 |
|
martian523 |
another question, it seems like when i was trying to add quantity to my order basket, it wouldn't allow me until i delete "read only" in the html codes |
17:25 |
|
martian523 |
is that something that needs to be fixed? |
17:25 |
|
jcamins |
martian523: I think there's a + button that you click. |
17:27 |
|
jcamins |
Full disclosure: I am offering advice on a module I avoid using. |
17:28 |
|
martian523 |
+ button? |
17:28 |
|
jcamins |
A button with a plus sign? |
17:28 |
|
martian523 |
i don't see it |
17:28 |
|
* jcamins |
is advising based on hearsay. |
17:29 |
|
jcamins |
Ah, there was an e-mail about this problem. |
17:29 |
|
jcamins |
Upgrading to 3.8.2 from 3.8.1 fixed it. |
17:30 |
|
Morthland |
how can I delete all the biblios+items? |
17:30 |
|
martian523 |
so we have to upgrade? |
17:33 |
|
|
SVR joined #koha |
17:34 |
|
SVR |
pls HOW TO CUSTOMIZE OPAC? Add our own logo *.gif file on desktop |
17:34 |
|
jcamins |
Morthland: truncate biblio *should* work. |
17:34 |
|
jcamins |
oleonard's blog? |
17:34 |
|
wahanui |
oleonard's blog is http://www.myacpl.org/koha |
17:35 |
|
jcamins |
SVR: ^^ that's a good blog to look at. |
17:35 |
|
jcamins |
Also, in the manual you will find information about the OPAC sysprefs. |
17:35 |
|
jcamins |
martian523: what version are you running? |
17:36 |
|
oleonard |
SVR: Specifically, http://www.myacpl.org/koha/?p=3 |
17:37 |
|
Morthland |
truncate? |
17:37 |
|
jcamins |
Yeah, truncate the table. |
17:37 |
|
Morthland |
ok |
17:37 |
|
jcamins |
I don't like using truncate. |
17:37 |
|
jcamins |
I don't like using delete either. |
17:37 |
|
jcamins |
But I don't think you have a choice. |
17:39 |
|
Morthland |
no luck |
17:39 |
|
Morthland |
wont let me truncate |
17:39 |
|
jcamins |
What did it say? |
17:41 |
|
Morthland |
cannot truncate table referenced in a foreign key constraint |
17:41 |
|
Morthland |
I might just drop all the tables and start from scratch. |
17:41 |
|
jcamins |
Oh, I must have gotten it backwards. |
17:41 |
|
jcamins |
No need. |
17:41 |
|
Morthland |
what should I do/ |
17:41 |
|
Morthland |
? |
17:41 |
|
jcamins |
Run this command, less "everything": delete from everything biblio |
17:42 |
|
* jcamins |
had sudden images of someone copying and pasting having gotten confused. |
17:42 |
|
Morthland |
the whole string, you mean "less "everything": delete from everything biblio" |
17:43 |
|
jcamins |
No, I mean after the colon, but remove the word "everything". |
17:43 |
|
Morthland |
delete from biblio"? |
17:43 |
|
Morthland |
*delete from biblio? |
17:43 |
|
jcamins |
Right. |
17:44 |
|
jcamins |
With a semicolon at the end. |
17:44 |
|
* jcamins |
hopes no one tries copying that line, ever. |
17:44 |
|
Morthland |
done. |
17:45 |
|
Morthland |
let me see what I got. |
17:46 |
|
Morthland |
haven't set up automatic indexing on the new server yet. |
17:47 |
|
Morthland |
everything is still showing up. |
17:47 |
|
jcamins |
Yeah, you'll need to reindex. |
17:47 |
|
jcamins |
Even with rebuild_zebra running in cron. |
17:48 |
|
Morthland |
i'm running the index-daemon |
17:48 |
|
Morthland |
but that isn't fixing the issue |
17:49 |
|
jcamins |
You'll have to reindex from scratch. |
17:49 |
|
Morthland |
how do I do that? |
17:49 |
|
jcamins |
koha-zebra-index --full |
17:49 |
|
jcamins |
Or whatever that command is. |
17:50 |
|
SVR |
i tried but no found correct result. tell me the script for simple log attaching to opac |
17:50 |
|
jcamins |
SVR: if you look through the blog, there is lots of information about customizing the OPAC. |
17:51 |
|
jcamins |
I imagine if you searched google for something like "koha change opac logo" you'd find a couple of blog posts. |
17:52 |
|
oleonard |
SVR: http://www.myacpl.org/koha/?p=3 |
17:52 |
|
martian523 |
i'm running 3.08.01.000 |
17:52 |
|
jcamins |
martian523: then, yes, the solution would seem to be upgrading. I guess that was a bug in 3.8.1 that was fixed in 3.8.2. |
17:53 |
|
tcohen |
do u #koha think --set-selections is a good method for setting the install of dependencies? |
17:54 |
|
jcamins |
tcohen: to be honest, I do not. |
17:54 |
|
jcamins |
I much preferred a script. |
17:54 |
|
jcamins |
More self-explanatory. |
17:54 |
|
tcohen |
i'm trying to document the install procedure for precise on a amd64 box and it doesn't lookreliable |
17:54 |
|
jcamins |
But I guess set-selections is preferred for Ubuntu? |
17:55 |
|
tcohen |
WARNING: The following essential packages will be removed. |
17:55 |
|
tcohen |
This should NOT be done unless you know exactly what you are doing! |
17:55 |
|
tcohen |
apt ubuntu-keyring (due to apt) libapt-pkg4.12 (due to apt) libstdc++6 ... |
17:55 |
|
tcohen |
not sure WHY thou |
17:55 |
|
jcamins |
!!! |
17:55 |
|
jcamins |
That's not good. |
17:55 |
|
tcohen |
not at all! |
17:55 |
|
tcohen |
it *should* work |
17:56 |
|
|
lemon joined #koha |
17:57 |
|
mtompset |
WHAT?! |
17:57 |
|
mtompset |
That's weird. |
17:57 |
|
mtompset |
I thought 'apt' was in the install package list. |
17:58 |
|
mtompset |
-- which begs the question, should it be? it's there by default. |
17:58 |
|
jcamins |
Heh. Probably not. |
17:58 |
|
tcohen |
I think i'm messing up with selections |
17:59 |
|
tcohen |
otherwise something must be very wrong |
18:01 |
|
jcamins |
fredericd++ |
18:01 |
|
mtompset |
BTW... you were right, jcamins. Half-dozen... I was tweaking my script. |
18:02 |
|
mtompset |
CGI::Session::Driver::memcached NOT FOUND! |
18:02 |
|
mtompset |
HTTP::OAI NOT FOUND! |
18:02 |
|
mtompset |
Locale::Currency::Format NOT FOUND! |
18:02 |
|
mtompset |
Memoize::Memcached NOT FOUND! |
18:02 |
|
mtompset |
PDF::API2::Simple NOT FOUND! |
18:02 |
|
mtompset |
Text::CSV::Encoded NOT FOUND! |
18:02 |
|
tcohen |
what is the set-selections semantics? |
18:02 |
|
jcamins |
Yeah, those look familiar. |
18:02 |
|
tcohen |
does it overwrite the selections? is it appended? |
18:03 |
|
jcamins |
tcohen: I suspect it's appended, but I don't know. |
18:03 |
|
tcohen |
i have a virgin 12.04 install |
18:03 |
|
tcohen |
and using set-selections tries to destroy it |
18:04 |
|
* mtompset |
grins, "Sounds like it isn't any more." |
18:04 |
|
Morthland |
looks likek that works |
18:04 |
|
Morthland |
allthough, |
18:04 |
|
Morthland |
my index daemon said it indexed 3400 entries, |
18:04 |
|
Morthland |
and we only have 1550 items. |
18:05 |
|
jcamins |
Odd. |
18:05 |
|
tcohen |
mtompset: what are you exactly working on? |
18:05 |
|
jcamins |
Morthland: for future reference, the best way to transfer a database between systems is to dump the entire database, and load it on the new system. |
18:06 |
|
Morthland |
Good to know. |
18:06 |
|
Morthland |
I wasn't sure whether Koha would be happy with that. |
18:06 |
|
jcamins |
Yup. |
18:06 |
|
jcamins |
That's how upgrades work. |
18:06 |
|
mtompset |
a bash script that uses ./koha_perl_deps.pl to see if the libraries exist or not. |
18:07 |
|
Morthland |
I used that, |
18:07 |
|
Morthland |
and got to where I wasn't missing any dependencies, |
18:07 |
|
Morthland |
and the web installer still listed one. |
18:08 |
|
mtompset |
that would be a failure to update PerlDependencies.pm |
18:08 |
|
mtompset |
Worthy of a bug report. |
18:08 |
|
mtompset |
But that dpesn't make sense, since the web installed probably uses the same module. |
18:09 |
|
tcohen |
mtompset, are you planning to add a new script? |
18:09 |
|
Morthland |
I figured it did, so I was a bit confused |
18:09 |
|
mtompset |
It was for my own personal use. :) |
18:09 |
|
Morthland |
I CPANed it and had no problems |
18:09 |
|
tcohen |
for k in $(for i in $(./koha_perl_deps.pl -m -u | grep '::' | cut -d" " -f1 | perl -pi -e 's/::/-/g' | tr '[A-Z]' '[a-z]') ; do echo lib$i-perl ; done); do apt-cache search $k ; done |
18:09 |
|
mtompset |
I told you. |
18:09 |
|
mtompset |
That won't work |
18:09 |
|
mtompset |
CGI |
18:09 |
|
mtompset |
YAML |
18:09 |
|
tcohen |
it misses YAM Land CGI |
18:10 |
|
mtompset |
and whatever future mess that comes along. |
18:10 |
|
mtompset |
DBI |
18:10 |
|
mtompset |
GD |
18:10 |
|
mtompset |
JSON |
18:10 |
|
tcohen |
thinking of useful scripts, adding a switch -B (fr batch) to koha_perl_deps.pl |
18:11 |
|
tcohen |
would be of help |
18:11 |
|
mtompset |
Test |
18:11 |
|
mtompset |
POSIX |
18:11 |
|
tcohen |
to make it output just the library names |
18:11 |
|
mtompset |
Storable |
18:11 |
|
wahanui |
Storable is yellow and Graphics::Magick |
18:11 |
|
tcohen |
(the missing ones) |
18:11 |
|
mtompset |
Template |
18:11 |
|
wahanui |
it has been said that Template is a copy from output |
18:11 |
|
mtompset |
... I'll stop |
18:11 |
|
mtompset |
That's why I am writing the script. |
18:12 |
|
mtompset |
Would you like to see my rough draft? |
18:12 |
|
tcohen |
i'd add a switch to koha_perl_deps |
18:13 |
|
tcohen |
and also that useful script you're doing |
18:13 |
|
tcohen |
i'd like to take a look at it |
18:13 |
|
mtompset |
It's easier to bash onto it, than modify something that I haven't had time to understand. |
18:13 |
|
tcohen |
it could serve for maintaining the docs |
18:13 |
|
tcohen |
and the package list |
18:14 |
|
mtompset |
Let's see.. I've never tried transferring a file via IRC in the last few decades. |
18:15 |
|
jcamins |
If someone would like to submit a patch for ubuntu.packages for 3.6.7 (if there any missing), I will accept it. |
18:15 |
|
mtompset |
Do you have a capable IRC client, tcohen? |
18:15 |
|
tcohen |
yeap |
18:15 |
|
jcamins |
You can transfer files over IRC? |
18:15 |
|
* jcamins |
didn't know that. |
18:16 |
|
tcohen |
jcamins, unfortunately i'm leaving in 10'' |
18:16 |
|
mtompset |
how do I do this? |
18:16 |
|
tcohen |
but i'd like to have it ready for 3.6.7! |
18:17 |
|
jcamins |
mtompset: git checkout origin/3.6.x |
18:17 |
|
tcohen |
i'm finishing writing the INSTALL.ubuntu.precise file |
18:17 |
|
jcamins |
Make any necessary changes to ubuntu.packages |
18:17 |
|
jcamins |
git add ubuntu.packages |
18:17 |
|
jcamins |
git commit |
18:17 |
|
jcamins |
(add description) |
18:17 |
|
jcamins |
git send-email -1 |
18:17 |
|
mtompset |
Maybe in 24 hours. |
18:17 |
|
jcamins |
Send the message to patcheslists.koha-community.org |
18:18 |
|
jcamins |
If no one has time to do it in the next day, it'll keep until 3.6.8. :) |
18:19 |
|
jcamins |
Just thought I'd let you know that this is pretty much the only patch I'd accept for 3.6.7 at this point. |
18:20 |
|
mtompset |
That's my script rough draft. |
18:20 |
|
tcohen |
mtompset: email me at tomascohen gmail? |
18:21 |
|
mtompset |
You didn't get the DCC SEND? |
18:21 |
|
|
SJeffery joined #koha |
18:21 |
|
tcohen |
nope, looks like quassel doesn't handle it |
18:21 |
|
|
hank_bank joined #koha |
18:23 |
|
tcohen |
bye everyone, have a nice weekend |
18:23 |
|
mtompset |
Thank you. You too. |
18:23 |
|
mtompset |
no dot? |
18:24 |
|
jcamins |
mtompset: Gmail ignores dots. |
18:24 |
|
mtompset |
oh, okay. |
18:25 |
|
mtompset |
While I'm sending my script, would you like a glimpse too, jcamins? |
18:26 |
|
jcamins |
mtompset: yes please! |
18:26 |
|
jcamins |
jcamins at cpbibliography.com |
18:28 |
|
tcohen |
Bug 8485 |
18:28 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8485 enhancement, P5 - low, ---, gmcharlt, NEW , Make koha_perl_deps.pl batch friendly |
18:28 |
|
tcohen |
now I leave :-P |
18:30 |
|
mtompset |
It may be rejected. :P |
18:30 |
|
jcamins |
Thanks. |
18:31 |
|
mtompset |
I sent an email. I suppose you got it. :) |
18:31 |
|
oleonard |
jcamins: Could you comment on Bug 8360? Seems like something your expertise might help with |
18:31 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8360 normal, P5 - low, ---, adrien.saurat, Needs Signoff , Author facet not working |
18:32 |
|
jcamins |
Looking now. |
18:32 |
|
mtompset |
I forgot to put some credit in my script to eythian? for the grep. |
18:32 |
|
|
martian523 joined #koha |
18:32 |
|
martian523 |
i'm back, sorry |
18:32 |
|
martian523 |
have another question about "lists" |
18:32 |
|
jcamins |
Yeah, needs to be ,phr IMO. |
18:32 |
|
|
chris_n` joined #koha |
18:33 |
|
martian523 |
the list i created doesn't show up after i saved it |
18:33 |
|
martian523 |
does the lists function not work? |
18:33 |
|
oleonard |
It should martian523. Where and how are you creating the list? |
18:33 |
|
oleonard |
and remind me what version you're on |
18:35 |
|
oleonard |
Thanks jcamins |
18:36 |
|
|
chris_n` joined #koha |
18:36 |
|
mtompset |
Well, it is 2:34AM here. |
18:36 |
|
mtompset |
I'm going to bed. |
18:37 |
|
martian523 |
i'm using 3.8.1 |
18:37 |
|
martian523 |
and there's a "Lists" |
18:38 |
|
martian523 |
I clicked on that, clicked new list |
18:38 |
|
martian523 |
created a new list, saved, and doesn't appear in lists |
18:39 |
|
oleonard |
Staff client martian523 ? |
18:47 |
|
martian523 |
admin |
18:49 |
|
oleonard |
I don't have any trouble creating a new list in the staff client in master. |
18:49 |
|
martian523 |
am i doing something wrong? |
18:50 |
|
martian523 |
staff client in master = admin, correct? |
18:50 |
|
jcamins |
Staff client = the interface that staff use. |
18:50 |
|
martian523 |
access everything right? |
18:50 |
|
martian523 |
yes |
18:51 |
|
oleonard |
martian523: After you create a new list, are you redirected to a page where you can add a new title to the list by barcode? |
18:51 |
|
martian523 |
nope |
18:52 |
|
martian523 |
redirected back to add new list |
18:52 |
|
martian523 |
to the previous page |
18:52 |
|
oleonard |
I don't see this problem in Bywater's Koha demo which is running 3.8.0 |
18:53 |
|
martian523 |
i'm running 3.8.1 |
18:53 |
|
jcamins |
martian523: are you logged in as the kohaadmin user? |
18:53 |
|
martian523 |
yep |
18:54 |
|
Morthland |
Because of all my issues with importing my records, my biblio numbers start at 6121. That isn't a problem, is it? |
18:54 |
|
jcamins |
That's probably your problem. |
18:54 |
|
jcamins |
Morthland: nope. |
18:54 |
|
Morthland |
I figured. Always best to check, though. |
18:54 |
|
oleonard |
martian523: You should always create a new superlibrarian user account to use instead of kohaadmin |
18:55 |
|
jcamins |
Morthland: agreed. |
18:55 |
|
oleonard |
Using kohaadmin is likely to lead to random errors |
18:55 |
|
oleonard |
martian523: There's no point in investigating this bug further until you test with a regular account |
18:56 |
|
martian523 |
superlibrarian user account? |
18:56 |
|
martian523 |
wow |
18:57 |
|
martian523 |
let me ask the IT ppl |
18:57 |
|
oleonard |
martian523: That just means a new patron in Koha with "superlibrarian" privileges |
18:57 |
|
oleonard |
No IT ppl required |
19:02 |
|
oleonard |
Sound doable martian523 ? |
19:03 |
|
martian523 |
how do you set up the superlibrarian privileges? |
19:03 |
|
martian523 |
i'm in kohaadmin at this point |
19:03 |
|
oleonard |
Did you create a new patron? |
19:04 |
|
martian523 |
by creating a new patron of "superlibrarian", i can do more than what i can do now? |
19:04 |
|
oleonard |
Yes, because you can do it without random bugs related to using the kohaadmin user |
19:04 |
|
jcamins |
martian523: you can do almost everything you can do well, and you'll be able to get help. |
19:04 |
|
jcamins |
*now, not well |
19:05 |
|
oleonard |
The kohaadmin user is not meant to be used except to set up the main admin user |
19:05 |
|
oleonard |
martian523: http://manual.koha-community.o[…]html#addnewpatron |
19:06 |
|
oleonard |
martian523: http://manual.koha-community.o[…]npermissions.html |
19:09 |
|
martian523 |
ok, thanks, i'll try |
19:14 |
|
wizzyrea |
@marc 501 |
19:14 |
|
huginn |
wizzyrea: A note that is used when more than one bibliographic work is contained in a physical item at the time of publishing, release, issue, or execution. The works usually have distinctive titles and lack a collective title. (Repeatable) [a,5,6,8] |
19:14 |
|
wahanui |
i already had it that way, huginn. |
19:14 |
|
martian523 |
thanks, everything works now |
19:14 |
|
martian523 |
=) |
19:14 |
|
wizzyrea |
hrm |
19:14 |
|
wizzyrea |
@marc 505 |
19:14 |
|
huginn |
wizzyrea: The titles of separate works or parts of an item or the table of contents. The field may also contain statements of responsibility and volume numbers or other sequential designations. (Repeatable) [a,g,r,t,u,6,8] |
19:15 |
|
jcamins |
wizzyrea: the note looks lik "Bound with: book / author." |
19:15 |
|
wizzyrea |
@marc 505a |
19:15 |
|
huginn |
wizzyrea: unknown tag 505a |
19:15 |
|
wizzyrea |
@marc 505$a |
19:15 |
|
huginn |
wizzyrea: unknown tag 505$a |
19:15 |
|
wizzyrea |
hrmph. |
19:15 |
|
jcamins |
@marc 505 a |
19:15 |
|
huginn |
jcamins: Formatted contents note The format of the note is determined by the relevant cataloging rules. |
19:15 |
|
wahanui |
i already had it that way, huginn. |
19:15 |
|
jcamins |
@marc 505 t |
19:15 |
|
huginn |
jcamins: Title (Repeatable) |
19:15 |
|
jcamins |
@marc 505 r |
19:15 |
|
huginn |
jcamins: Statement of responsibility (Repeatable) |
19:15 |
|
wizzyrea |
http://catalog.nexpresslibrary[…]blionumber=243386 |
19:15 |
|
* jcamins |
runs around and shouts "I'm helping!" |
19:16 |
|
wizzyrea |
trying to find a place besides subjects to put all that stuf fin |
19:16 |
|
wizzyrea |
hehehe |
19:16 |
|
wizzyrea |
is a bit of a display nightmare |
19:16 |
|
jcamins |
I would use 690. |
19:16 |
|
jcamins |
You want them to be controlled headings. |
19:16 |
|
wizzyrea |
690 you say |
19:16 |
|
jcamins |
That's what I'd do. |
19:17 |
|
wizzyrea |
how does it display? |
19:17 |
|
jcamins |
Then make Koha put the tag number in the class and, bingo, easy to format. |
19:17 |
|
jcamins |
Except in order to have these authority controlled they'd have to be formatted not like that. |
19:17 |
|
wizzyrea |
oh it's not about authority control |
19:17 |
|
jcamins |
You know what, forget the 690 suggestion. |
19:17 |
|
wizzyrea |
it's a bout making it look pretty. |
19:18 |
|
jcamins |
I know. |
19:18 |
|
wizzyrea |
:P |
19:18 |
|
jcamins |
But I'd use 690 so that they'd be live links. |
19:18 |
|
wizzyrea |
oh they don't need to be live links |
19:18 |
|
jcamins |
(i.e. authority controlled) |
19:18 |
|
wizzyrea |
in fact, clicking them is ERROR ERROR |
19:18 |
|
jcamins |
Okay... |
19:18 |
|
wizzyrea |
so i'd even rather them not be links |
19:18 |
|
jcamins |
505. |
19:18 |
|
oleonard |
Hey wizzyrea, that stuff is falling from the sky again. You know, the... whatsit. |
19:19 |
|
wizzyrea |
oh um... |
19:19 |
|
wizzyrea |
it's moist |
19:19 |
|
wizzyrea |
r... |
19:19 |
|
wizzyrea |
rrrr... |
19:19 |
|
wizzyrea |
rhododendrons? |
19:19 |
|
oleonard |
Right, but it's not ravioli |
19:19 |
|
wizzyrea |
no, not that. |
19:19 |
|
jcamins |
Though, just a warning, 505 is pretty gosh darn hideous. |
19:20 |
|
* wizzyrea |
is very jealous that oleonard has rhinestones falling from the sky |
19:22 |
|
|
mbalmer joined #koha |
19:28 |
|
|
libsysguy joined #koha |
19:40 |
|
oleonard |
Shelving location really ought to be branch-specific. |
19:42 |
|
|
libsysguy joined #koha |
19:44 |
|
wizzyrea |
or you have an iron fisted control over what happens at every branch in your system. |
19:44 |
|
* wizzyrea |
makes a habit of forcing square pegs into round holes |
19:44 |
|
* wizzyrea |
is teasing |
19:48 |
|
|
libsysguy joined #koha |
20:17 |
|
oleonard |
Bye #koha, have a good weekend |
20:37 |
|
|
libsysguy joined #koha |
20:58 |
|
|
stuartyeates joined #koha |
21:13 |
|
|
edveal left #koha |
21:13 |
|
|
JesseM left #koha |
21:27 |
|
|
lemon joined #koha |
21:31 |
|
rangi |
fredericd++ |
21:36 |
|
jenkins_koha |
Starting build #99 for job Koha_3.8.x (previous build: SUCCESS) |
21:44 |
|
|
cait joined #koha |
21:51 |
|
|
lemon left #koha |
22:40 |
|
jenkins_koha |
Project Koha_3.8.x build #99: SUCCESS in 1 hr 4 min: http://jenkins.koha-community.[…]ob/Koha_3.8.x/99/ |
22:40 |
|
jenkins_koha |
* f.demians: Koha 3.8.3 Translation Update |
22:40 |
|
jenkins_koha |
* Chris Cormack: Bunping db version for release |
22:40 |
|
jenkins_koha |
* Chris Cormack: 3.8.3 Release notes |
22:51 |
|
|
thd-away` joined #koha |
23:17 |
|
|
Oak joined #koha |
23:18 |
|
Oak |
kia ora #koha |
23:18 |
|
* Oak |
goes to sleep |
23:28 |
|
bag |
bug 8133 |
23:28 |
|
huginn |
Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8133 enhancement, P5 - low, ---, kyle.m.hall, NEW , hourly loans doesn't know when library closed |
23:58 |
|
|
brylie joined #koha |