Re: [QGIS-Developer] Failure in uploading plugin
Changing PC, always Linux Mint (more recent version) and same zip creation procedure, the upload worked. Possibly a zip format incompatibility. Thanks, mauro On Sat, Oct 7, 2017 at 10:04 PM, Tom Chadwinwrote: > That's it. A single root folder whose name matches the plugin, and the > plugin > files within that, including metadata.txt. I'm therefore not sure what's > causing your issue. > > 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@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > ___ 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
Re: [QGIS-Developer] Failure in uploading plugin
zipping the folder name 'qProf' in Linux. Are there any particular assumption/requirement about the uploaded zip structure? Il 07/Ott/2017 12:14, "Tom Chadwin"ha scritto: > How are you creating the zip? > > 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@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ 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] Failure in uploading plugin
Hi, I am receiving errors when I try to upload a new version of qProf plugin. I've checked the metadata, but after trying the upload I always get the message: *There were errors reading plugin package (please check also your plugin's metadata). Could not unzip file.* and I am not sure where the problem could be. I have tested the manual installation from unzipping the file and there were no problems Are there alternative ways to submit a new plugin version? thanks, mauro ___ 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 Win64 minidump due to GDAL function
Hi all, I have a persistent issue with a Python plugin of mine, qgSurf. There is no (observed) problem when using this plugin in Linux (Mint) 64 bit with QGIS 2.4 or 2.6, or for QGIS 2.4 in Win 32 bit (I don't know for QGIS 2.6 Win32). However, when using it in a Win64 versions, be it 2.4 or 2.6 from standalone installers, at the QGIS closing a minidump is always created. I've tracked the single offending command: it's the use of the GDAL function ReadAsArray, for reading the content of a raster band. I don't know if this is a known issue of GDAL in QGIS Win64, and if it could be solved in one of the next releases of QGIS 64 bit for Windows. Thanks, Mauro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS Win64 minidump due to GDAL function
Hi, I've uploaded an example as a zipped file: http://www.malg.eu/pub/qgis-20141103-220202-3148-3516-exported.zip There were no messages in the Python console. Mauro On Mon, Nov 3, 2014 at 9:38 PM, Luigi Pirelli lui...@gmail.com wrote: do you have core dump also having the Python Console opened? regards, Luigi Pirelli On 3 November 2014 21:37, Mauro Alberti alberti@gmail.com wrote: Hi all, I have a persistent issue with a Python plugin of mine, qgSurf. There is no (observed) problem when using this plugin in Linux (Mint) 64 bit with QGIS 2.4 or 2.6, or for QGIS 2.4 in Win 32 bit (I don't know for QGIS 2.6 Win32). However, when using it in a Win64 versions, be it 2.4 or 2.6 from standalone installers, at the QGIS closing a minidump is always created. I've tracked the single offending command: it's the use of the GDAL function ReadAsArray, for reading the content of a raster band. I don't know if this is a known issue of GDAL in QGIS Win64, and if it could be solved in one of the next releases of QGIS 64 bit for Windows. Thanks, Mauro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Metasearch error in Qgis 2.3.0-21 64bit Win
Hi all, I'm trying QGIS from standalone installer 2.3.0-21 64bit (Win 8) and at the start I'm getting a message error related to the MetaSearch plugin, that doesn't find the pytz module. Is this a known issue? Mauro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Metasearch error in Qgis 2.3.0-21 64bit Win
On Fri, May 30, 2014 at 5:42 PM, Tom Kralidis tomkrali...@gmail.com wrote: Isn't pytz being picked up from https://github.com/qgis/QGIS/tree/master/python/ext-libs ? No, at least in my case the MetaSearch module bundled with the installer doesn't start correctly and is then signalled as corrupted, due to lack of the pytz dependency. I've tried unistalling and then reinstalling QGis 2.3, same situation. The other pre-installed Python plugins in apps\qgis-dev\python\plugins (fTools, etc.) seem to have no problem. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Errors with destinationCrsChanged and hasCrsTransformEnabledChanged signals
Hi everyone, i'm not able to connect to *destinationCrsChanged *and *hasCrsTransformEnabledChanged *signals from a map canvas, in a Python plugin. My code sample is: *self.canvas.destinationCrsChanged.connect( self.get_current_canvas_crs )* *self.canvas.hasCrsTransformEnabledChanged[bool].connect( self.get_on_the_fly_projection )* and an instance of error message, when loading the plugin, is: *AttributeError: 'QgsMapCanvas' object has no attribute 'destinationCrsChanged'* I've tried successfully, just to test, with two other signals for a QgsMapCanvas instance: *self.canvas.zoomLastStatusChanged[bool].connect( self.get_current_canvas_crs )* *self.canvas.layersChanged.connect( self.get_current_canvas_crs )* Perhaps the two signals with errors are not implemented in PyQGis? And in that case, are there any workaround? thanks, mauro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Fwd: A pipinstall plugin is possible? First: What's the difference between the the Osgeo4w Shell?
In my opinion, a much simpler and cleaner approach (at least from the point of view of a normal user), would be to allow, in QGis Windows (standalone installer), the user not to point to (or not install) an internal Python, but to refer to an external installation. For instance, to point to a Python installed via Python(x,y), where there is already a plenty of modules installed and it is very easy to install/update via pip/easy_install and so on. But I'm not sure if some Python modules are customized to be compatible with QGIS Windows interface: for instance, some months ago, I tried unsuccessfully to update, via copy-and-paste from the Python(xy) site packages, numpy to a more recent version than the one available in Qgis (don't remember if 1.8 or 2.0). mauro On Thu, Mar 6, 2014 at 10:48 AM, G. Allegri gioha...@gmail.com wrote: I don't know what's the ongoing progress on this topic but I think that a system for the dependencies management should be embedded inside QGIS. I'm not in favour for a plugin to do that. Having an integrated pip would be more transparent to the user and the plugin developers. The developer should only provide a requirements file which should be transparently managed by the QGIS' Python system. I heard that Nathan is working on something similar? giovanni 2014-03-05 11:32 GMT+01:00 Luca Mandolesi mandol...@gmail.com: Hi to all, I'm trying to realize a little plugin to install python modules on windows via pip. In first, I would like make a simple thing: Run get-pip.py inside the plugin but I encounter two different problem: What is the shell to call? (Please, don't mind If I point at dufour, is my qgis crushtest dummy ) subprocess.call('C:\\PROGRA~2\\QGISDU~1\\Osgeo4W.bat python get-pip.py') or subprocess.call('C:\Program Files (x86)\QGIS Dufour\OSGeo4W.bat python get-pip.py') Apparently they are the same, but if I install something through python inside one, I cannot import the module inside the other. So, what's the right way to call inside a python plugin the shell? I found also some problems in using subprocess on windows, and I'm developping using QProcess class. Second question: If I run subprocess.call('C:\Program Files (x86)\QGIS Dufour\OSGeo4W.bat python get-pip.py') I receive: Nothing distributions at all found fo install... So the solution are easy: distribute qgis with pip and easy_install inside, or install pip and easy_intall from shell as I did, then we can use the plugin as you check out in my screenshots: [0] So, if you have suggestions plese let me know. Best regards Luca [0] https://lh5.googleusercontent.com/-Z6xJHji33E8/UxURKBr1NpI/Drg/2XWnxf7q6fA/w1075-h604-no/testpipinstaller.PNG ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Fwd: A pipinstall plugin is possible? First: What's the difference between the the Osgeo4w Shell?
Hi Jurgen, On Thu, Mar 6, 2014 at 11:32 AM, Jürgen E. j...@norbit.de wrote: Python installed via Python(x,y), where there is already a plenty of modules installed and it is very easy to install/update via pip/easy_install and so on. http://trac.osgeo.org/osgeo4w/wiki/ExternalPythonPackages thanks, I will give it a try. mauro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] plugin requiring guiqwt
Hi all, I've created a tool in Python, that requires guiqwt for the interactive graphical definition of spline parameters. I would like to include it into a plugin of mine (for Qgis 1.8), that currently does not require any non-standard Python module. I don't know what could be the best way, mainly from the user point-of view, for managing the absence of this module in QGIS Python. Thanks for any suggestion, mauro ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer