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

diacritics in link name causes app crash #34

Open
bart9k opened this issue Nov 15, 2019 · 4 comments
Open

diacritics in link name causes app crash #34

bart9k opened this issue Nov 15, 2019 · 4 comments

Comments

@bart9k
Copy link

bart9k commented Nov 15, 2019

We have localized link names to Czech using diacritics. Then script process such link name it crashes with following:

Fetching RIO-1887
RIO-1887 => souvisí s => RIO-1897
Traceback (most recent call last): File "jira-dependency-graph.py", line 286, in <module> main() File "jira-dependency-graph.py", line 277, in main options.ignore_subtasks, options.traverse, options.word_wrap) File "jira-dependency-graph.py", line 201, in build_graph_data return walk(start_issue_key, []) File "jira-dependency-graph.py", line 197, in walk walk(child, graph) File "jira-dependency-graph.py", line 189, in walk result = process_link(fields, issue_key, other_link) File "jira-dependency-graph.py", line 142, in process_link link_type, extra) UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 6: ordinal not in range(128)

@bart9k
Copy link
Author

bart9k commented Nov 19, 2019

This partially fixed my problem.
from __future__ import unicode_literals

@pawelrychlik
Copy link
Owner

@bart9k if that's not too much to ask for - could you please send a pull-request? Thanks in advance.

@bart9k
Copy link
Author

bart9k commented Nov 22, 2019

@pawelrychlik, I'll do bit more testing and if it is successful I'll pull my changes.

@bart9k
Copy link
Author

bart9k commented Dec 10, 2019

Sorry for delay. But my suggested fix is not working well it covers issue only partially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants