| # | Time | Nick | Message |
|---|
| # | 04:16:18 | EGUEST648 has joined #openils-evergreen |
| # | 04:19:30 | EGUEST648 has quit IRC |
| # | 04:19:44 | mib_o7ayr1 has joined #openils-evergreen |
| # | 04:21:54 | mib_o7ayr1 | Hello. Anyone else on right now? |
| # | 04:23:24 | asmodai | I am, but I know little about the system. |
| # | 04:23:46 | asmodai | I'm just a lurker/groupie ;) |
| # | 04:24:33 | mib_o7ayr1 | I've been having some trouble with the autogen.sh script.... not even sure where to start looking for the trouble, |
| # | 04:24:49 | asmodai | What kind of trouble? |
| # | 04:25:01 | mib_o7ayr1 | Can't call method "depth" on an undefined value at org_tree_html_options.pl line 56. |
| # | 04:25:17 | asmodai | What's your Perl version? |
| # | 04:25:31 | mib_o7ayr1 | 5.8.8 |
| # | 04:25:51 | asmodai | mmm, should be ok enough I think. |
| # | 04:26:03 | asmodai | Cannot remember the guys in here demanding 5.10 |
| # | 04:26:38 | mib_o7ayr1 | Everything else seems to work... I can log into both OPAC and the staff client |
| # | 04:26:59 | asmodai | given you state autogen.sh |
| # | 04:27:05 | asmodai | are you using a version from the repository? |
| # | 04:27:09 | asmodai | instead of a release? |
| # | 04:27:19 | mib_o7ayr1 | No, release 1.4.0.4 |
| # | 04:27:29 | mib_o7ayr1 | on Ubuntu Hardy |
| # | 04:27:32 | asmodai | mmm, guess the autogen.sh is a different kind of autogen |
| # | 04:27:50 | asmodai | mmm |
| # | 04:28:03 | asmodai | it seems the depth() call requires some argument/parameter |
| # | 04:28:04 | mib_o7ayr1 | It's the script you run to regenerate the org. structure after changing it |
| # | 04:28:06 | asmodai | but it is undefined. |
| # | 04:28:10 | asmodai | Which might mean |
| # | 04:28:18 | asmodai | that it has an invalid value somewhere |
| # | 04:28:22 | asmodai | or something has not been provided |
| # | 04:28:34 | asmodai | Have you tried that settings verification script? |
| # | 04:29:12 | mib_o7ayr1 | I looked at line 56; my best guess is that org_tree_html_options.pl is having trouble getting the tree from open-ils.storage, or that the tree in open-ils.storage is wrong. |
| # | 04:29:33 | mib_o7ayr1 | Yes I did; it showed everything as OK. |
| # | 04:30:08 | asmodai | Mmm, curious. |
| # | 04:30:13 | asmodai | Might be a bug for all I know. |
| # | 04:31:14 | mib_o7ayr1 | I found an earlier, similar problem from '07 that involved the use of the wrong storage driver; I checked, and my config file does have pgsql (the "right" driver) selected. |
| # | 04:31:45 | asmodai | Yea, database driver is important to use the right one ;) |
| # | 04:32:13 | asmodai | Wasn't there a verbose/debug way of starting that script with Perl *thinks* |
| # | 04:33:24 | mib_o7ayr1 | I have no idea... I'm not terribly familiar with Perl |
| # | 04:34:51 | asmodai | I know enough to avoid it like the plague. |
| # | 04:34:54 | asmodai | Python <3 |
| # | 04:35:31 | mib_o7ayr1 | It was bad enough getting all the dependencies installed.... |
| # | 04:35:56 | mib_o7ayr1 | I have to say, I don't think I like it either. |
| # | 04:42:52 | mib_o7ayr1 | Anyway, thanks for the help, I'll try back on Monday. |
| # | 04:43:15 | mib_o7ayr1 has quit IRC |
| # | 05:17:29 | rickd_ has joined #OpenILS-Evergreen |
| # | 05:35:24 | rickd has quit IRC |
| # | 09:04:33 | brendan_ga has quit IRC |
| # | 09:05:32 | gmcharlt has joined #OpenILS-Evergreen |
| # | 09:25:28 | brendan_ga has joined #OpenILS-Evergreen |
| # | 11:20:46 | eby has joined #OpenILS-Evergreen |
| # | 11:32:19 | kgs has joined #openils-evergreen |
| # | 11:41:50 | brendan_ga has quit IRC |
| # | 12:38:50 | dbs has joined #openils-evergreen |
| # | 12:40:26 | Barceeper has joined #OpenILS-Evergreen |
| # | 12:40:29 | Barceeper | hey |
| # | 12:41:07 | Barceeper | why did some of you try to login to my dd-wrt router? is there some explanation of it |
| # | 12:43:52 | Barceeper | if i didn't saw that, grab some other people plz:S |
| # | 12:47:44 | jeff | Barceeper: you might be seeing the freenode proxy scan. |
| # | 12:48:47 | dbs | miker_: I'm looking suspiciously at the marc2*re.pl scripts that invoke entityize with the NFD form, when all other uses in the system go with NFC |
| # | 12:48:49 | jeff | Barceeper: see http://freenode.net/faq.shtml#firewall for more info. that's something that the freenode irc network (and many other irc networks) does(do) |
| # | 12:49:09 | Barceeper | hmm i see that some of you try to login with root, and password is always bad |
| # | 12:49:25 | jeff | Barceeper: what ip? |
| # | 12:49:32 | jeff | (source) |
| # | 12:49:41 | Barceeper | i use wallwatcher to log all the things |
| # | 12:49:50 | Barceeper | 217.147.234.150 |
| # | 12:49:53 | dbs | miker_: I think the NFD in marc2*re.pl was an experiment based on early Laurentian sample record parsing, but perhaps we should make it consistent throughout? |
| # | 12:50:31 | jeff | Barceeper: another option would be to confult the freenode faq, and get a "cloak", which can hide your ip from other irc users -- this presumes that you are seeing these connections as a result of your usage of freenode, and not just coincidence. |
| # | 12:51:07 | Barceeper | and why i see that someone with a dropbear client fails to login |
| # | 12:52:09 | jeff | Barceeper: that IP is reported in dshield.org as making many attempts to connect to many IPs. i doubt that you are seeing it as a result of anyone here in this IRC channel. :) |
| # | 12:52:49 | jeff | Barceeper: but anyway, beside that... welcome. what brings you to #openils-evergreen? :) |
| # | 12:53:19 | Barceeper | i dont know, i was wondering why this happening:S |
| # | 12:56:28 | Barceeper | and this ip? 204.215.65.203, wallwatcher logged that ip to to failed login attempts |
| # | 13:00:55 | jeff | Barceeper: ssh brute force attacks are on the rise again. that term should help you find some more information on google, or you could try #dshield or ##security on this irc network |
| # | 13:01:10 | jeff | Barceeper: good luck, i've got to run! |
| # | 13:01:16 | Barceeper | oke cya |
| # | 13:35:24 | Barceeper has quit IRC |
| # | 13:54:17 | miker_ | dbs: in and out, but NFD is the most correct from a MARC perspective -- NFC in ingest (and elsewhere) is the newer code ... fwiw, though, I don't care much at all which normalization form is used. if you want to go to NFC for marc2.re, plese be my guest |
| # | 13:57:23 | dbs | miker_: well, I'll give it a shot with our records and see what happens. |
| # | 14:00:06 | dbs | When you say "most correct for MARC", you mean NFD & MARC8 are both decomposed encoding? |
| # | 14:00:17 | dbs | Just curious. |
| # | 14:24:57 | dbs | hmm, check out the related subjects for http://concat.ca/opac/en-US/skin/default/xml/rresult.xml?rt=subject&tp=subject&t=ethique&l=1&d=0&f=&av= - the subjects from the bib itself have NFD é, while the authority subjects (second tier) have NFC é |
| # | 14:25:15 | dbs | On Firefox, at least, the rendering is noticeably different. That, or I'm imagining things. |
| # | 14:52:23 | natschil has joined #openils-evergreen |
| # | 14:58:30 | dbs waves at natschil |
| # | 14:58:40 | natschil waves back |
| # | 15:05:03 | natschil | hi dbs |
| # | 15:06:05 | natschil | just looking through the c code of the opensrf gateway, and I'm not entirely sure what it does :)... which function is called when the gateway is called? |
| # | 15:23:28 | dbs | natschil: pretty sure it would be osrf_json_gateway_method_handler |
| # | 15:23:44 | dbs | it's an apache module, so i think it follows Apache module conventions |
| # | 15:25:41 | dbs | basically, it converts HTTP requests into OpenSRF calls, and returns the result as either JSON or XML, IIRC |
| # | 15:26:32 | dbs has a total of 6 concurrent bre import processes running on 2 servers... this is the life |
| # | 15:29:10 | dbs | have to finish importing all of our bibs before I can import all of our MFHD records |
| # | 15:33:32 | natschil | dbs: thanks |
| # | 15:36:18 | natschil | am I correct in assuming that the line "req_id = osrfAppSessionMakeRequest( session, arr, method, api_level, NULL );" basically forwards the request to opensrf? |
| # | 15:39:48 | dbs | I believe so |
| # | 15:40:00 | dbs | haven't poked around in this code too much |
| # | 15:40:14 | natschil | ok, at least I'm on the right track :) |
| # | 15:40:23 | natschil hates reading C code |
| # | 15:41:02 | dbs | what are you looking for? |
| # | 15:42:27 | natschil | well, I'm trying to add an extra to the record summary that is similar to the MARC view one, just that it prints out a line with the author, date of publication, etc... to use in a bibliography |
| # | 15:42:53 | dbs | You probably don't want to be looking in the C code, then |
| # | 15:43:18 | natschil | so I'm just looking at the path that the data takes to get from the perl to the webpage |
| # | 15:43:20 | dbs | ModsParser.pm + the mvr class in fm_IDL.xml are probably what you want to poke at |
| # | 15:43:30 | natschil | so that I'd understand the code a little better |
| # | 15:46:38 | dbs | the diffs in the first link in http://coffeecode.net/archives/183-Evergreen-Exposed-introduction-to-Evergreen-development-OLA-2009.html might be helpful to you |
| # | 15:52:42 | natschil | thanks, I'll look there |
| # | 15:54:30 | natschil | it might be worth mentioning that things such as "Index" or "Excerpt" don't work but give me a 500 when i try to open them |
| # | 15:54:44 | natschil | i.e internal server error |
| # | 16:04:01 | natschil | ok, I think I'm giving up trying to understand how evergreen does everything for now, and I'll just get on with trying to actually write the extra....how are the opensrf perl files sorted? I can find them in /openils/lib/perl5/OpenILS, but I can't seem to establish how they are organized... if I were to call a method from e.g. open-ils.search, which file would be the file containing this method? |
| # | 16:04:57 | natschil | also, a probably really stupid question, but what is the service that calls methods from OpenILS::Application ? |
| # | 16:05:38 | natschil | as there is no open-ils.application service |
| # | 16:25:06 | natschil | somehow, whenever I add anything to any of the perl files, they stop working :) do I have to register my method anywhere else than with __PACKAGE__->register_method? |
| # | 16:28:07 | dbs | natschil: to figure out which Perl module (or C library) supports a given method, I used to use ack-grep or the like |
| # | 16:28:54 | natschil | dbs: yup, that's what I did, but I was wondering whethere there was a more "structured" approach of where to find/add stuff |
| # | 16:30:12 | dbs | Depends on what you're trying to do, I guess. There's structure, but it's mostly implicit. Nobody has written a developer's book of "thou shalt..." |
| # | 16:30:50 | dbs | best thing to do would probably be describe what you want to do on the -dev list and ask if where you're planning on adding something makes sense & would be of use to others |
| # | 16:34:00 | dbs | There's not really a developer howto yet, but someday somebody will put one together... if we're lucky :) |
| # | 16:41:13 | natschil | ok, thanks |
| # | 16:43:30 | natschil | ok, I made a basic perl function that returns 'Hello World' (sub bibliographic_entry{return 'Hello World';}), but somehow this crashes open-ils.search, does anyone know why? |
| # | 16:56:02 | natschil | what libraries does evergreen use to manipulate xml/marc? let's say I have a marc record, and I want to convert only html. To convert the whole thing, I can see evergreen does |
| # | 16:56:04 | natschil | my $xmldoc = $parser->parse_string($marcxml); |
| # | 16:56:05 | natschil | my $html = $sheet->transform($xmldoc); |
| # | 16:56:42 | natschil | , and I'm wondering how I could only get part of the marc to html |
| # | 16:56:58 | natschil | what libraries are used for things such as the parse_string() function ? |
| # | 16:58:50 | natschil | ok, I found the answer to that one already :) looks like XML::LibXML::Parser does that |
| # | 17:01:21 | natschil has quit IRC |
| # | 18:23:37 | eby_ has joined #OpenILS-Evergreen |
| # | 18:25:03 | granthpal has joined #openils-evergreen |
| # | 18:34:28 | granthpal has quit IRC |
| # | 18:37:17 | levani_el has joined #openils-evergreen |
| # | 18:37:53 | kgs has quit IRC |
| # | 18:38:52 | eby has quit IRC |
| # | 18:56:32 | levani_el | hello |
| # | 18:57:05 | levani_el | how see database name evergreen in postgresql ? |
| # | 19:13:23 | dbs | levani_el: I don't understand what you're asking |
| # | 19:17:46 | levani_el | i need see my records in postgre |
| # | 19:21:45 | jeff | levani_el: evergreen makes extensive use of "schemas" in postgresql. |
| # | 19:22:02 | jeff | whereas normally when you connect using psql using something like: psql -U evergreen -h localhost evergreen |
| # | 19:22:25 | jeff | and issue a "\d" to see tables, with evergreen you'll see nothing, just "No relations found." |
| # | 19:23:41 | jeff | levani_el: you can use "\dn" to list the schemas, you can use "\dt *." to list all the table names in all schemas, and you can use "\dt actor.*" to see all the tables in the "actor" schema/namespace |
| # | 19:25:29 | gmcharlt has quit IRC |
| # | 19:25:44 | jeff | so, "\d actor.usr" to see the usr table in the actor schema... |
| # | 19:25:54 | jeff | or "select id, usrname, family_name from actor.usr;" to select some fields from that table |
| # | 19:26:25 | jeff | levani_el: i hope that helps... if not, please let us know what you're trying to do and we can give more advice. |
| # | 19:35:49 | levani_el | ok |
| # | 19:35:52 | levani_el | i try |
| # | 19:59:04 | dbs | jeff++ |
| # | 20:44:00 | levani_el has quit IRC |
| # | 22:13:16 | dbs | Hmm, excellent day. Worked through most of the bib import problems, used a snazzy parallel processing mode... and finally realized that all the generated acns are completely delusional because they expect to be processed serially (I think) |
| # | 23:26:18 | brendan_ga has joined #OpenILS-Evergreen |