Re: [QGIS-Developer] Share upload rights for plugin authors

2019-08-15 Thread Henrik Spångmyr
It worked now. Thanks!

Regards,
Henrik

Den tors 15 aug. 2019 kl 15:01 skrev Alessandro Pasotti :

>
>
> On Thu, Aug 15, 2019 at 1:16 PM josef k  wrote:
>
>> Hi All,
>>
>> We cannot figure out how to share upload rights for our plugin. I am
>> currently the only maintainer  (osgeo id "joskal") but we would like  to
>> have permission for  "henrikspa" to have upload rights as well.
>>
>> If it is not possible to share upload rights, can someone please help us
>> and set "henrikspa" as the maintainer for the midvatten plugin (
>> https://plugins.qgis.org/plugins/midvatten/)?
>>
>
> Done, try now.
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
> ___
> 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



-- 
Henrik Spångmyr
Midvatten AB
Borganäsvägen 46
784 33 Borlänge
Mobil: 070-5607879
Växel: 0243-87620
___
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] Share upload rights for plugin authors

2019-08-15 Thread Alessandro Pasotti
On Thu, Aug 15, 2019 at 1:16 PM josef k  wrote:

> Hi All,
>
> We cannot figure out how to share upload rights for our plugin. I am
> currently the only maintainer  (osgeo id "joskal") but we would like  to
> have permission for  "henrikspa" to have upload rights as well.
>
> If it is not possible to share upload rights, can someone please help us
> and set "henrikspa" as the maintainer for the midvatten plugin (
> https://plugins.qgis.org/plugins/midvatten/)?
>

Done, try now.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
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] Share upload rights for plugin authors

2019-08-15 Thread josef k
Hi All,

We cannot figure out how to share upload rights for our plugin. I am
currently the only maintainer  (osgeo id "joskal") but we would like  to
have permission for  "henrikspa" to have upload rights as well.

If it is not possible to share upload rights, can someone please help us
and set "henrikspa" as the maintainer for the midvatten plugin (
https://plugins.qgis.org/plugins/midvatten/)?

kind regards,
Josef
___
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] GSoC QGIS 3D Improvement: Week 11 Report

2019-08-15 Thread Ismail Sunni
Hi Nyall,

Thanks for your suggestions. I followed the code that you pointed out. It's
in this commit
https://github.com/ismailsunni/QGIS/commit/2a4caa41e23edfe183055863cee84de60e7b71b9

Unfortunately, it doesn't fix the problem. It still behaves exactly like
the previous approach. Perhaps I missed something?

Best regards.

On Thu, Aug 15, 2019 at 1:19 AM Nyall Dawson  wrote:

> On Thu, 15 Aug 2019 at 03:56, Ismail Sunni  wrote:
>
> > The billboard changes IF the previous billboard is not a symbol. But IF
> the previous billboard is a symbol, and I changed the symbol's properties
> (e.g. color, rotation, shape) the billboard stays the same.
> >
> > In my latest code (pushed by now), I set the billboard to use an
> external image (the success-kid.png) if the symbol's color is white (for
> debugging purpose).
> >
> > If I set the symbol to white, the billboard uses the success-kid as the
> billboard (no matter what is the previous billboard as expected).
> > If the previous symbol is the success-kid, then I changed the symbol's
> properties it will change as expected.
> > If the previous symbol is not the success-kid, then I changed the
> symbol's properties,  it won't change the billboard.
> >
> > When I close QGIS and reopen it, the billboard will show as expected.
> So, I think it's not an issue in saving and restoring the symbol.
>
> Looking over your branch, I'm almost certain it is.
>
> Try using QgsSymbolLayerUtils::symbolProperties to save to symbol to a
> string (see
> https://github.com/qgis/QGIS/blob/master/src/core/callouts/qgscallout.cpp#L237
> )
>
> and something like
>
> https://github.com/qgis/QGIS/blob/master/src/core/callouts/qgscallout.cpp#L261
> to restore.
>
> Nyall
>


-- 
Ismail Sunni
ismailsunni.wordpress.com
___
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] Bug with python macro on project load

2019-08-15 Thread Mario Baranzini
Bo's code works as expected, but even for me the traceback fails if there
are errors.

[image: image.png]

On Wed, 14 Aug 2019 at 22:13, Tim Sutton  wrote:

> Thanks Bo! @Mario can you confirm which behaviour you replicated? The
> exception when calling traceback.print_exception() failed
> or my dodgy code simply failing with a nice exception message as Bo
> demonstrated (which is expected behaviour).
>
> Regards
>
> Tim
>
>
> On 14 Aug 2019, at 20:25, Bo Victor Thomsen 
> wrote:
>
> Hi Tim !  (Greetings from Denmark :-)
>
> On Windows 8.1 64 bit and QGIS 3.8.1 64 bit:
>
> I've modified your python code a little bit:
> from qgis.core import QgsProject
> from qgis.utils import iface
>
> def openProject():
> layers = QgsProject.instance().mapLayersByName('kommune')
> layer = layers[0]
> iface.showAttributeTable(layer)
>
>
> def saveProject():
> pass
>
> def closeProject():
> pass
>
> It works after enabling macro's. (You'll have to change the layer name
> back to your original layer name)
>
> --
> Med venlig hilsen / Kind regards
>
> Bo Victor Thomsen
>
>
>
> Den 14-08-2019 kl. 17:21 skrev Tim Sutton:
>
> Hi
>
> Oh thanks for the feedback!
>
> Regards
>
> Tim
>
> On 14 Aug 2019, at 13:27, Mario Baranzini  wrote:
>
> Hi Tim,
> I have exactly the same error with QGIS 3.8.0 on Archlinux.
>
> Cheers
>
> On Wed, 14 Aug 2019 at 10:13, Tim Sutton  wrote:
>
>> Hi All
>>
>> I am running into a bug on macOS using QGIS 3.8 using the project load
>> python hook [1] and was curious:
>>
>> 1) Can anybody replicate this on other operating systems
>> 2) Does the macro run *after* layers have been loaded in the project or
>> before?  Former seems more logical to me but you should never assume to
>> much eh? :-)
>>
>> Thanks
>>
>> Tim
>>
>>
>>
>> [1] https://github.com/qgis/QGIS/issues/31235
>> —
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Ex Project chair:* QGIS.org 
>>
>> Visit http://kartoza.com to find out about open source:
>>
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>>
>> *Skype*: timlinux
>> *IRC:* timlinux on #qgis at freenode.net
>>
>> I'd love to connect. Here's my calendar link
>>  to make finding time easy.
>>
>> ___
>> 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
>
>
>
> --
> Mario Baranzini
> ma...@opengis.ch
> +41 (0)78 733 01 59 <+41787330159>
> [image: http://www.opengis.ch] 
>
>
> —
>
>
> 
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org 
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
>  to make finding time easy.
>
>
> ___
> QGIS-Developer mailing listqgis-develo...@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
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
>  to make finding time easy.
>
> ___
> 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



-- 
Mario Baranzini
ma...@opengis.ch
+41 (0)78 733 01 59 <+41787330159>
[image: http://www.opengis.ch] 
___
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