LISTSERV mailing list manager LISTSERV 16.0

Help for CHRONAM-USERS Archives


CHRONAM-USERS Archives

CHRONAM-USERS Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

CHRONAM-USERS Home

CHRONAM-USERS Home

CHRONAM-USERS  March 2019

CHRONAM-USERS March 2019

Subject:

Re: Unable to load new marc.xml

From:

Subramanian Sadasivam <[log in to unmask]>

Reply-To:

Data, API, website, and code of the Chronicling America website" <[log in to unmask]>

Date:

Wed, 27 Mar 2019 08:52:19 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (1 lines)

Hello Andrew,

Thank you for your time and suggestions. Received new/updated marc.xml from library, now able to load both title and batch successfully.




-----Original Message-----
From: Data, API, website, and code of the Chronicling America website [mailto:[log in to unmask]] On Behalf Of Gearhart, Andrew
Sent: 25 March 2019 17:49
To: [log in to unmask]
Subject: Re: Unable to load new marc.xml

Hey there Subramanian!
Looks like you're using ChronAm as your xml data source, but the LCCN coded xml file that you're looking for "2018270203" doesn't exist on the chroman servers (404).
There are a couple different possible reasons...
* it could be that your batch " batch_nbu_2018sample_ver0001" is coded for the wrong LCCN.
* the batch that you've encoded isn't a "newspaper" by the standard for ChronAm (and, therefore, the title information in marc.xml format isn't on the ChronAm servers)
* some other cataloging error has occurred and resulted in the marc.xml not making it through oclc and/or loc to chroman

Some options:
* Correct your batch if the LCCN is wrong.
* Correct your title information through cataloging > oclc/loc
* Change your data source to use something other than the title information in loc. This is handled in ChronAm here: https://github.com/LibraryOfCongress/chronam/blob/d76d9dd75653b94ade4c67e85d91de737e5c1788/core/batch_loader.py#L257
* If you're using OpenONI, this is handled with the MARC_RETRIEVAL_URLFORMAT variable. You can find that here: https://github.com/open-oni/open-oni/blob/master/onisite/settings_base.py#L214

Hope that helps.

Best regards, +A

On 3/22/19, 04:31, "Data, API, website, and code of the Chronicling America website on behalf of Subramanian Sadasivam" <[log in to unmask] on behalf of [log in to unmask]> wrote:

We got below error when we try to load specific batch

[2019-03-18 20:33:52,953 INFO chronam.core.batch_loader] creating symlink /data3/ndnp/batch_nbu_2018sample_ver0001/ -> /opt/chronam/data/batches/batch_nbu_2018sample_ver0001
[2019-03-18 20:33:52,953 INFO chronam.core.batch_loader] loading batch: batch_nbu_2018sample_ver0001
[2019-03-18 20:33:53,306 INFO root] attempting to load marc record from https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchroniclingamerica.loc.gov%2Flccn%2F2018270203%2Fmarc.xml&amp;data=02%7C01%7Candrew%40psu.edu%7C1df28a41a2ec47ea9e1108d6aea0becd%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C636888402772412540&amp;sdata=945%2FFsV3j0dEIRe2AkyDlpQj1Bpp%2Ff0ibXFBtrOfsFY%3D&amp;reserved=0
[2019-03-18 20:33:53,476 INFO chronam.core.title_loader] loading titles from: https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchroniclingamerica.loc.gov%2Flccn%2F2018270203%2Fmarc.xml&amp;data=02%7C01%7Candrew%40psu.edu%7C1df28a41a2ec47ea9e1108d6aea0becd%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C636888402772412540&amp;sdata=945%2FFsV3j0dEIRe2AkyDlpQj1Bpp%2Ff0ibXFBtrOfsFY%3D&amp;reserved=0
[2019-03-18 20:33:55,156 ERROR chronam.core.batch_loader] unable to load batch: HTTP Error 404: NOT FOUND
[2019-03-18 20:33:55,156 ERROR chronam.core.batch_loader] HTTP Error 404: NOT FOUND
Traceback (most recent call last):
File "/opt/chronam/core/batch_loader.py", line 165, in load_batch
issue = self._load_issue(mets_url)
File "/opt/chronam/core/batch_loader.py", line 262, in _load_issue


Hence tried to load received new marc.xml file using below command but unable to load.

$django-admin.py load_titles /opt/chronam/data/lib/worldcat_titles/lccn/2018270203.xml

Error message:
[2019-03-21 13:24:52,963 INFO chronam.core.title_loader] loading titles from: /opt/chronam/data/bib/worldcat_titles/lccn/2018270203.xml
[2019-03-21 13:24:53,031 ERROR chronam.core.title_loader] Code , not found in language table.
[2019-03-21 13:24:53,099 INFO chronam.core.management.commands.load_titles] indexing new titles


Could you please suggest, this is only to specific title and able to load remaining titles successfully without any issue. Could you please help us to fix the issue.





The information contained in this electronic message and any attachments to this message are intended for exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Apex immediately and destroy all copies of this message and any attachments. The views expressed in this E-mail message / Attachments, are those of the individual sender.

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2024
November 2023
July 2023
February 2023
December 2022
June 2022
March 2022
September 2021
August 2020
April 2020
February 2020
July 2019
June 2019
April 2019
March 2019
February 2019
October 2018
August 2018
July 2018
June 2018
May 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
March 2015
January 2015
November 2014
October 2014
September 2014
June 2014
May 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
February 2013

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager