<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Dear Borys,<div><br></div><div>I update the plugin reloader to the version 0.7.5 and I tried to use it on openoise but it still fails.</div><div>No changes are detected.</div><div><br></div><div>I'm using QGIS 3.2 and a ported version of openoise (not the official one that is for qgis 2.x)</div><div><br></div><div>Thanks</div><div>Pierluigi<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Da: </b>"Borys Jurgiel" <lists@borysjurgiel.pl><br><b>A: </b>qgis-developer@lists.osgeo.org<br><b>Cc: </b>"Richard Duivenvoorde" <richard@duif.net><br><b>Inviato: </b>Sabato, 13 ottobre 2018 23:33:59<br><b>Oggetto: </b>Re: [QGIS-Developer] plugin reload fail<br><br>Hi,<br><br>It's not so straightforward to recursively reload complex plugins, thus both <br>Plugin Manager and Plugin Reloader have a long-standing problem with reloading <br>modules placed in subdirectories. This is the case of opeNoise, where most of <br>the code is in the 'tools' subdirectory, so all changes there require QGIS to <br>be restarted.<br><br>I've just released Plugin Reloader 0.7.5 that hopefully fixes this issue <br>finally. Could you please test if it helps with opeNoise? If so, I'll apply <br>the same to the Manager or even qgis.utils.<br><br>Unfortunately it's only for QGIS 3, as I didn't success to make it working <br>with Python 2 (and the old opeNoise).<br><br>Best regards,<br>Borys<br><br><br>Dnia sobota, 13 października 2018 12:15:28 CEST DelazJ pisze:<br>> Hi,<br>> <br>> How about reloading with the "Plugin reloader" plugin [0]? You might need<br>> to enable "show experimental plugins" beforehand.<br>> I thik this would save QGIS I/O.<br>> <br>> [0] http://plugins.qgis.org/plugins/plugin_reloader/<br>> <br>> Regards,<br>> Harrissou<br>> <br>> Le sam. 13 oct. 2018 à 10:14, Richard Duivenvoorde <rdmailings@duif.net> a<br>> <br>> écrit :<br>> > On 10/12/2018 06:20 PM, Ing. Pierluigi De Rosa wrote:<br>> > > Dear all,<br>> > > <br>> > > I have a simple problem.<br>> > > I'm porting the opeNoise plugin [1] to 3.x<br>> > > I'm not the author plugin but I'm experiencing that the plugin reload<br>> > > fails. It tels me that the plugin have been reloaded but the changes are<br>> > > non applied. Even if I deactivate and than activate the plugin the same<br>> > > results (no changes detected).<br>> > > The only way is to restart the software any time losing too much time.<br>> > <br>> > How sure are you that it is not reloaded?<br>> > Can you check by writing some message with a version number?<br>> > <br>> > Normally writing the<br>> > <br>> > __init__<br>> > initGui<br>> > unload<br>> > <br>> > should be enough. Only thing I could think off is that you do not<br>> > disconnect the QActions (though I'm not even sure if that is really<br>> > needed).<br>> > <br>> > Also note that if you reload your plugin AFTER an exception, often you<br>> > end up with a situation where QGIS still has (parts) of the plugin in<br>> > memory while also loading a new version of your plugin, so sometimes<br>> > showing 2 versions of your pluginbutton/toolbar etc. I think only a QGIS<br>> > restart works then.<br>> > <br>> > Another think I've had is that mixing up an already installed version<br>> > with the one I'm developing (because the symbolic link was gone, or I<br>> > was actually working in another profile then I thought or.... other<br>> > silly things)<br>> > <br>> > Regards,<br>> > <br>> > Richard<br>> > _______________________________________________<br>> > QGIS-Developer mailing list<br>> > QGIS-Developer@lists.osgeo.org<br>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br><br><br><br><br>_______________________________________________<br>QGIS-Developer mailing list<br>QGIS-Developer@lists.osgeo.org<br>List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer</div><br></div></div></body></html>