[Qgis-developer] crash when accessing geometry from Python console

2015-06-24 Thread Bernhard Ströbl
Hi everybody, I try to do the following from the Python console: g=iface.activeLayer().selectedFeatures()[0].geometry() returns a QgsGeometry objekt but as soon as I want to do anything with it QGIS crashes (layer is a memory line layer but a PostGIS linestring layer behaves the same). Any requ

Re: [Qgis-developer] More visual changelog entries

2015-06-24 Thread Tim Sutton
Hi All > On 24 Jun 2015, at 17:19, Richard Duivenvoorde wrote: > > On 24-06-15 17:14, Andreas Neumann wrote: >> Hi Richard, >> >> I think you just looked on the 2.8 entries. I worked on the 2.10 entries. >> >> Here are my pending 2.10 entries: >> http://changelog.qgis.org/qgis/2.10/pending-en

[Qgis-developer] Dsólo fe la película información y

2015-06-24 Thread valenty gonzalez
Deyy gov y ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-24 Thread Tom Chadwin
I already had a similar get_qgis_app() function, but I was only using it to instantiate QgsApplication in tests which I thought had QIcon or QPixmap functionality. Adding it to all other tests has solved the problem. Thanks so much for your patience. -- View this message in context: http://osge

Re: [Qgis-developer] LayerBoard plugin - edit project layers properties while drinking coffea !

2015-06-24 Thread kimaidou
I meant version 0.4, not 0.5 (too much excitment) By the way, thanks to all who have given me ideas and helped me figure out how to use some part of the QGIS api. 2015-06-24 18:45 GMT+02:00 kimaidou : > Hi all, > > I am excited to announce the new version 0.5 of my LayerBoard plugin I > started d

[Qgis-developer] LayerBoard plugin - edit project layers properties while drinking coffea !

2015-06-24 Thread kimaidou
Hi all, I am excited to announce the new version 0.5 of my LayerBoard plugin I started during Nodebo Developper Meeting. It is still experimental but begins to have the features I was alway looking for when dealing with complex projects. Please test it and report issues, or propose Pull requests

Re: [Qgis-developer] Qgis 91e44ea crash browsing GRASS 7 vector

2015-06-24 Thread Radim Blazek
On Mon, Jun 22, 2015 at 10:23 AM, Radim Blazek wrote: > Hi Roy, > > the bug is fixed in OSGeo4w qgis-dev-2.9.0-104. Apart from browsing > and displaying GRASS data you should be able to import data to GRASS > in the browser with drag and drop. There are still some issues with > import which I am t

Re: [Qgis-developer] More visual changelog entries

2015-06-24 Thread Richard Duivenvoorde
On 24-06-15 17:14, Andreas Neumann wrote: > Hi Richard, > > I think you just looked on the 2.8 entries. I worked on the 2.10 entries. > > Here are my pending 2.10 entries: > http://changelog.qgis.org/qgis/2.10/pending-entry/list/ duh.. yes yes sorry sorry :-( And indeed there are more pending a

Re: [Qgis-developer] More visual changelog entries

2015-06-24 Thread Andreas Neumann
Hi Richard, I think you just looked on the 2.8 entries. I worked on the 2.10 entries. Here are my pending 2.10 entries: http://changelog.qgis.org/qgis/2.10/pending-entry/list/ Andreas On 24.06.2015 17:12, Richard Duivenvoorde wrote: On 24-06-15 16:49, Andreas Neumann wrote: I created a few

Re: [Qgis-developer] More visual changelog entries

2015-06-24 Thread Richard Duivenvoorde
On 24-06-15 16:49, Andreas Neumann wrote: > I created a few more unapproved visual changelog entries (new and updated). > > Which QGIS devs have the power to approve these? Is it only Tim, or are > there other QGIS devs who can do it as well? > > There are still a few entries that would need some

[Qgis-developer] More visual changelog entries

2015-06-24 Thread Andreas Neumann
Hi, I created a few more unapproved visual changelog entries (new and updated). Which QGIS devs have the power to approve these? Is it only Tim, or are there other QGIS devs who can do it as well? There are still a few entries that would need some more descriptive text and/or screenshots - e

[Qgis-developer] Visual changelog: impossible to update an entry

2015-06-24 Thread Andreas Neumann
Hi, I wanted to update this entry http://changelog.qgis.org/qgis/2.10/entry/dxf-export-improvements/update/ but get a 500 error code. The only difference to other entries is that I added an image credit. Maybe this breaks the system? Do I have to delete and recreate it without the image cred

Re: [Qgis-developer] Change vector layer data source

2015-06-24 Thread Andreas Neumann
Hi Nathan, So if it is only accessible to programmers then it should be moved into the category "Programmability". Currently, it is listed under Plugins. It would be cool if someone who knows could write some code snippet for this entry to explain how to use it. Thanks for letting me know,

Re: [Qgis-developer] Change vector layer data source

2015-06-24 Thread Nathan Woodrow
Hey Andreas, That is a API only change the moment for vector layers only. There was a bug in the method which Nyall has fixed in the last few days so you might be on a older version. Regards, Nathan On Wed, Jun 24, 2015 at 10:06 PM, Andreas Neumann wrote: > Hi, > > I am working on the Visual

[Qgis-developer] Change vector layer data source

2015-06-24 Thread Andreas Neumann
Hi, I am working on the Visual changelog for QGIS 2.10 and I came across http://changelog.qgis.org/qgis/2.10/entry/allow-changing-vector-layer-data-source/update/ However, this does not work for me, or I can't figure it out how to change a vector data source. Also - does it only work for fi

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-24 Thread Akbar Gumbira
I don't know the code base you're working on. I think what you need to do is to narrow down which test that produces that error. You can split the tests like binary search or whatever method you like (running the tests for each package etc). In InaSAFE, for testing purposes, there's a handy functio

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-24 Thread Tom Chadwin
So Google has told me repeatedly. My issues are: - I have not previously done this because the plugin works fine in QGIS, and this issue has only shown up in tests - I don't know how (or where) to instantiate QApplication (or QgsApplication?) -- View this message in context: http://osgeo-org.

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-24 Thread Akbar Gumbira
The message says it all. You must instantiate QApplication before instantiating QPaintDevice object or any object from classes inherited from QPaintDevice. Regards On Wed, Jun 24, 2015 at 4:06 PM, Tom Chadwin wrote: > I've got the build environment up now, I think - many thanks, all. However, >

[Qgis-developer] QDataStream reading from QProcess or stdin

2015-06-24 Thread Radim Blazek
Does anybody have experience with QDataStream reading from QProcess or QFile.open(stdin,QIODevice::ReadOnly )? At the beginning I naively thought that it just works cross platform. Looking closer, it does not seem so obvious, see also [1][2]. What I am observing (currently on Linux) is that if ther

Re: [Qgis-developer] Use the style tab widget in a Python plugin

2015-06-24 Thread kimaidou
Hi Régis Thanks for your answer. I already done it, this way : https://github.com/3liz/QgisLayerBoardPlugin/commit/c212b42af4ee2b73b4a087d7f8fda9b3dfd823e3 Basically I am using the QgsRendererV2PropertiesDialog, and then use its method "apply" I will release a new version today. Now I need to f

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-24 Thread Tom Chadwin
I've got the build environment up now, I think - many thanks, all. However, does anyone know how I can get rid of the following test fail: QPixmap: Must construct a QApplication before a QPaintDevice I don't see QApplication instantiated anywhere. I'm not sure how to get past this, since the fail

Re: [Qgis-developer] Use the style tab widget in a Python plugin

2015-06-24 Thread Régis Haubourg
Hi Michael , you can have a look to Mask plugin code, we embed a layer styling window in main GUI. Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Use-the-style-tab-widget-in-a-Python-plugin-tp5212511p5212616.html Sent from the Quantum GIS - Developer mailing

Re: [Qgis-developer] Extended QWC

2015-06-24 Thread Régis Haubourg
Hi, great work ! I noticed an issue when changing streetview panel size, street view image is not redimensionned (under chrome at least). Do you redistribute your sources and packages somewhere? I aw you plan to work on Lizmap later, can you tell us a bit more? Cheers Régis -- View this

Re: [Qgis-developer] Zoom in more than 1:2,256 borken

2015-06-24 Thread Yves Jacolin
On Tuesday, June 23, 2015 13:54:38 Régis Haubourg wrote: > Hi Yves, > any project scales defined? I was tricked by this once.. > Cheers > Régis > @Régis: I will double check with a fresh project. But as I don't have any problem with QGIS 2.8 I though it was not a project issue. @sandro: it was