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

Fix Crash (TypeError) when common keys are found in config #1713

Merged
merged 1 commit into from
Feb 10, 2020

Conversation

Phaiax
Copy link
Contributor

@Phaiax Phaiax commented Feb 9, 2020

Hello

I got this error:

prefs.py:323:html_escape:TypeError: 'int' object is not iterable

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/guake/prefs.py", line 1424, in on_accel_edited
    ) % html_escape(key)
  File "/usr/lib/python3.7/site-packages/guake/prefs.py", line 323, in html_escape
    return "".join(html_escape_table.get(c, c) for c in text)
TypeError: 'int' object is not iterable

Local variables in innermost frame:
text: 49

key in prefs.py:on_accel_edited() seems to be an int.

--
Hope I did that all correctly.
Had some problems creating the build environment but I'll open an extra issue for that.

I got this error:

    prefs.py:323:html_escape:TypeError: 'int' object is not iterable

    Traceback (most recent call last):
      File "/usr/lib/python3.7/site-packages/guake/prefs.py", line 1424, in on_accel_edited
        ) % html_escape(key)
      File "/usr/lib/python3.7/site-packages/guake/prefs.py", line 323, in html_escape
        return "".join(html_escape_table.get(c, c) for c in text)
    TypeError: 'int' object is not iterable

    Local variables in innermost frame:
    text: 49

`key` in `prefs.py:on_accel_edited()` seems to be an int.

sem-ver: bugfix
@gsemet gsemet merged commit 2bc4913 into Guake:master Feb 10, 2020
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

Successfully merging this pull request may close these issues.

2 participants