-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Author profile found, with 34 publications.
Filling metadata for your 34 publications: 26%|████████████████▋ | 9/34 [00:08<00:24, 1.04it/s]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.14.2_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/citation_map/citation_map.py", line 320, in __fill_publication_metadata
return scholarly.fill(pub)
~~~~~~~~~~~~~~^^^^^
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/scholarly/_scholarly.py", line 238, in fill
object = publication_parser.fill(object)
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/scholarly/publication_parser.py", line 315, in fill
publication['bib']['pub_year'] = arrow.get(val.text, patterns).year
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/arrow/api.py", line 86, in get
return _factory.get(*args, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/arrow/factory.py", line 285, in get
dt = parser.DateTimeParser(locale).parse(
args[0], args[1], normalize_whitespace
)
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/arrow/parser.py", line 404, in parse
return self._parse_multiformat(datetime_string, fmt)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/arrow/parser.py", line 857, in _parse_multiformat
raise ParserError(
f"Could not match input {string!r} to any of the following formats: {supported_formats}."
)
arrow.parser.ParserError: Could not match input '5' to any of the following formats: YYYY/M, YYYY/MM/DD, YYYY, YYYY/M/DD, YYYY/M/D, YYYY/MM/D.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/generate_citation.py", line 5, in
generate_citation_map(scholar_id)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/citation_map/citation_map.py", line 489, in generate_citation_map
all_citing_author_paper_tuple_list = find_all_citing_authors(scholar_id=scholar_id,
num_processes=num_processes)
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/citation_map/citation_map.py", line 36, in find_all_citing_authors
all_publications = list(tqdm(pool.imap(__fill_publication_metadata, publications),
desc='Filling metadata for your %d publications' % len(publications),
total=len(publications)))
File "/Users/ragupta2/Downloads/EB1A/myeb1aproject/lib/python3.14/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.14.2_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/multiprocessing/pool.py", line 873, in next
raise value
arrow.parser.ParserError: Could not match input '5' to any of the following formats: YYYY/M, YYYY/MM/DD, YYYY, YYYY/M/DD, YYYY/M/D, YYYY/MM/D.