| Summary: | Unable to configure idle (python IDE) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | smurfendrek123 |
| Component: | python | Assignee: | Charalampos Stratakis <cstratak> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | bkabrda, cstratak, dmalcolm, eliadevito, ivazqueznet, jberan, jonathansteffan, mstuchli, ncoghlan, pviktori, smurfendrek123, tomspur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-25 16:24:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This is my first bug report, contact me if you need more information. I talked to someone that had the same problem on fedora 23. I was able to reproduce this, and dove in a bit. I summarized my findings on this upstream bug report: http://bugs.python.org/issue26673 For a workaround you can do: (echo '[EditorWindow]'; echo 'font= courier') > ~/.idlerc/config-main.cfg Thank you petr, but i ran sudo dnf update and everything seems to be fixed now. Thank you for your help :p The problem still exists, i was wrong. The problem seems to be that if font size is set to 10, the newer version of idle doesn't work, I set my font size to 12 in the older version of idle, and then upgraded to the newer one, and then everything worked perfectly. So the bug is not fixed. This bug is marked fixed in the upstream bug report, can idle in fedora 23 be upgraded to the newer version, or is fedora 23 to be worth the effort? Just lack of time – there are higher-priority updates, and lots of people on summer holidays. Since this bug has a workaround, it's unfortunately not very high on my list. All right, i don't use the editor anymore anyways. It's really nice of you to work on Fedora, I appreciate it. This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. 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 23 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 is fixed in Python 2.7.12 which is currently in Fedora 24+ |
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 Build Identifier: After opening idle in the terminal, with the command "idle": go to options-> click configure idle. Nothing happens with idle when configure idle is clicked and an error message in the terminal is displayed. See additional information for the version number and error message in the terminal. Reproducible: Always Steps to Reproduce: 1.open idle with the command idle in the terminal 2.go to the options tab 3.click configure idle Actual Results: Nothing happens in idle itself, look in the additional information for the error message in the terminal. Expected Results: I expect idle to open another window where i can choose whether idle should open a shell or an edit window on startup, change the font and font size among many other things. I use gnome3 I obtained idle by installing python-tools with the command sudo dnf install python-tools. This automatically installed python-tools-2.7.11-3.fc23.x86_64. The previous version of idle, version 2.7.10 worked fine. Error message after clicking configure Idle Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1536, in __call__ return self.func(*args) File "/usr/lib64/python2.7/idlelib/EditorWindow.py", line 543, in config_dialog configDialog.ConfigDialog(self.top,'Settings') File "/usr/lib64/python2.7/idlelib/configDialog.py", line 72, in __init__ self.LoadConfigs() File "/usr/lib64/python2.7/idlelib/configDialog.py", line 1103, in LoadConfigs self.LoadFontCfg() File "/usr/lib64/python2.7/idlelib/configDialog.py", line 1005, in LoadFontCfg self.SetFontSample() File "/usr/lib64/python2.7/idlelib/configDialog.py", line 883, in SetFontSample self.labelFontSample.config(font=newFont) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1326, in configure return self._configure('configure', cnf, kw) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1317, in _configure self.tk.call(_flatten((self._w, cmd)) + self._options(cnf)) TclError: expected integer but got ""