Skip to content

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

Closed

Description

@HJarausch
mannequin
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']

    Activity

    1. HJarausch commented on Feb 21, 2013

      HJarauschmannequin
      MannequinAuthor

      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
    2. serhiy-storchaka commented on Feb 21, 2013

      @serhiy-storchaka
      Member

      Python is not ready for Tcl/Tk 8.6 yet.

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions