-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Descrição da tarefa
https://www.scielo.br/j/rsp/a/px8Znk8FpcpdNB4vM74SsTB/abstract/?lang=pt&format=xml
<history>
<date date-type="accepted">
<day>18</day>
<month>03</month>
<year>2004</year>
</date>
<date date-type="received">
<month>02</month>
<year>2003</year>
</date>
<date date-type="rev-recd">
<day>07</day>
<month>01</month>
<year>2004</year>
</date>
</history> File "/usr/local/lib/python3.11/site-packages/packtools/sps/formats/am/am.py", line 571, in get_xml_article_metadata
**get_dates(xml_tree),
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/packtools/sps/formats/am/am.py", line 292, in get_dates
received_date_v111 = format_date(dt.history_dates_dict.get("received"), ["day", "month", "year"], "/")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/packtools/sps/formats/am/am_utils.py", line 70, in format_date
return sep.join(parts) if any(parts) else None
^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, NoneType found
Metadata
Metadata
Assignees
Labels
No labels