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

Idle + tcl 8.6.0 Can't convert '_tkinter.Tcl_Obj' object to str implicitly #61468

Closed
HJarausch mannequin opened this issue Feb 21, 2013 · 2 comments
Closed

Idle + tcl 8.6.0 Can't convert '_tkinter.Tcl_Obj' object to str implicitly #61468

HJarausch mannequin opened this issue Feb 21, 2013 · 2 comments
Labels
topic-IDLE topic-tkinter type-bug An unexpected behavior, bug, or error

Comments

@HJarausch
Copy link
Mannequin

HJarausch mannequin commented Feb 21, 2013

BPO 17266
Nosy @serhiy-storchaka
Superseder
  • bpo-16809: Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2013-02-21.11:51:03.626>
    created_at = <Date 2013-02-21.11:11:30.385>
    labels = ['expert-IDLE', 'type-bug', 'expert-tkinter']
    title = "Idle + tcl 8.6.0 Can't convert '_tkinter.Tcl_Obj' object to str implicitly"
    updated_at = <Date 2013-02-21.11:51:03.624>
    user = 'https://bugs.python.org/HJarausch'

    bugs.python.org fields:

    activity = <Date 2013-02-21.11:51:03.624>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-02-21.11:51:03.626>
    closer = 'serhiy.storchaka'
    components = ['IDLE', 'Tkinter']
    creation = <Date 2013-02-21.11:11:30.385>
    creator = 'HJarausch'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 17266
    keywords = []
    message_count = 2.0
    messages = ['182587', '182588']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'HJarausch']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '16809'
    type = 'behavior'
    url = 'https://bugs.python.org/issue17266'
    versions = ['Python 3.3', 'Python 3.4']

    @HJarausch
    Copy link
    Mannequin Author

    HJarausch mannequin commented Feb 21, 2013

    I have tcl/tk 8.6.0 installed here. Both Python versions below
    are build from source.

    I'm using LANG=en_US.iso88591 here if that matters.

    When opening a file in Idle with
    python-3.3.1 revision: c08bcf5302ec

    or

    python-3.4.0a0 (default:3a110a506d35) (HG version)

    I get
    Failed to load extension 'CodeContext'
    Traceback (most recent call last):
      File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/EditorWindow.py", line 1034, in load_standard_extensions
        self.load_extension(name)
      File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/EditorWindow.py", line 1055, in load_extension
        ins = cls(self)
      File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/CodeContext.py", line 49, in __init__
        self.toggle_code_context_event()
      File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/CodeContext.py", line 66, in toggle_code_context_event
        padx += int(str( widget.pack_info()['padx'] ))
      File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/tkinter/__init__.py", line 1919, in pack_info
        self.tk.call('pack', 'info', self._w))
    TypeError: Can't convert '_tkinter.Tcl_Obj' object to str implicitly

    @HJarausch HJarausch mannequin added the topic-IDLE label Feb 21, 2013
    @serhiy-storchaka
    Copy link
    Member

    Python is not ready for Tcl/Tk 8.6 yet.

    @serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Feb 21, 2013
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-IDLE topic-tkinter type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant