IRC log for #koha, 2005-01-28

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time 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 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 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 Paul's the one who wrote the css in the first place.
13:06 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 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 oops ;-)
17:49 yep ...
17:53 chris heya joshua
17:53 kados hey chris
17:53 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 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 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 good question, lets try 2.2 (in theory the MARC should be the same)
18:03 im just trying to save myself having to try and munge some data in
18:03 before the conference next week
18:03 kados chris: ok ... it's downloading ...
18:04 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 its metallic green :-)
18:04 kados cool
18:06 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 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 oops ... no it's not
18:19 marc.pl.part has stuff
18:19 but way more than 5 records
18:19 hmmm
18:19 chris hmm
18:20 so you just went 1 to 5 for the biblionumbers?
18:20 kados 0 to 5
18:20 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 hehe ... ok ... 50 are done
18:21 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 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 go to add item ... search on that
21:43 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 it isn't working for me ... but no errors are reported
21:44 oh ... you need to add a server too
21:44 :-)
21:45 chris :)
21:45 i gotta get the daemon to start first :)
21:45 kados chris: here's one: z3950.loc.gov: 7090 database: voyager
21:46 oh ... maybe that's my problem ... I forgot about the daemon :-)
21:47 you getting this:
21:47 ./z3950-daemon-shell.sh: line 15: ./z3950-daemon-options: No such file or directory
21:47 chris nope
21:47 i have the options file im getting this
21:47 Global symbol "$context" requires explicit package name at /usr/local/koha/intranet/script​s/z3950daemon/processz3950queue line 191.
21:48 which someone else complained about on the list
21:48 hmm i wonder if its fixed in cvs
21:48 kados I just checked this out like a half-hour ago
21:48 and didn't get the options dir
21:48 oh ... I did rel22 ... dont' know if that matters
21:48 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 huh ... not in rel_2_2 either ...
21:52 ahh ... I'm running it from the wrong place :-/
21:52 trixy cvs symlinks
21:52 chris my $context=C4::Context->new();
21:52 if you put that in line 90 of processz3950queue (and have the options file)
21:53 it will actually start :)
21:53 kados which one are you running?
21:54 chris z3950-daemon-launch.sh
21:54 ok whats a valid isbn ?
21:54 kados 0060512806
21:54 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 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 which runs the processqueue
22:04 afaict
22:06 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 but i cant see that its actually doing anything
22:10 ah ha
22:10 +----+------------+------+-----------​-+------------+------+---------+-----​-------+---------+------------------+
22:10 | id | term       | type | startdate  | enddate    | done | results | numrecords | servers | identifier       |
22:10 +----+------------+------+-----------​-+------------+------+---------+-----​-------+---------+------------------+
22:10 |  1 | 1234       | isbn | 1106787294 | 1106787294 |    1 | NULL    |       NULL |         | 246248850.905435 |
22:10 servers is blank
22:10 so whatever is injecting the requests into the queue
22:10 isnt pushing in the server info
22:10 kados huh ... maybe rebuildnonmarc?
22:10 chris naw, its not that
22:11 whatever happens when you click on z3950 search
22:11 its inserting the isbn number
22:11 but not the server info
22:11 so then the process queue comes along
22:11 processqueue even
22:12 looks, goes "no server im done"
22:13 so z3950/search.pl is doing something slightly wrong
22:14 so im on the hunt to read up on addz3950queue
22:15 kados ok ...
22:15 trixy ethereal ;-)
22:16 chris addz3950queue($isbn, "isbn", $random, 'CHECKED'); is hows it called
22:16 C<DEFAULT> and C<CHECKED> are synonymous, and refer to those servers
22:16 in the z3950servers table whose 'checked' field is set and non-NULL.
22:16 hmmm
22:16 right i think ive figured it out
22:17 make sure you set ur z3950 server to have checked=1
22:17 in the parameters
22:18 yay
22:18 now im the database it says
22:18 9 | 0060512806 | isbn |       NULL |       NULL | NULL | NULL    |       NULL | LIBRARY OF CONGRESS/z3950.loc.gov:7090/voyager///MARC21 | 535026217.884482 |
22:18 thats more like it
22:22 10834/11 : Processing isbn=0060512806 at LIBRARY OF CONGRESS z3950.loc.gov:7090 voyager MARC21 (1 forks)
22:22 10834/11 : 2 >>
22:22 10834/11 : creating and 10834/11 : working on results entry 3
22:22 10834/11 : connected to LIBRARY OF CONGRESS
22:22 Can't call method "size" on an undefined value at processz3950queue line 272.
22:22 starting loop
22:22 DBD::mysql::st execute warning:  at processz3950queue line 142.
22:22 yuck
22:26 kados hehe ... that's the last time I run ethereal on my gateway :-)
22:27 chris wb joshua
22:27 ive got stuff happening now
22:28 kados cool
22:28 chris i wonder do you know of any other z3950 servers
22:28 10855/12 : Processing isbn=0060512806 at LIBRARY OF CONGRESS z3950.loc.gov:7090 voyager UNIMARC (1 forks)
22:28 10855/12 : 2 >>
22:28 10855/12 : creating and 10855/12 : working on results entry 4
22:28 10855/12 : connected to LIBRARY OF CONGRESS
22:28 Can't call method "size" on an undefined value at processz3950queue line 272.
22:29 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 I don't have internet yet
22:29 hehe
22:31 chris right
22:31 kados sweet .. back up
22:32 http://lists.katipo.co.nz/publ[…]/2004/003644.html
22:33 :-)
22:33 there's always NPL's server :-)
22:33 66.213.78.60:9090 iirc
22:34 chris hehe
22:34 nice
22:34 11049/13 : Processing isbn=0060512806 at NATIONAL LIB OF NZ zed.natlib.govt.nz:210 pinz MARC21 (2 forks)
22:34 11049/13 : 2 >>
22:34 11049/13 : creating and 11049/13 : working on results entry 5
22:34 11049/13 : connected to NATIONAL LIB OF NZ
22:34 11049/13 : NATIONAL LIB OF NZ : no records found
22:34 11049/13 : zed.natlib.govt.nz:210 search done.
22:34 they dont have it
22:34 kados hehe
22:34 huh ... our z-server is down
22:34 chris so it seems to work
22:35 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 yay natlib works
22:40 so if you fix  processz3950queue, and set up working servers (with checked  = 1) then it appears to work
22:43 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 'defunct' tho
22:45 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 ah ha
22:47 heres the problem
22:47 kados huh ... I'm getting this:
22:47 DBD::mysql::st execute failed: MySQL server has gone away at processz3950queue line 144.
22:47 DBD::mysql::st execute failed: MySQL server has gone away at processz3950queue line 149.
22:48 chris right,
22:48 somewhere
22:48 why?
22:48 whoops wrong channel
22:48 kados :-)
22:48 chris right, theres that problem, and also this
22:49 now in our set up
22:49 we specify MARC21 say (for our server)
22:49 kados right
22:49 chris but in the processqueue script its got
22:49 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 11215/16 : 2 >>
22:51 11215/16 : creating and 11215/16 : working on results entry 9
22:51 11215/16 : connected to NATIONAL LIB OF NZ
22:51 11215/16 : NATIONAL LIB OF NZ : 273 records found, retrieving them (max 80)
22:51 so far so good
22:51 yeah then mysql goes away too
22:52 what i dont understand is why it doesnt use C4::Context->dbh
22:52 instead of making its own connections
22:52 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 try title, maori
22:53 should get 80 back
22:53 kados ok
22:53 chris oh and line 261 of the processqueue
22:53 change USMARC to MARC21
22:53 and then it sticks stuff in the breeding farm
22:54 kados yep ... I got 80 back
22:54 I did change USMARC to MARC21 ...
22:54 chris sweet
22:54 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 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 well, id like to fix it, but it doesnt seem to stop it working
22:56 but now i have to go measure a power supply
22:56 kados :-)
22:56 have fun
22:56 thanks for the help
05:30 chris hi paul
05:30 paul hi chris
05:30 good night ?
05:30 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 getting it ready for the conference we go to this weekend, richard is hard at work on the templates

← Previous day | Today | Next day → | Search | Index

koha1