Skip to content
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

TypeError: combining() argument must be a unicode character, not str #91

Closed
vitorfs opened this issue Sep 29, 2021 · 0 comments · Fixed by #92
Closed

TypeError: combining() argument must be a unicode character, not str #91

vitorfs opened this issue Sep 29, 2021 · 0 comments · Fixed by #92
Assignees
Labels

Comments

@vitorfs
Copy link
Owner

vitorfs commented Sep 29, 2021

https://sentry.io/organizations/simple-complex/issues/2650578099/?referrer=github_plugin

TypeError: combining() argument must be a unicode character, not str
(15 additional frame(s) were not displayed)
...
  File "bibtexparser/bparser.py", line 287, in _add_entry
    d = self.customization(d)
  File "bibtexparser/customization.py", line 507, in convert_to_unicode
    record[val] = latex_to_unicode(record[val])
  File "bibtexparser/latexenc.py", line 65, in latex_to_unicode
    string = _replace_all_latex(string, itertools.chain(
  File "bibtexparser/latexenc.py", line 53, in _replace_all_latex
    string = _replace_latex(string, l.rstrip(), u)
  File "bibtexparser/latexenc.py", line 35, in _replace_latex
    if unicodedata.combining(unicod):

An error occurred while trying to parse the bibtex file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant