[QGIS-Developer] QGIS 3 Python Console Python Error

Nyall Dawson nyall.dawson at gmail.com
Mon Feb 5 14:07:43 PST 2018


On 6 February 2018 at 07:52, C Hamilton <adenaculture at gmail.com> wrote:
> Is anyone else getting this error with the latest QGIS 3 (2.99.0-287) when
> the Python Console is selected from the Plugins menu? I am running on
> Windows 7.
>
> 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'
>
>
> Consequently, no python console is displayed.

Fixed already by Jürgen:

https://github.com/qgis/QGIS/commit/325af486807122db6946dcaeef22236b41f4d512

Nyall


More information about the QGIS-Developer mailing list