-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
사업보고서제출기한연장신고서에 의해 발생하는 오류 #64
Comments
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AttributeError Traceback (most recent call last)
in
----> 1 cc.extract_fs(bgn_de='20190101')
~/IdeaProjects/dart-fss/dart_fss/corp/corp.py in extract_fs(self, bgn_de, end_de, fs_tp, separate, report_tp, lang, separator, dataset)
231
232 """
--> 233 return extract(self.corp_code, bgn_de, end_de, fs_tp, separate, report_tp, lang, separator, dataset)
~/IdeaProjects/dart-fss/dart_fss/fs/extract.py in extract(corp_code, bgn_de, end_de, fs_tp, separate, report_tp, lang, separator, dataset)
1292 msg = 'Unexpected Error'
1293 e.args = (*e.args, msg, )
-> 1294 raise e
1295 finally:
1296 dart.utils.spinner.spinner_enable = True
~/IdeaProjects/dart-fss/dart_fss/fs/extract.py in extract(corp_code, bgn_de, end_de, fs_tp, separate, report_tp, lang, separator, dataset)
1249 report = reports.pop(0)
1250 if statements is None:
-> 1251 statements = analyze_report(report=report,
1252 fs_tp=fs_tp,
1253 separate=separate,
~/IdeaProjects/dart-fss/dart_fss/fs/extract.py in analyze_report(report, fs_tp, separate, lang, separator, dataset)
1138 show_concept=True, separator=separator)
1139 else:
-> 1140 fs_df = analyze_html(report, fs_tp=fs_tp, separate=separate, lang=lang)
1141
1142 return fs_df
~/IdeaProjects/dart-fss/dart_fss/fs/extract.py in analyze_html(report, fs_tp, lang, separate)
555 _, fs_table = report_find_all(report, query, fs_tp, separate)
556
--> 557 extract_results = extract_fs_table(fs_table=fs_table, fs_tp=fs_tp, separate=separate, lang=lang)
558 return extract_results
559
~/IdeaProjects/dart-fss/dart_fss/fs/extract.py in extract_fs_table(fs_table, fs_tp, separate, lang)
459 def extract_fs_table(fs_table, fs_tp, separate: bool = False, lang: str = 'ko'):
460 results = OrderedDict()
--> 461 for tp, table in fs_table.items():
462 if tp in fs_tp:
463 if table['table']:
AttributeError: ("'NoneType' object has no attribute 'items'", "An error occurred while fetching or analyzing {'rcp_no': '20210323000944', 'corp_code': '01183407', 'corp_name': '이십일스토어', 'stock_code': '270020', 'corp_cls': 'N', 'report_nm': '사업보고서제출기한연장신고서 (2020.12)', 'flr_nm': '이십일스토어', 'rcept_dt': '20210323', 'rm': ''}.")
The text was updated successfully, but these errors were encountered: