Bug report #18050

Cannot open Python Console

Added by Joseph Liam almost 7 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:PyQGIS Console
Affected QGIS version:master Regression?:No
Operating System:Windows 7 64-bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:25946

Description

Receive the following traceback error when trying to open Python Console either from the menubar (Plugins > Python Console) or from the keyboard shortcut (Ctrl + P):

Traceback (most recent call last):
  File "", line 2, in 
  File "C:/OSGEO4~1/apps/qgis-dev/./python\console\console.py", line 48, in show_console
    _console = PythonConsole(parent)
  File "C:/OSGEO4~1/apps/qgis-dev/./python\console\console.py", line 84, in __init__
    self.console = PythonConsoleWidget(self)
  File "C:/OSGEO4~1/apps/qgis-dev/./python\console\console.py", line 110, in __init__
    self.shell = ShellScintilla(self)
  File "C:/OSGEO4~1/apps/qgis-dev/./python\console\console_sci.py", line 71, in __init__
    self.runsource(line)
  File "C:/OSGEO4~1/apps/qgis-dev/./python\console\console_sci.py", line 624, in runsource
    sys.stdout.fire_keyboard_interrupt = False
AttributeError: 'NoneType' object has no attribute 'fire_keyboard_interrupt'

QGIS version:
2.99.0-Master 'Master', 345dd0c376

Associated revisions

Revision 325af486
Added by Jürgen Fischer almost 7 years ago

fix #18050 (followup f6269c41d)

History

#1 Updated by David W almost 7 years ago

I have the same issue on 2.99.0-Master 'Master', 1a117cf080. Windows 7 64-bit. Same traceback.

#2 Updated by Jürgen Fischer almost 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to fixed/implemented
  • Crashes QGIS or corrupts data changed from No to Yes

Also available in: Atom PDF