Bug 770462

Summary: [abrt] ipython-0.12-1.fc16: importstring.py:40:import_item:ImportError: No module named qt.console.qtconsoleapp
Product: [Fedora] Fedora Reporter: Vedran Miletić <vedran>
Component: ipythonAssignee: Thomas Spura <tomspur>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: davdunc, graphaelli, mrunge, shahms, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:c5d89f2351bf47e89ffb6d3f582ad58d1f12a3fd
Fixed In Version: ipython-0.13.1-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-16 12:53:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vedran Miletić 2011-12-26 20:12:45 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/ipython qtconsole
comment:        ipython --qtconsole
executable:     /usr/bin/ipython
kernel:         3.1.6-1.fc16.i686.PAE
reason:         importstring.py:40:import_item:ImportError: No module named qt.console.qtconsoleapp
time:           Mon 26 Dec 2011 21:10:23 CET
uid:            1000
username:       vedranm

backtrace:
:importstring.py:40:import_item:ImportError: No module named qt.console.qtconsoleapp
:
:Traceback (most recent call last):
:  File "/usr/bin/ipython", line 7, in <module>
:    launch_new_instance()
:  File "/usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 402, in launch_new_instance
:    app.initialize()
:  File "<string>", line 2, in initialize
:  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
:    return method(app, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 302, in initialize
:    super(TerminalIPythonApp, self).initialize(argv)
:  File "<string>", line 2, in initialize
:  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
:    return method(app, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/IPython/core/application.py", line 325, in initialize
:    self.parse_command_line(argv)
:  File "/usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 297, in parse_command_line
:    return super(TerminalIPythonApp, self).parse_command_line(argv)
:  File "<string>", line 2, in parse_command_line
:  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
:    return method(app, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 413, in parse_command_line
:    return self.initialize_subcommand(subc, subargv)
:  File "<string>", line 2, in initialize_subcommand
:  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
:    return method(app, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 349, in initialize_subcommand
:    subapp = import_item(subapp)
:  File "/usr/lib/python2.7/site-packages/IPython/utils/importstring.py", line 40, in import_item
:    module = __import__(package,fromlist=[obj])
:ImportError: No module named qt.console.qtconsoleapp
:
:Local variables in innermost frame:
:obj: 'IPythonQtConsoleApp'
:name: 'IPython.frontend.qt.console.qtconsoleapp.IPythonQtConsoleApp'
:package: 'IPython.frontend.qt.console.qtconsoleapp'

smolt_data:
:
:
:General
:=================================
:UUID: 031066e5-bc71-4340-88d9-01eb771122cd
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_GB.utf8
:Platform: i686
:BogoMIPS: 6200.87
:CPU Vendor: AuthenticAMD
:CPU Model: AMD Phenom(tm) II X2 550 Processor
:CPU Stepping: 2
:CPU Family: 16
:CPU Model Num: 4
:Number of CPUs: 2
:CPU Speed: 3100
:System Memory: 4026
:System Swap: 4499
:Vendor: To Be Filled By O.E.M.
:System: To Be Filled By O.E.M. To Be Filled By O.E.M.
:Form factor: Desktop
:Kernel: 3.1.6-1.fc16.i686.PAE
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(4098:17296:6217:17296) pci, ahci, STORAGE, Motherboard (one of many)
:(4098:22911:6217:22871) pci, pcieport, PCI/PCI, A770CrossFire Motherboard
:(4098:22871:6217:22871) pci, None, HOST/PCI, A770CrossFire Motherboard
:(4098:38067:5762:10496) pci, radeon, VIDEO, Radeon HD 4770 [RV740]
:(4130:4612:0:0) pci, None, HOST/PCI, Family 10h Processor Link Control
:(4098:22904:6217:22871) pci, pcieport, PCI/PCI, A770CrossFire Motherboard
:(4130:4609:0:0) pci, None, HOST/PCI, Family 10h Processor Address Map
:(4130:4608:0:0) pci, None, HOST/PCI, Family 10h Processor HyperTransport Configuration
:(4130:4611:0:0) pci, None, HOST/PCI, Family 10h Processor Miscellaneous Control
:(4130:4610:0:0) pci, None, HOST/PCI, Family 10h Processor DRAM Controller
:(4354:28678:4354:16) pci, None, PCI/PCI, [SB X-Fi Xtreme Audio] CA0110-IBG PCI to PCIe Bridge
:(5138:5924:5435:4432) pci, snd_ice1724, MULTIMEDIA_AUDIO, PHASE 22
:(4354:9:4354:24) pci, snd_hda_intel, MULTIMEDIA, SB1040
:(4098:17308:6217:17308) pci, pata_atiixp, STORAGE, SB7x0/SB8x0/SB9x0 IDE Controller
:(4098:17285:6217:17285) pci, piix4_smbus, SERIAL, SBx00 SMBus Controller
:(4098:17309:6217:17309) pci, None, PCI/ISA, SB7x0/SB8x0/SB9x0 LPC host controller
:(4098:17283:6217:919) pci, snd_hda_intel, MULTIMEDIA, SBx00 Azalia (Intel HDA)
:(4098:17305:6217:17305) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
:(4098:17284:0:0) pci, None, PCI/PCI, SBx00 PCI to PCI Bridge
:(4098:17302:6217:17302) pci, ehci_hcd, USB, SB7x0/SB8x0/SB9x0 USB EHCI Controller
:(4332:33128:6217:33128) pci, r8169, ETHERNET, Motherboard (one of many)
:(4098:17303:6217:17303) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
:(4098:17304:6217:17304) pci, ohci_hcd, USB, SB7x0 USB OHCI1 Controller
:(4098:17302:6217:17302) pci, ehci_hcd, USB, SB7x0/SB8x0/SB9x0 USB EHCI Controller
:(4098:17304:6217:17304) pci, ohci_hcd, USB, SB7x0 USB OHCI1 Controller
:(4098:17303:6217:17303) pci, ohci_hcd, USB, SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
:(4098:22910:6217:22871) pci, pcieport, PCI/PCI, A770CrossFire Motherboard
:(4098:43576:5762:43576) pci, snd_hda_intel, MULTIMEDIA, RV710/730
:(5772:28:5243:4147) pci, ath5k, ETHERNET, AirPace Wi-Fi
:(4098:22906:6217:22871) pci, pcieport, PCI/PCI, RD790 PCI to PCI bridge (PCI express gpp port A)
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/sdc7 / ext4 4096 4096 7559412 4727681 4343681 1921360 1524228 1524228
:/dev/sdc9 /home ext4 4096 4096 19508728 10551655 9560667 4956160 4690517 4690517
:/dev/sdc6 WITHHELD ext4 4096 4096 7559177 6520772 6444001 1925120 1762578 1762578
:/dev/sdd1 WITHHELD vfat 32768 32768 488449 398619 398619 0 0 0
:/dev/sdb1 WITHHELD fuseblk 4096 4096 244189728 68186428 68186428 272942320 272762843 272762843
:

Comment 1 Thomas Spura 2011-12-27 01:52:15 UTC
Thanks for the bug report.

Can you describe how to reproduce this?

From looking at the code a minimal testcase would be:
"from IPython.frontend.qt.console.qtconsoleapp import IPythonQtConsoleApp"

That works here fine.

Running "ipython qtconsole" works here too...

So what did you do, to get the crash?

Comment 2 Gilad Raphaelli 2012-01-14 04:08:18 UTC
User needs to install ipython-gui

Comment 3 Ilya Pashchenko 2012-06-14 16:37:00 UTC
just installing ipython

Package: ipython-0.12-3.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 4 alexander_schier 2012-07-10 15:38:19 UTC
run "ipython qtconsole"

Package: ipython-0.12-3.fc17
Architecture: x86_64
OS Release: Fedora release 17 (Beefy Miracle)

Comment 5 Thomas Spura 2012-11-16 12:53:28 UTC
When upgrading on f18 and up, the package structure has now changed, so ipython-gui is also installed when installing plain "ipython"...

For f17 and older, one needs to manually install ipython-gui.
Sorry for the inconvenience.

Will be fixed in NEXTRELEASE. Please reopen or file a new bug, if the problem is still there on f18 and up.

Comment 6 Thomas Spura 2013-03-21 14:21:31 UTC
*** Bug 924055 has been marked as a duplicate of this bug. ***