mocobeta opened a new pull request, #35:
URL: https://github.com/apache/lucene-jira-archive/pull/35
Added try-catch so that it does not stop with a conversion failure/error.
```
(.venv) migration $ python src/jira2github_import.py --issues 550
[2022-07-12 12:09:06,759] INFO:jira2github_import: Converting Jira issues to
GitHub issues in /mnt/hdd/repo/lucene-jira-archive/migration/github-import-data
[2022-07-12 12:09:35,785] ERROR:jira2github_import: Traceback (most recent
call last):
File
"/mnt/hdd/repo/lucene-jira-archive/migration/src/jira2github_import.py", line
216, in <module>
convert_issue(num, dump_dir, output_dir, account_map, github_att_repo,
github_att_branch)
File
"/mnt/hdd/repo/lucene-jira-archive/migration/src/jira2github_import.py", line
121, in convert_issue
"body": f"""{convert_text(comment_body, att_replace_map, account_map)}
File "/mnt/hdd/repo/lucene-jira-archive/migration/src/jira_util.py", line
216, in convert_text
text = jira2markdown.convert(text, elements=elements)
File
"/mnt/hdd/repo/lucene-jira-archive/migration/.venv/lib/python3.9/site-packages/jira2markdown/parser.py",
line 20, in convert
return markup.transformString(text)
File
"/mnt/hdd/repo/lucene-jira-archive/migration/.venv/lib/python3.9/site-packages/pyparsing.py",
line 2059, in transformString
for t, s, e in self.scanString(instring):
File
"/mnt/hdd/repo/lucene-jira-archive/migration/.venv/lib/python3.9/site-packages/pyparsing.py",
line 2007, in scanString
nextLoc, tokens = parseFn(instring, preloc, callPreParse=False)
...
RecursionError: maximum recursion depth exceeded
[2022-07-12 12:09:35,786] ERROR:jira2github_import: Failed to convert Jira
issue. An error 'maximum recursion depth exceeded' occurred; skipped LUCENE-550.
[2022-07-12 12:09:35,786] INFO:jira2github_import: Done.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]