Bug 1004639 - [abrt] python-tools-2.7.5-4.fc19: rpc.py:532:accept:error
Summary: [abrt] python-tools-2.7.5-4.fc19: rpc.py:532:accept:error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:abb2f212b8639602c7a51e544bd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 06:33 UTC by Kevin.B.W.lee
Modified: 2013-09-17 08:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-17 08:28:26 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (819 bytes, text/plain)
2013-09-05 06:33 UTC, Kevin.B.W.lee
no flags Details
File: environ (2.90 KB, text/plain)
2013-09-05 06:33 UTC, Kevin.B.W.lee
no flags Details

Description Kevin.B.W.lee 2013-09-05 06:33:33 UTC
Description of problem:
I just have installed pyhon-tools
and open a terminal.
run idle.

and get below messages 
[kevin@kevdev ~]$ idle
** Invalid host:  ('192.168.44.119', 58422)
Traceback (most recent call last):
  File "/usr/bin/idle", line 5, in <module>
    main()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 1523, in main
    shell = flist.open_shell()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 300, in open_shell
    if not self.pyshell.begin():
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 1027, in begin
    client = self.interp.start_subprocess()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 432, in start_subprocess
    self.rpcclt.accept()
  File "/usr/lib64/python2.7/idlelib/rpc.py", line 532, in accept
    raise socket.error
socket.error

idle gui is not run

Version-Release number of selected component:
python-tools-2.7.5-4.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python2.7 /usr/bin/idle
dso_list:       python-libs-2.7.5-4.fc19.x86_64
executable:     /usr/bin/idle
kernel:         3.10.9-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
rpc.py:532:accept:error

Traceback (most recent call last):
  File "/usr/bin/idle", line 5, in <module>
    main()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 1523, in main
    shell = flist.open_shell()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 300, in open_shell
    if not self.pyshell.begin():
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 1027, in begin
    client = self.interp.start_subprocess()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 432, in start_subprocess
    self.rpcclt.accept()
  File "/usr/lib64/python2.7/idlelib/rpc.py", line 532, in accept
    raise socket.error
error

Local variables in innermost frame:
working_sock: <socket._socketobject object at 0x111d980>
self: <idlelib.PyShell.MyRPCClient object at 0x155c850>
address: ('192.168.56.1', 56613)

Comment 1 Kevin.B.W.lee 2013-09-05 06:33:42 UTC
Created attachment 793990 [details]
File: backtrace

Comment 2 Kevin.B.W.lee 2013-09-05 06:33:46 UTC
Created attachment 793991 [details]
File: environ

Comment 3 Bohuslav "Slavek" Kabrda 2013-09-17 08:28:26 UTC
It seems that a similar issue has already been brought up at [1]. During startup, Idle tries to connect to some localhost sockets - and if they're for example blocked by Firewall, Idle fails to start.

I'm closing this as notabug, but feel free to reopen if the socket is reachable and the cause seems to be something else.

[1] http://bugs.python.org/issue6941


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