[pypy-issue] Issue #1900: [PyPy3] idle (tkinter), cannot open preferences (pypy/pypy)

squeaky issues-reply at bitbucket.org
Fri Oct 24 00:45:19 CEST 2014


New issue 1900: [PyPy3] idle (tkinter), cannot open preferences
https://bitbucket.org/pypy/pypy/issue/1900/pypy3-idle-tkinter-cannot-open-preferences

squeaky:

I tried running idle:

```
pypy3-2.4-linux_i686-portable/bin/pypy -m idlelib.idle
```

Then i navigated to Options > Configure IDLE

and saw this stacktrace instead of configuration window

```
#!python

Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/squeaky/workspace/portable-pypy/pypy3-2.4-linux_i686-portable/lib-python/3/tkinter/__init__.py", line 1455, in __call__
    args = self.subst(*args)
  File "/home/squeaky/workspace/portable-pypy/pypy3-2.4-linux_i686-portable/lib-python/3/tkinter/__init__.py", line 1193, in _substitute
    try: e.focus = getboolean(f)
  File "/home/squeaky/workspace/portable-pypy/pypy3-2.4-linux_i686-portable/lib_pypy/_tkinter/app.py", line 449, in getboolean
    if '\x00' in s:
TypeError: 'str' does not support the buffer interface

```


Responsible: pjenvey


More information about the pypy-issue mailing list