From: Demian K. <dem...@vi...> - 2012-06-26 14:41:47
|
"you must be logged in first" was coming from GetSaveStatuses... but is there a call to GetItemStatuses? - Demian From: Ranju Upadhyay [mailto:Ran...@nu...] Sent: Tuesday, June 26, 2012 10:21 AM To: Demian Katz Cc: vuf...@li... Subject: Re: RE: [VuFind-General] Aleph.ini in latest ILS driver Hi Demian, No I do not see any new error , the only error seem to be the old one I had reported i.e. "you must be logged in first". Thanks Ranju. ----- Original Message ----- From: Demian Katz <dem...@vi...> Date: Tuesday, June 26, 2012 2:50 pm Subject: RE: [VuFind-General] Aleph.ini in latest ILS driver To: Ranju Upadhyay <Ran...@nu...>, "xro...@gm..." <xro...@gm...> Cc: "vuf...@li..." <vuf...@li...> > I'll let Vasek reply to most of these, since I don't know all the Aleph details... > > However, regarding #4, if you look at the XHR response in Firebug, do you see error messages there? The most likely explanation is that those notices are interfering with parsing of the AJAX response. Perhaps if you put the missing entries into the configuration file but set them to false, that will suppress the notices without breaking anything (at least until the next revision of the code comes along and takes care of it).... > > - Demian > > From: Ranju Upadhyay [mailto:Ran...@nu...] > Sent: Tuesday, June 26, 2012 9:40 AM > To: xro...@gm... > Cc: vuf...@li... > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver > > Hi Vasek,Damien and all, > > I used the fixroutine fix_doc_001 during the export from Aleph and that seem to have put the sys no in the 001 tag. > > After importing the data in vufind I did make some progress as I can see the location information and the status code in the detailed view i.e. for a particular item here is how the location and status look like: > Call Number: $$h270.1092$$mPAR > Copy > 10 Recall This<http://lb-dsk-1w6/vufind/Record/001063402/Hold?id=001063402&item_id=MAY50001070284000010&hashKey=ff547530f7a77d39fe88952fadca8472#tabnav> > > Now my issues are : > > 1.the characters like $$h and $$m that are used in aleph tables to represent space etc I would like to see them as space and not exactly the formating codes. > > 2.The value of "10" for copy is the code for standard loan rather than the description called "standard loan", how do I get it to show the description and not the code > > 3. I do not quite understand why is it giving me this link of Recall this.On looking at the Aleph catalogue , this item is currently available for loan. > > 4. On the long list i.e. the first search result page I still get the "loading" under callnumber and located fields for all the search results eventhough in my Aleph.ini I have set quick_availability = false > > 5. Is aleph-vufind_v1.3_4.tar.bz2 (added on 16th may ) the latest driver that I need to download? as I am still getting the notices on the detailed view page? <http://vufind.org/jira/secure/attachment/17670/aleph-vufind_v1.3_3.tar.bz2> > Your help is much appreciated. > Thanks a lot. > > Ranju. > > > > ----- Original Message ----- > > From: Václav Rosecký <xro...@gm...> > Date: Wednesday, June 20, 2012 11:13 am > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver > To: "vuf...@li..." <vuf...@li...> > > > Hi Ranju > > > Take a look at your expand routines (http://vufind.org/wiki/marc_export_notes#exlibris_aleph), some procedure must rewrite the 001 field. SYS is the correct record ID, but SolrMarc can't read it even if you export it (SYS is considered to be variable field by marc4j, not control field), so ID must be stored in 001. > > > > Vasek > > > > 2012/6/20 Ranju Upadhyay <Ran...@nu...<java_script:main.compose%28%27new%27,%20%27t=Ran...@nu...%27%29>> > > Hi Vasek, > > > > I just looked at the MARC tags for this title in our online catalogue and here is how it looks: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > FMT EB > LDR nam 2200325Ia 4500 > 001 ebr10142058 > 003 CaPaEBR > 006 m u > 007 cr cn||||||||| > 008 801006s1975 enk sb 000 0 eng d > 010 |z 75004205 > 020 |z 9780195365436 > > 020 |z 0195019466 > 035 |a (OCoLC)647574009 > 040 |a CaPaEBR |c CaPaEBR > 05014 |a PR590 |b .A2 1975eb > 08204 |a 821.7/09 |2 22 > 1001 |a Abrams, M. H, |c (Meyer Howard), |d 1912 |q (Meyer Howard), > 24510 |a English romantic poets |h [electronic resource] : |b modern essays in criticism / |c edited by M.H. Abrams. > 250 |a 2nd ed. > 260 |a London ; |a New York : |b Oxford University Press, |c c1975. > > 300 |a viii, 485 p. > 4900 |a A Galaxy book ; GB35 > 504 |a Includes bibliographical references. > 533 |a Electronic reproduction. |b Palo Alto, Calif. : |c ebrary, |d 2009. |n Available via World Wide Web. |n Access may be limited to ebrary affiliated libraries. > 500 |a eBook record imported from a file of records supplied by ebrary - Imported: 20120523 > 650 0 |a English poetry |y 19th century. > 650 0 |a Romanticism |z England. > 655 7 |a Electronic books. |2 local > 7102 |a ebrary, Inc. > 85640 |u http://site.ebrary.com/lib/nuim/Doc?id=10142058 |z Click to view full-text > CAT |a SYSLOADER |b 99 |c 20120523 |l MAY01 |h 0509 > CAT |a BATCH-UPD |b 99 |c 20120523 |l MAY01 |h 1054 > CAT |a BATCH-UPD |b 99 |c 20120525 |l MAY01 |h 1348 > CAT |a BATCH-UPD |b 99 |c 20120528 |l MAY01 |h 1025 > CAT |a BATCH-UPD |b 99 |c 20120528 |l MAY01 |h 1722 > SYS 001630520 > > > > > The value that has been indexed in vufind does not exist in any of the MARC tags in the Aleph.Infact for this particular record the SYS tag and the 001 tag have different values in Aleph itself.Bit lost here! > > > > Thanks > > Ranju > > > > > > > > > > > > ----- Original Message ----- > > From: Václav Rosecký <xro...@gm...<java_script:main.compose%28%27new%27,%20%27t=xro...@gm...%27%29>> > > Date: Wednesday, June 20, 2012 10:35 am > > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver > > To: Ranju Upadhyay <Ran...@nu...<java_script:main.compose%28%27new%27,%20%27t=Ran...@nu...%27%29>> > > Cc: Demian Katz <dem...@vi...<java_script:main.compose%28%27new%27,%20%27t=dem...@vi...%27%29>>, "vuf...@li...<java_script:main.compose%28%27new%27,%20%27t=vuf...@li...%27%29>" <vuf...@li...<java_script:main.compose%28%27new%27,%20%27t=vuf...@li...%27%29>> > > > > > Hi > > > > Try URL like this (MAY01 is your base, 5038 is record ID): > > > > > > http://libaleph.nuim.ie:1891/rest-dlf/record/<http://libaleph.nuim.ie:1891/rest-dlf/record/>MAY015038 > > > > > > If it returns XML like this, 5038 is not record ID (SYSNO): > > > > > > <get-record> > > > <reply-text>Record does not exist</reply-text> > > > <reply-code>0019</reply-code> > > > </get-record> > > > > > > Vasek > > > > > > 2012/6/20 Ranju Upadhyay <Ran...@nu...> > > > Hi Demian, > > > > > > The MARC metadata for this record looks like this: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > LEADER 00774-am-a2200289---4500 > 001 5038 > 005 20020709181100.0 > 008 871109s1960----ny------r-----00000-eng-- > 010 |a 60-7058 > 029 0 > |a 00349376 > 043 |a e-uk-en > 050 |a PR590 > 082 0 4 |a 821.709 > 092 0 |a 821.709 > 100 1 |a Abrams, M. H |q (Meyer Howard), |d 1912- |e ed > 245 1 0 |a English romantic poets : |b modern essays in criticism > 260 > > |a New York : |b Oxford University Press , |c 1960 > 300 |a 384 p ; |c 21 cm > 490 0 |a A Galaxy book, GB35 > 650 0 0 |a English poetry |y 19th century |x History and criticism > > 650 0 0 |a Romanticism |z England > 929 |a BD |b 17 JUN 1996 > 949 |a 0 |z S/X |b X > 949 |a D > 099 0 0 |a MC > 939 |a BD |b 06 JUN 1991 > 969 |a 5038 > > > > The ILS driver seem to be using the value in 001 field as the ID.Do you mean in Aleph we could be using a different filed as unique id for the records? I will have to ask this to our systems librarian. > > > > > > > Thanks > > > Ranju. > > > > > > ----- Original Message ----- > > > From: Demian Katz <dem...@vi...> > > > Date: Tuesday, June 19, 2012 4:21 pm > > > Subject: RE: RE: [VuFind-General] Aleph.ini in latest ILS driver > > > To: Ranju Upadhyay <Ran...@nu...> > > > Cc: "vuf...@li..." <vuf...@li...> > > > > > > > > > > > > > When did you download the Aleph driver? I think those undefined index messages should have been fixed by the revision uploaded to http://vufind.org/jira/browse/VUFIND-386 on May 16, though I could be mistaken. > > > > > > > > Based on the data section, it appears that the ILS driver is unable to supply information on the requested bib number. Is it possible the values used in the id field in your Solr index do not correspond with bibliographic IDs in your Aleph system? > > > > > > > > - Demian > > > > > > > > From: Ranju Upadhyay [mailto:Ran...@nu...] > > > > Sent: Tuesday, June 19, 2012 11:17 AM > > > > To: Demian Katz > > > > Cc: vuf...@li... > > > > Subject: Re: RE: [VuFind-General] Aleph.ini in latest ILS driver > > > > > > > > > > > > > Hi Demian, > > > > > > > > This is what I see: > > > > > > > > <br /> <b>Notice</b>: Undefined index: wwwuser in <b>C:\vufind\vufind-1.3\web\Drivers\Aleph.php</b> on line <b>165</b><br /> <br /> <b>Notice</b>: Undefined index: wwwpasswd in <b>C:\vufind\vufind-1.3\web\Drivers\Aleph.php</b> on line <b>166</b><br /> <br /> <b>Notice</b>: Undefined index: debug in <b>C:\vufind\vufind-1.3\web\Drivers\Aleph.php</b> on line <b>173</b><br /> {"data":[{"id":5038,"availability":"false","availability_message":"<span class=\"checkedout\">Checked Out<\/span>","location":"Unknown","locationList":false,"reserve":"false","reserve_message":"Not On Reserve","callnumber":"","missing_data":true}],"status":"OK"} > > > > > > > > I guess we could ignore the two notices but the "data:" section seem to have some information.Is it saying the item status is checked out and no information for call number? > > > > > > > > Ranju. > > > > > > > > ----- Original Message ----- > > > > From: Demian Katz <dem...@vi...> > > > > Date: Tuesday, June 19, 2012 4:04 pm > > > > Subject: RE: [VuFind-General] Aleph.ini in latest ILS driver > > > > To: Ranju Upadhyay <Ran...@nu...> > > > > Cc: "vuf...@li..." <vuf...@li...> > > > > > > If you look at the AJAX response in Firebug or go directly to the request URL in your browser, what do you see? > > > > > > From: Ranju Upadhyay [mailto:Ran...@nu...] > > > > > Sent: Tuesday, June 19, 2012 11:02 AM > > > > > To: Ranju Upadhyay > > > > > Cc: Demian Katz; vuf...@li... > > > > > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver > > > > > > > > > > > > > > > > oh just realized, the less number of parameters is due to the fact that I currently have only one result in long list as well ( you probably have several)! > > > > > > > > > > So the entries are there and still no status! > > > > > > > > > > Ranju. > > > > > > > > > > ----- Original Message ----- > > > > > From: Ranju Upadhyay <Ran...@nu...> > > > > > Date: Tuesday, June 19, 2012 3:56 pm > > > > > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver > > > > > To: Demian Katz <dem...@vi...> > > > > > Cc: "vuf...@li..." <vuf...@li...> > > > > > > > > > > > Hi Demian, > > > > > > > > > > > > When I was in the long list page I did not see anything through firebug but when I went into individual record and used back button to get back to long list , I do see the two entries you mention: > > > > > > > > > > > > http://lb-dsk-1w6/vufind/AJAX/JSON?method=getItemStatuses&_=1340117115837&id%5B%5D=5038 > > > > > > > > > > > > http://lb-dsk-1w6/vufind/AJAX/JSON?method=getSaveStatuses&_=1340117115839&id%5B%5D=5038 > > > > > > > > > > > > > > > > > > under Net/XHR tab.However it definately is not passing as many parameters as yours :-( > > > > > > > > > > > > Thanks > > > > > > Ranju > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: Demian Katz <dem...@vi...> > > > > > > Date: Tuesday, June 19, 2012 3:05 pm > > > > > > Subject: RE: RE: [VuFind-General] Aleph.ini in latest ILS driver > > > > > > To: Ranju Upadhyay <Ran...@nu...> > > > > > > Cc: "vuf...@li..." <vuf...@li...> > > > > > > > > > > > > > > > > > > > > > Normally, on the search results screen, you should see two entries in the Net/XHR tab of Firebug... something like: > > > > http://vufind.org/demo/AJAX/JSON?method=getItemStatuses&_=1340114464137&id%5B%5D=28231&id%5B%5D=43315&id%5B%5D=61453&id%5B%5D=704640&id%5B%5D=763663&id%5B%5D=1090554&id%5B%5D=1276097&id%5B%5D=348453&id%5B%5D=981451&id%5B%5D=754219&id%5B%5D=538976&id%5B%5D=261595&id%5B%5D=261598&id%5B%5D=248879&id%5B%5D=250086&id%5B%5D=250817&id%5B%5D=281175&id%5B%5D=8843&id%5B%5D=256335&id%5B%5D=270196<http://vufind.org/demo/AJAX/JSON?method=getItemStatuses&_=1340114464137&id%5B%5D=28231&id%5B%5D=43315&id%5B%5D=61453&id%5B%5D=704640&id%5B%5D=763663&id%5B%5D=1090554&id%5B%5D=1276097&id%5B%5D=348453&id%5B%5D=981451&id%5B%5D=754219&id%5B%5D=538976&id%5B%5D=261595&id%5B%5D=261598&id%5B%5D=248879&id%5B%5D=250086&id%5B%5D=250817&id%5B%5D=281175&id%5B%5D=8843&id%5B%5D=256335&id%5B%5D=270196> > > > > and > > > > http://vufind.org/demo/AJAX/JSON?method=getSaveStatuses&_=1340114464143&id%5B%5D=28231&id%5B%5D=43315&id%5B%5D=61453&id%5B%5D=704640&id%5B%5D=763663&id%5B%5D=1090554&id%5B%5D=1276097&id%5B%5D=348453&id%5B%5D=981451&id%5B%5D=754219&id%5B%5D=538976&id%5B%5D=261595&id%5B%5D=261598&id%5B%5D=248879&id%5B%5D=250086&id%5B%5D=250817&id%5B%5D=281175&id%5B%5D=8843&id%5B%5D=256335&id%5B%5D=270196<http://vufind.org/demo/AJAX/JSON?method=getSaveStatuses&_=1340114464143&id%5B%5D=28231&id%5B%5D=43315&id%5B%5D=61453&id%5B%5D=704640&id%5B%5D=763663&id%5B%5D=1090554&id%5B%5D=1276097&id%5B%5D=348453&id%5B%5D=981451&id%5B%5D=754219&id%5B%5D=538976&id%5B%5D=261595&id%5B%5D=261598&id%5B%5D=248879&id%5B%5D=250086&id%5B%5D=250817&id%5B%5D=281175&id%5B%5D=8843&id%5B%5D=256335&id%5B%5D=270196> > > > > If these are not there, perhaps something is breaking your java_script. You might want to check the error console. > > > > Regarding the message you are seeing on the individual record, that is normal - what is happening is that there is an AJAX call to show which user lists have been used to save a record. If no user is logged in, we can't get a list of lists - that's an expected, harmless failure. > > > > Right now, there is no way to totally disable authentication - VuFind expects that user accounts will exist. This is something that may change in the future (see http://vufind.org/jira/browse/VUFIND-135), but for now the easiest thing to do if you don't have an external authentication system is to set authentication to DB, which lets VuFind use its internal database for authentication. > > > > - Demian > > > > > > > > > From: Ranju Upadhyay [mailto:Ran...@nu...] > > > > > > > Sent: Tuesday, June 19, 2012 10:00 AM > > > > > > > To: Demian Katz > > > > > > > Cc: vuf...@li... > > > > > > > Subject: Re: RE: [VuFind-General] Aleph.ini in latest ILS driver > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Demian, > > > > > > > > > > > > > > I do not see anything under Net/XHR when I am in the long list of search result.However when I go into the result page for individual record, here is what I see: > > > > > > > > > > > > > > data "you must be logged in first" > > > > > > > status "NEED_AUTH" > > > > > > > > > > > > > > this is under the JSON tab of GET JSON method (under Net/XHR). > > > > > > > > > > > > > > It seem to be looking for authentication. > > > > > > > > > > > > > > One thing I see in my config.ini is that in my [Authentication] section I have > > > > > > > > > > > > > > method = LDAP > > > > > > > > > > > > > > however I have not yet configured anywhere else to authenticate via LDAP. I am wondering if I can comment out all the Authentication methods i.e. no authentication at all . Will that work? > > > > > > > > > > > > > > Thanks > > > > > > > Ranju. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: Demian Katz <dem...@vi...> > > > > > > > Date: Tuesday, June 19, 2012 2:28 pm > > > > > > > Subject: RE: [VuFind-General] Aleph.ini in latest ILS driver > > > > > > > To: Ranju Upadhyay <Ran...@nu...>, "vuf...@li..." <vuf...@li...> > > > > > > > > > > > > > > Have you tried using the Net/XHR tab of Firebug in Firefox to look at the AJAX transactions that are supposed to fill in the call number/location status? Sometimes this can reveal helpful error messages. Also, if you have debug mode turned on in config.ini, try turning it off - sometimes that can interfere with the AJAX. > > - Demian > > > > > > > > > From: Ranju Upadhyay [mailto:Ran...@nu...] > > > > > > > > Sent: Tuesday, June 19, 2012 9:24 AM > > > > > > > > To: vuf...@li... > > > > > > > > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > > > I have successfully configured the Restful API in Aleph.My browser in now able to respond at: > > > > > > > > > > > > > > > > http://libaleph.nuim.ie:1891/rest-dlf/ > > > > > > > > > > > > > > > > I also have the Aleph.ini configured in vufind but I still get "Loading" status for call number and Location. > > > > > > > > > > > > > > > > Here is how my Aleph.ini looks like: > > > > > > > > > > > > > > > > ; URL http://host:dlfport/rest-dlf/ should return xml like this: > > > > > > > > ;<response> > > > > > > > > ; <message>choose patron or record</message> > > > > > > > > ; <option href="http://aleph.mzk.cz:1891/rest-dlf/patron">patron</option> > > > > > > > > ; <option href="http://aleph.mzk.cz:1891/rest-dlf/record">record</option> > > > > > > > > ;</response> > > > > > > > > [Catalog] > > > > > > > > host = libaleph.nuim.ie<http://libaleph.nuim.ie> > > > > > > > > dlfport = 1891 > > > > > > > > > > > > > > > > ; bibliographic libraries > > > > > > > > bib = MAY01 > > > > > > > > > > > > > > > > ; user library > > > > > > > > useradm = MAY50 > > > > > > > > > > > > > > > > ; adm-Lib > > > > > > > > admlib = MAY50 > > > > > > > > > > > > > > > > ; WWW-X user - optional, if not set, X-server functionality will be disabled > > > > > > > > ;wwwuser = "YOUR-WWW-X-USER" > > > > > > > > ;wwwpasswd = "YOUR-WWW-X-USER-PASSWORD" > > > > > > > > > > > > > > > > ; statuses when an item is available for loan > > > > > > > > available_statuses = "On Shelf,Open St.-Month,Vol.výb.-mÄ>s." > > > > > > > > ; if enabled, X-server will be used for quick availability check > > > > > > > > quick_availability = false > > > > > > > > > > > > > > > > ; adm-lib / sub-library array > > > > > > > > ; This is a list of patron home libraries and the ADM the library belongs to > > > > > > > > [sublibadm] > > > > > > > > ARC = MAY50 > > > > > > > > CBR = MAY50 > > > > > > > > > > > > > > > > ; match z30-item-status-code against regular expression - maybe useful for translation > > > > > > > > [duedates] > > > > > > > > on_site_loan = "/^(On\ site\ Loan|Study\ Room)/" > > > > > > > > reference_library = "/^Reference\ Library/" > > > > > > > > > > > > > > > > ; Aleph configuration files - optional > > > > > > > > [util] > > > > > > > > ;tab40 = /home/vufind/vufind-trunk/tab40.cze > > > > > > > > ;tab15 = /home/vufind/vufind-trunk/tab15.cze > > > > > > > > ;tab_sub_library = /home/vufind/vufind-trunk/tab_sub_library.cze > > > > > > > > ;charset = "ISO-8859-2" > > > > > > > > ;output = /home/vufind/vufind-trunk/web/Drivers/AlephTables.php > > > > > > > > ;tab15_output = /home/vufind/vufind-trunk/tab15.txt > > > > > > > > ;libraries_output = /home/vufind/vufind-trunk/libraries.txt > > > > > > > > ----------------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > > > > > Thanks > > > > > > > > Ranju > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ----------------------------------------------------------------- > > > > > > ------------- > > > > > > Live Security Virtual Conference > > > > > > Exclusive live event will cover all the ways today's security > > > > > > and > > > > > > threat landscape has changed and how IT managers can respond. > > > > > > Discussions > > > > > > will include endpoint security, mobile security and the latest > > > > > > in malware > > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/> _______________________________________________ > > > > > > VuFind-General mailing list > > > > > > VuF...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/vufind-general > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > VuFind-General mailing list > > > VuF...@li... > > > https://lists.sourceforge.net/lists/listinfo/vufind-general<https://lists.sourceforge.net/lists/listinfo/vufind-general> > > > > > > > > > > > > ----------------------------------------------------------------- > > ------------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security > > and > > threat landscape has changed and how IT managers can respond. > > Discussions > > will include endpoint security, mobile security and the latest > > in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/> _______________________________________________ > > VuFind-General mailing list > > VuF...@li... > > https://lists.sourceforge.net/lists/listinfo/vufind-general |