Print

Print


Thanks for the responses to our --skip-essays installation problem. You were right it involved jetty and solr which was solved so we're good on that front.
Next problem.
When we try and load a batch we get the following error message. The apache server is running. When we go to the site we get a chronam page, though it doesn't look correct (like style sheets are not being applied) - Chronicling America « Library of Congress : Any thoughts or suggestions? 

  
|  
|   |  
Chronicling America « Library of Congress
   |  |

 |

 


ENV)chronam@historicnewspapers:/opt/chronam$ django-admin.py load_batch /opt/chronam/data/batches/batch_scu_clothleaderinformerdispatch_ver01
INFO:root:loading batch at /opt/chronam/data/batches/batch_scu_clothleaderinformerdispatch_ver01
INFO:chronam.core.batch_loader:loading batch: batch_scu_clothleaderinformerdispatch_ver01
INFO:root:attempting to load marc record from http://chroniclingamerica.loc.gov/lccn/2016226265/marc.xml
INFO:chronam.core.title_loader:loading titles from: http://chroniclingamerica.loc.gov/lccn/2016226265/marc.xml
ERROR:chronam.core.batch_loader:unable to load batch: HTTP Error 404: NOT FOUND
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
    management.call_command('load_titles', url)
  File "/opt/chronam/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 120, in call_command
    return command.execute(*args, **defaults)
  File "/opt/chronam/ENV/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/opt/chronam/core/management/commands/load_titles.py", line 105, in handle
    results = self.xml_file_handler(marc_xml_source, skip_index)
  File "/opt/chronam/core/management/commands/load_titles.py", line 45, in xml_file_handler
    results = title_loader.load(marc_xml)
  File "/opt/chronam/core/title_loader.py", line 507, in load
    loader.load_file(location)
  File "/opt/chronam/core/title_loader.py", line 58, in load_file
    map_xml(load_record, urllib2.urlopen(location))
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: NOT FOUND
WARNING:root:no OcrDump to delete for batch_scu_clothleaderinformerdispatch_ver01 (University of South Carolina; Columbia, SC)
ERROR:chronam.core.management.commands.load_batch:unable to load batch: HTTP Error 404: NOT FOUND
Traceback (most recent call last):
  File "/opt/chronam/core/management/commands/load_batch.py", line 39, in handle
    batch = loader.load_batch(batch_name)
  File "/opt/chronam/core/batch_loader.py", line 194, in load_batch
    raise BatchLoaderException(msg)
BatchLoaderException: unable to load batch: HTTP Error 404: NOT FOUND
CommandError: unable to load batch. check the load_batch log for clues