Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-22 Thread DelazJ
Hi Tom, Indeed, I should have read the help of the command; it mentions that. Using a git infrastructure, I was surprised to see backup files as I could do a reset if things went wrong but I guess the script is intended to be used in any env. Harrissou 2018-05-21 1:19 GMT+02:00 Tom Chadwin : > T

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread Tom Chadwin
Those are likely to be your original Python 2 files, before the script made changes, allowing you to roll back. They should definitely not be published, but you should keep them yourself until you are confident the conversion was successful. Tom - Buy Pie Spy: Adventures in British pastry

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread DelazJ
Hi Tom, Not really. It expects qgis2to3 to be a file in such a command. But it makes me remind to look for a qgis2to3 file and i found it in C:\OSGeo4W64\apps\Python36\Scripts. Moving to that folder and calling `qgis2to3 -w /path/to/my/plugin` did the trick. Thanks for your help. Next question:

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread Tom Chadwin
In other words: python3 qgis2to3 /path/to/my/plugin Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread Tom Chadwin
Absolutely no expert, but does this help? https://stackoverflow.com/a/38979755/5613104 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Deve

[QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread DelazJ
Hi, I'm trying to update a plugin of mine to QGIS3 and follow instructions at https://github.com/qgis/QGIS/wiki/Plugin-migration-to-QGIS-3 I'm on Windows 10 and am not used to dev env and despite the use of osgeo4w i encountered some issues. After some readings here and there, I ran in the osgeo4w