Created attachment 816079 [details] Script to reproduce the bug Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. $ python crash-easygui.py Actual results: Traceback (most recent call last): File "crash-easygui.py", line 12, in <module> easygui.passwordbox("test") File "/usr/lib/python2.7/site-packages/easygui.py", line 745, in passwordbox return __fillablebox(msg, title, default, mask="*",image=image,root=root) File "/usr/lib/python2.7/site-packages/easygui.py", line 818, in __fillablebox messageWidget = Message(messageFrame, width="4.5i", text=msg) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 2762, in __init__ Widget.__init__(self, master, 'message', cnf, kw) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 2036, in __init__ (widgetName, self._w) + extra + self._options(cnf)) _tkinter.TclError: bad screen distance "4.5i" Expected results: should ask for a password. Additional info: Is it maybe threading related? I found some indications that Tkinter might have problems when threads are invovled that look like this, but I do not start any threads.
I can't reproduce this on f20, I don't have an f19 instance available. Does this still happen for you?
(In reply to Jon Ciesla from comment #1) > I can't reproduce this on f20, I don't have an f19 instance available. Does > this still happen for you? It happens on F20 with i3 or Gnome as window manager.
Still can't reproduce, and an attempted patch made it crash for me in a different way. Is this on 32 or 64-bit?
64 bit
Odd, I'm using GNOME also and it's fine. What are your Python/tkinter EVRs?
Oh, and notify-python as well, please.
python-2.7.5-10.fc20 notify-python-0.1.1-25.fc20 python-easygui-0.96-7.fc20 tkinter-2.7.5-10.fc20 I just found it it is locale dependent: try: LANG=de_DE python crash-easygui.py I guess the dot in the float is a problem since in the German locale, "," is used in floats instead.
Ok, I think this is a tkinter problem, I'll reassign. Python maintainer, if I'm wrong and you have a fix idea for python-easygui I'm all ears.
It seems pynotify and easygui are fighting for the locale handling. It is possible to reproduce it with: $ LC_ALL=de_DE.utf8 python -c "import easygui ; import pynotify; easygui.passwordbox('test')" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/easygui.py", line 745, in passwordbox return __fillablebox(msg, title, default, mask="*",image=image,root=root) File "/usr/lib/python2.7/site-packages/easygui.py", line 818, in __fillablebox messageWidget = Message(messageFrame, width="4.5i", text=msg) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 2762, in __init__ Widget.__init__(self, master, 'message', cnf, kw) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 2036, in __init__ (widgetName, self._w) + extra + self._options(cnf)) _tkinter.TclError: bad screen distance "4.5i" But not with: $ LC_ALL=de_DE.utf8 python -c "import pynotify; import easygui; easygui.passwordbox('test')"
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This seems to be fixed in Fedora 21.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.