Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DustinAlandzes/26e0b6c3e7cdd5f0caf8a9dba75a7c80 to your computer and use it in GitHub Desktop.
Save DustinAlandzes/26e0b6c3e7cdd5f0caf8a9dba75a7c80 to your computer and use it in GitHub Desktop.
[2019-06-14 23:44:26,825] ERROR [Process: MainProcess Id:55826] [Thread: MainThread Id: 140736302633920] [scrapy.core.scraper._itemproc_finished:234] Error processing {'case_json': {'aws_cache_link': 'https://s3.console.aws.amazon.com/s3/buckets/scrapy-appeal-spiders/staging/mn-appeals/parse_item_page/A19-0915/2019-06-14-23:43.html',
'case_number': 'A19-0915',
'case_type': 'Civil',
'external_source_link': 'http://macsnc.courts.state.mn.us/ctrack/view/publicCaseMaintenance.do?csNameID=94074&csInstanceID=106682',
'internal_sub_project': 'mn-appeals',
'start_date': '06/13/2019',
'status': 'Pre-Briefing',
'title': 'TMT Management Group, LLC, et al., Appellants, vs. '
'U.S. Bank National Association, et al., Respondents, '
'Wilbur Tate, Respondent, United Credit Recovery, LLC, '
'Respondent, Leonard Potillo, Respondent.'},
'parties_list': [{'attorneys': [],
'aws_cache_link': 'https://s3.console.aws.amazon.com/s3/buckets/scrapy-appeal-spiders/staging/mn-appeals/parse_item_page/A19-0915/2019-06-14-23:43.html',
'full_name': 'TMT Management Group, LLC',
'internal_sub_project': 'mn-appeals',
'type': 'Appellant'},
{'attorneys': [],
'aws_cache_link': 'https://s3.console.aws.amazon.com/s3/buckets/scrapy-appeal-spiders/staging/mn-appeals/parse_item_page/A19-0915/2019-06-14-23:43.html',
'full_name': 'Thomas Leiferman',
'internal_sub_project': 'mn-appeals',
'type': 'Appellant'},
{'attorneys': [],
'aws_cache_link': 'https://s3.console.aws.amazon.com/s3/buckets/scrapy-appeal-spiders/staging/mn-appeals/parse_item_page/A19-0915/2019-06-14-23:43.html',
'full_name': 'U.S. Bank National Association',
'internal_sub_project': 'mn-appeals',
'type': 'Respondent'},
{'attorneys': [],
'full_name': 'Wilbur Tate',
'type': 'Respondent'},
{'attorneys': [{'full_name': 'BROOKS FOSTER POLEY'},
{'full_name': 'REID JORDAN GOLDEN'},
{'full_name': 'JUSTIN HEATH JENKINS'}],
'full_name': 'Jacob Vanbrandwijk',
'type': 'Respondent'},
{'attorneys': [{'full_name': 'BROOKS FOSTER POLEY'},
{'full_name': 'JUSTIN HEATH JENKINS'},
{'full_name': 'REID JORDAN GOLDEN'}],
'full_name': 'Richard Hartnack',
'type': 'Respondent'},
{'attorneys': [{'full_name': '\xa0'}],
'full_name': 'United Credit Recovery, LLC',
'type': 'Respondent'},
{'attorneys': [],
'full_name': 'Leonard Potillo',
'type': 'Respondent'}],
'response_meta': "{'case_json': {'title': 'TMT Management Group, LLC, et al., "
'Appellants, vs. U.S. Bank National Association, et al., '
'Respondents, Wilbur Tate, Respondent, United Credit '
"Recovery, LLC, Respondent, Leonard Potillo, Respondent.', "
"'case_number': 'A19-0915', 'status': 'Pre-Briefing', "
"'case_type': 'Civil', 'start_date': '06/13/2019', "
"'external_source_link': "
"'http://macsnc.courts.state.mn.us/ctrack/view/publicCaseMaintenance.do?csNameID=94074&csInstanceID=106682'}, "
"'depth': 4, 'type': 'parse_item_page', 'dupefilter_fp': "
"'A19-0915', 'exception': False, 'proxy': "
"'http://10.72.12.239:50039', 'download_timeout': 100.0, "
"'download_slot': 'macsnc.courts.state.mn.us', "
"'download_latency': 42.52589511871338, 'aws_cache_link': "
"'https://s3.console.aws.amazon.com/s3/buckets/scrapy-appeal-spiders/staging/mn-appeals/parse_item_page/A19-0915/2019-06-14-23:43.html'}",
'response_url': 'http://macsnc.courts.state.mn.us/ctrack/view/publicCaseMaintenance.do?csNameID=94074&csInstanceID=106682',
'spider': 'mn-appeals'}
Traceback (most recent call last):
File "/Users/f00/anaconda/envs/appeal-pipeline/lib/python3.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/Users/f00/dev/Appeal-pipeline/appeals/pipelines.py", line 142, in process_item
spider=spider
File "/Users/f00/dev/Appeal-pipeline/appeals/pipelines.py", line 119, in handle_parties_and_attorneys
self.handle_attorneys(attorneys, case, party_obj, party, items, spider)
File "/Users/f00/dev/Appeal-pipeline/appeals/pipelines.py", line 86, in handle_attorneys
attorney_obj = Attorney(**attorney)
File "/Users/f00/anaconda/envs/appeal-pipeline/lib/python3.7/site-packages/legalist/objects/Attorney.py", line 40, in __init__
Human.__init__(self, *args, **kwargs)
File "/Users/f00/anaconda/envs/appeal-pipeline/lib/python3.7/site-packages/legalist/objects/abstract/Human.py", line 34, in __init__
self.full_name = kwargs.get("full_name", "")
File "/Users/f00/anaconda/envs/appeal-pipeline/lib/python3.7/site-packages/legalist/objects/Attorney.py", line 186, in full_name
raise Exception("Empty full name not allowed")
Exception: Empty full name not allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment