Bug 1645910 - [abrt] python3-idle: write(): pyshell.py:1295:write:AttributeError: 'NoneType' object has no attribute 'mark_gravity'
Summary: [abrt] python3-idle: write(): pyshell.py:1295:write:AttributeError: 'NoneType...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python3
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1dc3f107a0c3ff6f04e435b8d1a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-04 20:07 UTC by GMSD
Modified: 2018-11-26 13:26 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-26 13:25:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (977 bytes, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details
File: cgroup (331 bytes, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details
File: cpuinfo (1.27 KB, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details
File: environ (3.55 KB, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details
File: mountinfo (3.89 KB, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details
File: namespaces (129 bytes, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details
File: open_fds (388 bytes, text/plain)
2018-11-04 20:07 UTC, GMSD
no flags Details

Description GMSD 2018-11-04 20:07:12 UTC
Version-Release number of selected component:
python3-idle-3.6.6-1.fc28

Additional info:
reporter:       libreport-2.9.6
cmdline:        /usr/bin/python3.6 /usr/bin/idle3
crash_function: write
exception_type: AttributeError
executable:     /usr/bin/idle3
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.18.14-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
pyshell.py:1295:write:AttributeError: 'NoneType' object has no attribute 'mark_gravity'

Traceback (most recent call last):
  File "/usr/bin/idle3", line 5, in <module>
    main()
  File "/usr/lib64/python3.6/idlelib/pyshell.py", line 1506, in main
    shell = flist.open_shell()
  File "/usr/lib64/python3.6/idlelib/pyshell.py", line 327, in open_shell
    if not self.pyshell.begin():
  File "/usr/lib64/python3.6/idlelib/pyshell.py", line 1055, in begin
    (sys.version, sys.platform, self.COPYRIGHT, nosub))
  File "/usr/lib64/python3.6/idlelib/pyshell.py", line 1295, in write
    self.text.mark_gravity("iomark", "left")
AttributeError: 'NoneType' object has no attribute 'mark_gravity'

Local variables in innermost frame:
count: 160
tags: ()
s: 'Python 3.6.6 (default, Jul 19 2018, 14:25:17) \n[GCC 8.1.1 20180712 (Red Hat 8.1.1-5)] on linux\nType "copyright", "credits" or "license()" for more information.\n'
self: <idlelib.pyshell.PyShell object at 0x7f37490c8588>

Comment 1 GMSD 2018-11-04 20:07:20 UTC
Created attachment 1501467 [details]
File: backtrace

Comment 2 GMSD 2018-11-04 20:07:21 UTC
Created attachment 1501468 [details]
File: cgroup

Comment 3 GMSD 2018-11-04 20:07:23 UTC
Created attachment 1501469 [details]
File: cpuinfo

Comment 4 GMSD 2018-11-04 20:07:25 UTC
Created attachment 1501470 [details]
File: environ

Comment 5 GMSD 2018-11-04 20:07:26 UTC
Created attachment 1501471 [details]
File: mountinfo

Comment 6 GMSD 2018-11-04 20:07:28 UTC
Created attachment 1501472 [details]
File: namespaces

Comment 7 GMSD 2018-11-04 20:07:30 UTC
Created attachment 1501473 [details]
File: open_fds

Comment 8 Miro Hrončok 2018-11-04 20:35:30 UTC
This very much smells like https://bugs.python.org/issue5492 but that is supposed to be fixed already for ages.

Comment 9 Petr Viktorin 2018-11-12 13:45:48 UTC
Is there a reliable way to reproduce this?

Comment 10 Petr Viktorin 2018-11-26 13:26:15 UTC
Please re-open if you can reproduce this.


Note You need to log in before you can comment on or make changes to this bug.