Time |
S |
Nick |
Message |
12:39 |
|
owen |
paul: if you're there-- I can't get MARCNOTES to appear in opac-detail. Is it working for you? |
12:58 |
|
slef |
owen: you been working on 2.2's CSS right? |
12:58 |
|
owen |
I've been updating the NPL templates for 2.2 |
12:58 |
|
owen |
I'm fairly familiar with the default/css ones. |
12:59 |
|
slef |
which has been the flurry of commits recently? |
13:00 |
|
owen |
NPL templates |
13:00 |
|
owen |
They were significantly behind the default ones when 2.2 was released |
13:01 |
|
slef |
Ah, I just had someone phone to say default/css are broken in kHTML-based browsers. Who should I ask about that? |
13:02 |
|
owen |
I'd be happy to try to help, although I don't have a kHTML browser on hand |
13:03 |
|
owen |
Paul's the one who wrote the css in the first place. |
13:06 |
|
owen |
Maybe I should bite the bullet and install Cygwin |
13:17 |
|
slef |
Is this something I should send to koha-devel? Do we know whether the CSS files validate? |
13:18 |
|
owen |
How about filing a bug for it? |
13:20 |
|
slef |
because I can't confirm or deny it either :D |
13:21 |
|
owen |
I'd say best to get it documented so it can get looked at. |
13:38 |
|
owen |
slef: was the problem with the opac, intranet, both, or undetermined? |
13:40 |
|
slef |
both... some of the intranet controls were underneath other page elements |
13:43 |
|
owen |
The CSS is pretty good as validity goes, but that doesn't mean there couldn't be any number of problems. |
13:58 |
|
kados |
that may be the easiest way to go ... what do you think? |
13:58 |
|
kados |
oops ;-) |
17:49 |
|
kados |
yep ... |
17:53 |
|
chris |
heya joshua |
17:53 |
|
kados |
hey chris |
17:53 |
|
kados |
what's up? |
17:53 |
|
chris |
im wondering if i can get a favour |
17:53 |
|
kados |
sure ... |
17:53 |
|
chris |
would I be able to get you to do a koha marc export of say 500 of your biblio records? |
17:53 |
|
kados |
sounds reasonable |
17:54 |
|
kados |
there is some sample data in 2.2 misc dir btw |
17:54 |
|
chris |
ohh is there ? |
17:54 |
|
kados |
I think so |
17:54 |
|
chris |
ahh that would do then, ill go look for that |
17:56 |
|
kados |
chris: did you find it? I could be wrong about that ... I see sampledata-1.2 ... but no 2.2 sample data |
18:00 |
|
chris |
hmm i can find 1.2 sample data |
18:00 |
|
kados |
chris: yea ... sorry about the goose chase |
18:01 |
|
kados |
chris: I thought I'd seen 2.2 data in there |
18:01 |
|
chris |
no worries |
18:01 |
|
kados |
I'm not even sure what the best way to export is |
18:01 |
|
chris |
id do it using the tool in koha, in the admin/parameters section |
18:01 |
|
kados |
chris: do you want from 2.0 or 2.2? |
18:02 |
|
chris |
hmm |
18:02 |
|
chris |
good question, lets try 2.2 (in theory the MARC should be the same) |
18:03 |
|
chris |
im just trying to save myself having to try and munge some data in |
18:03 |
|
chris |
before the conference next week |
18:03 |
|
kados |
chris: ok ... it's downloading ... |
18:04 |
|
kados |
right |
18:04 |
|
chris |
i should take a photo of the fancy koha appliance to show ya, ill make sure i take lots of photos at the conference |
18:04 |
|
chris |
its metallic green :-) |
18:04 |
|
kados |
cool |
18:06 |
|
kados |
hmmm, this is taking quite a while ... NPL's ISP is having some probs atm |
18:06 |
|
chris |
ahh |
18:06 |
|
kados |
may take a bit |
18:07 |
|
chris |
right |
18:11 |
|
kados |
hmmm, this download seems to have frozen ... I'm going to try a smaller bunch |
18:12 |
|
chris |
right, maybe just 50 for a start |
18:12 |
|
kados |
how about 5? ;-) |
18:12 |
|
kados |
it's coming out as 'marc.pl' |
18:12 |
|
chris |
that'll work |
18:17 |
|
kados |
we're at about 1.0MB here so far ... not sure how big this is going to be |
18:17 |
|
chris |
cripes |
18:17 |
|
kados |
chris: it may be broken ... I'm not really sure ... |
18:18 |
|
chris |
ud think 5 records would be about 10k |
18:18 |
|
kados |
huh ... it's empty |
18:19 |
|
kados |
oops ... no it's not |
18:19 |
|
kados |
marc.pl.part has stuff |
18:19 |
|
kados |
but way more than 5 records |
18:19 |
|
kados |
hmmm |
18:19 |
|
chris |
hmm |
18:20 |
|
chris |
so you just went 1 to 5 for the biblionumbers? |
18:20 |
|
kados |
0 to 5 |
18:20 |
|
kados |
maybe the problem |
18:20 |
|
chris |
i wonder if the 0 throws it off |
18:20 |
|
kados |
yea I'll retry with 1 |
18:21 |
|
kados |
hehe ... ok ... 50 are done |
18:21 |
|
kados |
you want 500 then? |
18:21 |
|
chris |
that'd be cool |
21:42 |
|
kados |
chris around? |
21:42 |
|
chris |
yep |
21:42 |
|
kados |
have you been able to add items via z39.50 at all? |
21:42 |
|
kados |
on your koha 2.2? |
21:42 |
|
chris |
havent tried yet, maybe ill give that a whirl right now |
21:43 |
|
kados |
it's trixy ... you have to start with an isbn or title |
21:43 |
|
kados |
go to add item ... search on that |
21:43 |
|
kados |
if it's not in the 'breeding farm || resovoir' then you have to 'add' it ... and then after that you add the isbn and do a search |
21:44 |
|
kados |
it isn't working for me ... but no errors are reported |
21:44 |
|
kados |
oh ... you need to add a server too |
21:44 |
|
kados |
:-) |
21:45 |
|
chris |
:) |
21:45 |
|
chris |
i gotta get the daemon to start first :) |
21:45 |
|
kados |
chris: here's one: z3950.loc.gov: 7090 database: voyager |
21:46 |
|
kados |
oh ... maybe that's my problem ... I forgot about the daemon :-) |
21:47 |
|
kados |
you getting this: |
21:47 |
|
kados |
./z3950-daemon-shell.sh: line 15: ./z3950-daemon-options: No such file or directory |
21:47 |
|
chris |
nope |
21:47 |
|
chris |
i have the options file im getting this |
21:47 |
|
chris |
Global symbol "$context" requires explicit package name at /usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 191. |
21:48 |
|
chris |
which someone else complained about on the list |
21:48 |
|
chris |
hmm i wonder if its fixed in cvs |
21:48 |
|
kados |
I just checked this out like a half-hour ago |
21:48 |
|
kados |
and didn't get the options dir |
21:48 |
|
kados |
oh ... I did rel22 ... dont' know if that matters |
21:48 |
|
kados |
sigh |
21:49 |
|
chris |
mine is stock 2.2 install |
21:49 |
|
kados |
ahh |
21:49 |
|
chris |
not from cvs |
21:50 |
|
kados |
strante ... it's not in HEAD |
21:51 |
|
kados |
huh ... not in rel_2_2 either ... |
21:52 |
|
kados |
ahh ... I'm running it from the wrong place :-/ |
21:52 |
|
kados |
trixy cvs symlinks |
21:52 |
|
chris |
my $context=C4::Context->new(); |
21:52 |
|
chris |
if you put that in line 90 of processz3950queue (and have the options file) |
21:53 |
|
chris |
it will actually start :) |
21:53 |
|
kados |
which one are you running? |
21:54 |
|
chris |
z3950-daemon-launch.sh |
21:54 |
|
chris |
ok whats a valid isbn ? |
21:54 |
|
kados |
0060512806 |
21:54 |
|
kados |
that's cryptonomicon |
21:55 |
|
chris |
ta |
21:56 |
|
kados |
hmmm ... still not working ... no errors either |
21:58 |
|
chris |
hmm i had this working once |
21:58 |
|
kados |
in 2.2? |
21:59 |
|
chris |
naw, in 2.0 |
22:02 |
|
kados |
so is the idea that the 'launch' replaces the 'shell' version? |
22:03 |
|
kados |
didn't it used to be that it had to be run in the shell? |
22:04 |
|
chris |
the launch runs the shell |
22:04 |
|
chris |
which runs the processqueue |
22:04 |
|
chris |
afaict |
22:06 |
|
chris |
well its putting stuff in the queue |
22:07 |
|
kados |
hmmm ... no network activity that I can see |
22:07 |
|
chris |
7 | 0060512806 | isbn | 1106788036 | 1106788036 | 1 | NULL | NULL | | 22162487.5712259 | |
22:07 |
|
chris |
but i cant see that its actually doing anything |
22:10 |
|
chris |
ah ha |
22:10 |
|
chris |
+----+------------+------+------------+------------+------+---------+------------+---------+------------------+ |
22:10 |
|
chris |
| id | term | type | startdate | enddate | done | results | numrecords | servers | identifier | |
22:10 |
|
chris |
+----+------------+------+------------+------------+------+---------+------------+---------+------------------+ |
22:10 |
|
chris |
| 1 | 1234 | isbn | 1106787294 | 1106787294 | 1 | NULL | NULL | | 246248850.905435 | |
22:10 |
|
chris |
servers is blank |
22:10 |
|
chris |
so whatever is injecting the requests into the queue |
22:10 |
|
chris |
isnt pushing in the server info |
22:10 |
|
kados |
huh ... maybe rebuildnonmarc? |
22:10 |
|
chris |
naw, its not that |
22:11 |
|
chris |
whatever happens when you click on z3950 search |
22:11 |
|
chris |
its inserting the isbn number |
22:11 |
|
chris |
but not the server info |
22:11 |
|
chris |
so then the process queue comes along |
22:11 |
|
chris |
processqueue even |
22:12 |
|
chris |
looks, goes "no server im done" |
22:13 |
|
chris |
so z3950/search.pl is doing something slightly wrong |
22:14 |
|
chris |
so im on the hunt to read up on addz3950queue |
22:15 |
|
kados |
ok ... |
22:15 |
|
kados |
trixy ethereal ;-) |
22:16 |
|
chris |
addz3950queue($isbn, "isbn", $random, 'CHECKED'); is hows it called |
22:16 |
|
chris |
C<DEFAULT> and C<CHECKED> are synonymous, and refer to those servers |
22:16 |
|
chris |
in the z3950servers table whose 'checked' field is set and non-NULL. |
22:16 |
|
chris |
hmmm |
22:16 |
|
chris |
right i think ive figured it out |
22:17 |
|
chris |
make sure you set ur z3950 server to have checked=1 |
22:17 |
|
chris |
in the parameters |
22:18 |
|
chris |
yay |
22:18 |
|
chris |
now im the database it says |
22:18 |
|
chris |
9 | 0060512806 | isbn | NULL | NULL | NULL | NULL | NULL | LIBRARY OF CONGRESS/z3950.loc.gov:7090/voyager///MARC21 | 535026217.884482 | |
22:18 |
|
chris |
thats more like it |
22:22 |
|
chris |
10834/11 : Processing isbn=0060512806 at LIBRARY OF CONGRESS z3950.loc.gov:7090 voyager MARC21 (1 forks) |
22:22 |
|
chris |
10834/11 : 2 >> |
22:22 |
|
chris |
10834/11 : creating and 10834/11 : working on results entry 3 |
22:22 |
|
chris |
10834/11 : connected to LIBRARY OF CONGRESS |
22:22 |
|
chris |
Can't call method "size" on an undefined value at processz3950queue line 272. |
22:22 |
|
chris |
starting loop |
22:22 |
|
chris |
DBD::mysql::st execute warning: at processz3950queue line 142. |
22:22 |
|
chris |
yuck |
22:26 |
|
kados |
hehe ... that's the last time I run ethereal on my gateway :-) |
22:27 |
|
chris |
wb joshua |
22:27 |
|
chris |
ive got stuff happening now |
22:28 |
|
kados |
cool |
22:28 |
|
chris |
i wonder do you know of any other z3950 servers |
22:28 |
|
chris |
10855/12 : Processing isbn=0060512806 at LIBRARY OF CONGRESS z3950.loc.gov:7090 voyager UNIMARC (1 forks) |
22:28 |
|
chris |
10855/12 : 2 >> |
22:28 |
|
chris |
10855/12 : creating and 10855/12 : working on results entry 4 |
22:28 |
|
chris |
10855/12 : connected to LIBRARY OF CONGRESS |
22:28 |
|
chris |
Can't call method "size" on an undefined value at processz3950queue line 272. |
22:29 |
|
chris |
it doesnt appear to like loc too much |
22:29 |
|
kados |
yea ... do a google search on 'kados list of z39.50 servers' there's a katipo email |
22:29 |
|
kados |
I don't have internet yet |
22:29 |
|
kados |
hehe |
22:31 |
|
chris |
right |
22:31 |
|
kados |
sweet .. back up |
22:32 |
|
kados |
http://lists.katipo.co.nz/publ[…]/2004/003644.html |
22:33 |
|
kados |
:-) |
22:33 |
|
kados |
there's always NPL's server :-) |
22:33 |
|
kados |
66.213.78.60:9090 iirc |
22:34 |
|
chris |
hehe |
22:34 |
|
chris |
nice |
22:34 |
|
chris |
11049/13 : Processing isbn=0060512806 at NATIONAL LIB OF NZ zed.natlib.govt.nz:210 pinz MARC21 (2 forks) |
22:34 |
|
chris |
11049/13 : 2 >> |
22:34 |
|
chris |
11049/13 : creating and 11049/13 : working on results entry 5 |
22:34 |
|
chris |
11049/13 : connected to NATIONAL LIB OF NZ |
22:34 |
|
chris |
11049/13 : NATIONAL LIB OF NZ : no records found |
22:34 |
|
chris |
11049/13 : zed.natlib.govt.nz:210 search done. |
22:34 |
|
chris |
they dont have it |
22:34 |
|
kados |
hehe |
22:34 |
|
kados |
huh ... our z-server is down |
22:34 |
|
chris |
so it seems to work |
22:35 |
|
chris |
as long as you make sure you mark the server checked |
22:36 |
|
kados |
so did you decide that loc won't work? |
22:36 |
|
chris |
doesnt appear to |
22:37 |
|
chris |
yay natlib works |
22:40 |
|
chris |
so if you fix processz3950queue, and set up working servers (with checked = 1) then it appears to work |
22:43 |
|
chris |
hmm |
22:43 |
|
kados |
huh ... still not working for me ... I must be doing something wrong |
22:44 |
|
chris |
so does processqueue run? |
22:44 |
|
kados |
yea |
22:44 |
|
kados |
'defunct' tho |
22:45 |
|
kados |
have you been restarting the launch every time you make a change? |
22:45 |
|
chris |
yep |
22:45 |
|
kados |
and how have you been stopping it? |
22:46 |
|
chris |
try running perl -I /usr/local/koha/intranet/modules processz3950queue |
22:46 |
|
kados |
or are you just running them on top of each other |
22:46 |
|
chris |
kill |
22:46 |
|
kados |
ok .. me too |
22:46 |
|
chris |
id try just running the script, without the wrappers, and make sure it runs |
22:47 |
|
chris |
ah ha |
22:47 |
|
chris |
heres the problem |
22:47 |
|
kados |
huh ... I'm getting this: |
22:47 |
|
kados |
DBD::mysql::st execute failed: MySQL server has gone away at processz3950queue line 144. |
22:47 |
|
kados |
DBD::mysql::st execute failed: MySQL server has gone away at processz3950queue line 149. |
22:48 |
|
chris |
right, |
22:48 |
|
chris |
somewhere |
22:48 |
|
chris |
why? |
22:48 |
|
chris |
whoops wrong channel |
22:48 |
|
kados |
:-) |
22:48 |
|
chris |
right, theres that problem, and also this |
22:49 |
|
chris |
now in our set up |
22:49 |
|
chris |
we specify MARC21 say (for our server) |
22:49 |
|
kados |
right |
22:49 |
|
chris |
but in the processqueue script its got |
22:49 |
|
chris |
if ($globalsyntax eq "USMARC"); |
22:49 |
|
kados |
hehe |
22:50 |
|
chris |
so i think if i fix that, then it will actually put some records in the breeding farm |
22:51 |
|
kados |
well I get no records found ... and then the mysqlserver has gone away |
22:51 |
|
chris |
1215/16 : Processing title=maori at NATIONAL LIB OF NZ zed.natlib.govt.nz:210 pinz MARC21 (1 forks) |
22:51 |
|
chris |
11215/16 : 2 >> |
22:51 |
|
chris |
11215/16 : creating and 11215/16 : working on results entry 9 |
22:51 |
|
chris |
11215/16 : connected to NATIONAL LIB OF NZ |
22:51 |
|
chris |
11215/16 : NATIONAL LIB OF NZ : 273 records found, retrieving them (max 80) |
22:51 |
|
chris |
so far so good |
22:51 |
|
chris |
yeah then mysql goes away too |
22:52 |
|
chris |
what i dont understand is why it doesnt use C4::Context->dbh |
22:52 |
|
chris |
instead of making its own connections |
22:52 |
|
chris |
but yay i do get some records |
22:52 |
|
kados |
I'm using the same server ... but I'm not getting any results ... are you using cryptonomicon? |
22:52 |
|
chris |
nope |
22:52 |
|
chris |
try title, maori |
22:53 |
|
chris |
should get 80 back |
22:53 |
|
kados |
ok |
22:53 |
|
chris |
oh and line 261 of the processqueue |
22:53 |
|
chris |
change USMARC to MARC21 |
22:53 |
|
chris |
and then it sticks stuff in the breeding farm |
22:54 |
|
kados |
yep ... I got 80 back |
22:54 |
|
kados |
I did change USMARC to MARC21 ... |
22:54 |
|
chris |
sweet |
22:54 |
|
chris |
so you should have got some results in ur little pop up window |
22:55 |
|
kados |
I still get that mysql server has gone away |
22:55 |
|
chris |
yep me too |
22:55 |
|
chris |
thats cos it does go away |
22:55 |
|
kados |
yea results are popping up here |
22:55 |
|
chris |
i think thats an ignorable error |
22:55 |
|
chris |
well, id like to fix it, but it doesnt seem to stop it working |
22:56 |
|
chris |
but now i have to go measure a power supply |
22:56 |
|
kados |
:-) |
22:56 |
|
kados |
have fun |
22:56 |
|
kados |
thanks for the help |
05:30 |
|
chris |
hi paul |
05:30 |
|
paul |
hi chris |
05:30 |
|
paul |
good night ? |
05:30 |
|
paul |
very cold here in France (but less than in Ohio !) |
05:31 |
|
chris |
:) its 19c outside at the moment |
05:31 |
|
paul |
+1c in Marseille !!! |
05:31 |
|
chris |
thats pretty |
05:31 |
|
paul |
(yesterday, was -2 !) |
05:34 |
|
chris |
http://opac.qa.katipo.co.nz/cg[…]koha/opac-main.pl <-- new theme for the opac, its pretty much the css one, just prettied up a bit |
05:35 |
|
chris |
getting it ready for the conference we go to this weekend, richard is hard at work on the templates |