Re: [QGIS-Developer] QGIS 3 Python Console Python Error

2018-02-05 Thread Nyall Dawson
On 6 February 2018 at 07:52, C Hamilton  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
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS 3 Python Console Python Error

2018-02-05 Thread C Hamilton
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.

Thanks,

Calvin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer