[Qgis-developer] Update startup tips

2015-10-26 Thread Anita Graser
Hi, Just updated to the newest version which brought back the startup tips screen. There, I noticed that we have a tip explaining the different parts of the QGIS project which I think is outdated. Here's my suggestion for an update: https://github.com/qgis/QGIS/pull/2400 QGIS Application -->

Re: [Qgis-developer] Ubuntu vivid QGIS 2.12 - metadata file missing for many plugins -> "corrupted" message

2015-10-26 Thread kimaidou
Subject "closed", since it was just a broken permission done while upgrading QGIS. Solution : sudo chmod 755 -R .qgis2/python/plugins 2015-10-25 20:00 GMT+01:00 kimaidou : > Hi all > > I have just upgraded QGIS to 2.12 on my Ubuntu Vivid via the official QGIS > repository (

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Luigi Pirelli
Hi Mathias seems related with this your commit about Python3 compatbility cd0eb05deddc610a1a79c40163504efddfe3da3a src/python/qgspythonutilsimpl.cpp - if ( !PyString_Check( obResult ) ) + if ( !PyUnicode_Check( obResult ) ) TRACEBACK_FETCH_ERROR( "getvalue() did not return a string" );

Re: [Qgis-developer] Distance calculation accuracy ?

2015-10-26 Thread Richard Duivenvoorde
On 26-10-15 08:48, kimaidou wrote: > Hi all > > Someone reported to me an issue with $length distance calculation and > the "Distance" map tool. It seems to him QGIS was not precise enough > compared to field data collection (about 10% or worst discrepency) > > I remember reading some

Re: [Qgis-developer] Ubuntu vivid QGIS 2.12 - metadata file missing for many plugins -> "corrupted" message

2015-10-26 Thread Luigi Pirelli
could be an installation script problem ? Luigi Pirelli ** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Elance: https://www.elance.com/s/edit/luigipirelli/ * GitHub: https://github.com/luipir

Re: [Qgis-developer] r.to.vect issues

2015-10-26 Thread Giovanni Manghi
> Hi all. > The module is giving me trouble: > * when used in the grass plugin, I get > > r.to.vect input=asp_recl@a_user output=asp_recl type=area -s > Estrazione delle aree in corso ... > Module crashed or killed > > * when used through Processing, the resulting polygonms have plenty of >

[Qgis-developer] Distance calculation accuracy ?

2015-10-26 Thread kimaidou
Hi all Someone reported to me an issue with $length distance calculation and the "Distance" map tool. It seems to him QGIS was not precise enough compared to field data collection (about 10% or worst discrepency) I remember reading some discussions here about wrong distance calculations in some

Re: [Qgis-developer] r.to.vect issues

2015-10-26 Thread Paolo Cavallini
Il 26/10/2015 08:37, Giovanni Manghi ha scritto: >> * when used in the grass plugin, I get >> >> r.to.vect input=asp_recl@a_user output=asp_recl type=area -s >> Estrazione delle aree in corso ... >> Module crashed or killed >> >> * when used through Processing, the resulting polygonms have plenty

Re: [Qgis-developer] Plugin Statist missing dep?

2015-10-26 Thread Paolo Cavallini
Il 21/10/2015 11:19, Paolo Cavallini ha scritto: > $ aptitude show python-matplotlib > Pacchetto: python-matplotlib > Stato: installato > Installato automaticamente: sì > Versione: 1.5.0~rc2-1 Apparently found: http://hub.qgis.org/issues/13524#note-1 Seems an easy fix. Ticket opened:

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-26 Thread Alessandro Pasotti
2015-10-24 10:51 GMT+02:00 Paolo Cavallini : > Il 23/10/2015 21:04, Hugo Mercier ha scritto: > > Hi, > > I also like the idea of a list dedicated to plugins and plugin > development. > > Maybe this could be integrated into plugins.qgis.org. > elpaso, how do you feel about

[Qgis-developer] XYZ_coordinates Plugin

2015-10-26 Thread Paulo Pires
Hello, This is my first plugin: *XYZ_coordinates Plugin* /The XYZ_coordinates is a QGIS python plugin that allows edit X, Y and Z coordinates from 3D geometry (shapefile source). The input data required are a vector layer with points, lines and polygons with elevation (3D) values from shapefile

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Matthias Kuhn
Do you have any evidence that it's the PyUnicode_Check? I think that should be supported by Python 2.7 as well. The other error by Richard from IRC (PyUnicode_AsUTF8) makes more sense, since it's not supported by 2.7 but it should be ifdef'd, strange that this happens. Maybe re-running cmake

[Qgis-developer] OSGEO4W QGIS 2.12.0 crash on closing QGIS - ntdll.dll error

2015-10-26 Thread Jakob Lanstorp
Anyone have a working OSGEO4W QGIS 2.12.0. When I close QGIS it crashes creating a windows dump file with the error: "symbols could not be loaded for ntdll.dll" Dump file by Windows debugging tools: Loading Dump File [C:\Users\JAL\AppData\Local\Temp\qgis-20151026-140430-7864-4176-c

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Richard Duivenvoorde
On 26-10-15 10:32, Luigi Pirelli wrote: > Hi Mathias > > seems related with this your commit about Python3 compatbility > > cd0eb05deddc610a1a79c40163504efddfe3da3a > > src/python/qgspythonutilsimpl.cpp > - if ( !PyString_Check( obResult ) ) > + if ( !PyUnicode_Check( obResult ) ) >

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Geo DrinX
Thank you Victor for help. I inserted your name in the header of my next "GEarthView.py 3.0 Cesium" source: import ext-libsEnrico Ferreguti Victor Olaya With your help (and Enrico) I definitively solved :) A presto Roberto

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Hugo Mercier
Hi, Related to this problematic (and not specific to processing), should the future 3.0 version of QGIS be a good opportunity to review a little bit the plugin management system ? I am thinking of: using pip to manage plugins. This would have some advantages : - allow a plugin to depend on

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Luigi Pirelli
Python 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] on linux2 and Python 3.4.3+ (default, Oct 14 2015, 16:03:50) [GCC 5.2.1 20151010] on linux Luigi Pirelli ** * LinkedIn:

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Alessandro Pasotti
2015-10-26 18:16 GMT+01:00 Hugo Mercier : > Hi Alessandro, > > On 26/10/2015 17:50, Alessandro Pasotti wrote: > > > Hello Hugo, > > > > IMHO using setuptools and pip it's a good idea, it does support > > download and install from several protocols (git included) out of

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread geodrinx
Sure, the problem of dependences needs to be solved in python QGIS. But, in the meantime, sure (also) that I (or, better We of GEarthView team :) have solved. Only, you need to wait my next GEarthView 3.0 version ( "Cesium" named :) A presto ! Roberto Inviato da iPhone > Il giorno

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Alessandro Pasotti
2015-10-26 16:31 GMT+01:00 Hugo Mercier : > Hi, > > Related to this problematic (and not specific to processing), should the > future 3.0 version of QGIS be a good opportunity to review a little bit > the plugin management system ? > > I am thinking of: using pip to

Re: [Qgis-developer] QGIS DB Manager - Execute SQL

2015-10-26 Thread Giuseppe Sucameli
Hi Spencer, I'm moving the thread to qgis-dev ML. Instead of using the postgis_utils.py module, just import db_manager/db_plugins/postgis/connector.py and create an instance of PostGisDBConnector. That class allows you to do everything you need, even run a sql query. Here's a code snippet

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-10-26 Thread Matthias Kuhn
Hi Luigi, What's the python version on your system? Matthias On 10/26/2015 10:32 AM, Luigi Pirelli wrote: > Hi Mathias > > seems related with this your commit about Python3 compatbility > > cd0eb05deddc610a1a79c40163504efddfe3da3a > > src/python/qgspythonutilsimpl.cpp > - if ( !PyString_Check(

Re: [Qgis-developer] Plugin Dependencies

2015-10-26 Thread Hugo Mercier
Hi Alessandro, On 26/10/2015 17:50, Alessandro Pasotti wrote: > Hello Hugo, > > IMHO using setuptools and pip it's a good idea, it does support > download and install from several protocols (git included) out of the > box, it also support dependencies and keywords licence tags, I'm not > sure