elpaso/qgis-ipythonconsole

Sometimes on QGIS3 close: AttributeError: 'IPyConsole' object has no attribute 'dock'

Closed this issue · 2 comments

See title: I get the following dialog sometimes when I close, not precisely clear when it comes.
I tried to reproduce it, but sometimes it is gone for some time, but then at a certain time it returns and then stays on every close.

error while unloading plugin ipyconsole_319

Mmm, thought to do a PR, then saw that it already seems fixed:

446df34

Little strange, as it seems that half of this fix is in my plugin (v 1.8 in QGIS3 from official plugin repo):

  • there is no 'self.dock = None' in the init
    but there is a if self.dock is not None: in the unload

Fixed in latest release