Re: [Qgis-user] sip-api-11.2 and qtbase-abi-5-5-1 prevent installing qgis 2.99 nightly on kde neon / ubuntu 16.04

2017-12-30 Thread Andre Joost

Am 31.12.2017 um 02:19 schrieb Jason Paul Joines:


#

 I also have a newer version of python-sip, which is supposed to
provide sip-api-11.2:

# dpkg -l python-sip
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version
Architecture   Description
+++-==-==-==-=

ii  python-sip 4.19.2+dfsg-1+16.04+xenial+bui
amd64  Python/C++ bindings generator runtime
library


I guess the newer version spoils your installation. My Xenial 
installation is build against python-sip 4.17 from the main ubuntu repo, 
and works fine.


It might be that python-sip 4.19.2 includes a different version of 
sip-api, which is of no use for you.


Try to downgrade python-sip, and libqt5core5a as well, which comes as 
5.5.1 from the main repo for me.


If KDE Neon does not provide it, try to force the main ubuntu repo version.

HTH,
Andre Joost


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] sip-api-11.2 and qtbase-abi-5-5-1 prevent installing qgis 2.99 nightly on kde neon / ubuntu 16.04

2017-12-30 Thread Jason Paul Joines
I am running KDE Neon User Edition 5.11.4 on the amd64 version of 
Ubuntu 16.04.3.  I would like to test the nightly build of QGIS 2.99, but 
cannot install it due to dependency problems.  In particular, it seems 
like the problem is that the virtual packages sip-api-11.2 and 
qtbase-abi-5-5-1 are not available.


I am trying to install via these repositories:

deb http://qgis.org/ubuntugis-nightly xenial main
deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial 
main


I purged my existing QGIS (2.18.5) and GRASS versions before 
attempting the install.  First it seems like the install does not attempt 
to install depedencies:


# apt-get install qgis
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qgis : Depends: libqgis-app2.99.0 but it is not going to be installed
Depends: libqgis-gui2.99.0 but it is not going to be installed
Depends: python-qgis (= 
1:2.99.0+git20171229+63c19256+24xenial-ubuntugis) but it is not going to 
be installed
Depends: qgis-providers (= 
1:2.99.0+git20171229+63c19256+24xenial-ubuntugis) but it is not going to 
be installed

Recommends: qgis-plugin-grass but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
#

I checked held packages and only have FireFox held.  I assume that 
is not the problem with QGIS:


# dpkg -l | grep '^h'
hi  firefox 
1:56.0+build6-0ubuntu0.17.04.1 amd64 
Safe and easy web browser from Mozilla

#

Then I specified the unmet dependencies to the installer, but have 
problems with unmet dependencies of the QGIS dependencies:


# apt-get install qgis libqgis-app2.99.0 libqgis-gui2.99.0 python-qgis 
qgis-providers

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libqgis-app2.99.0 : Depends: libqt5scintilla2-12v5 (>= 2.8.4) but it is 
not going to be installed
 libqgis-gui2.99.0 : Depends: libqt5scintilla2-12v5 (>= 2.8.4) but it is 
not going to be installed
 python-qgis : Depends: python3-pyqt5.qsci but it is not going to be 
installed
   Depends: libqt5scintilla2-12v5 (>= 2.8.4) but it is not 
going to be installed

   Depends: sip-api-11.2
 qgis-providers : Depends: libqt5scintilla2-12v5 (>= 2.8.4) but it is not 
going to be installed

  Depends: qtbase-abi-5-5-1
E: Unable to correct problems, you have held broken packages.
#

I specified those dependencies as well:

# apt-get install qgis libqgis-app2.99.0 libqgis-gui2.99.0 python-qgis 
qgis-providers libqt5scintilla2-12v5 python3-pyqt5.qsci sip-api-11.2 
qtbase-abi-5-5-1

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package qtbase-abi-5-5-1 is a virtual package provided by:
  libqt5core5a 5.5.1+dfsg-16ubuntu7.5 [Not candidate version]
  libqt5core5a 5.5.1+dfsg-16ubuntu7 [Not candidate version]

Package sip-api-11.2 is a virtual package provided by:
  python-sip 4.17+dfsg-1build1 [Not candidate version]

E: Package 'sip-api-11.2' has no installation candidate
E: Package 'qtbase-abi-5-5-1' has no installation candidate
#

This seems to suggest that the underlying problem is with the 
packages sip-api-11.2 and qtbase-abi-5-5-1.  The latter is supposed to be 
supplied by libqt5core5a.  I have that package installed, but a newer 
version:


# dpkg -l libqt5core5a
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version 
Architecture   Description

+++-==-==-==-=
ii  libqt5core5a:amd64 
5.9.3+dfsg-0neon+16.04+xenial+ amd64  Qt 5 core 
module

#

I also have a newer version of python-sip, which is supposed to 
provide sip-api-11.2:


# dpkg -l python-sip
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tr

Re: [Qgis-user] Presets in Layers Panel

2017-12-30 Thread Saber Razmjooei
Hi Lene,

You need to add a new Style. Each style will be then attached to a preset.

In your layer tree, right-click on the layer you want to change the style,
Styles > Add
Then, go to properties and set the style you want. Once the style is done,
you can create the preset. Repeat the above for each preset/theme.

Hope that helps.

Regards
Saber


On 30 December 2017 at 08:54, Lene Fischer  wrote:

> Hi Nyall,
>
> You can change the setting for a layer eg. Color and then make a preset.
> So if I have a layer and I want to present it in 3 different
> colors/classifications
> How would you then suggest I make 3 different presentations ?
> Kind regards
> Lene
>
>
> Lene Fischer
> -Original Message-
> From: Nyall Dawson [mailto:nyall.daw...@gmail.com]
> Sent: 29. december 2017 23:46
> To: Lene Fischer
> Cc: qgis-user
> Subject: Re: [Qgis-user] Presets in Layers Panel
>
> On 30 December 2017 at 08:07, Lene Fischer  wrote:
> >
> > Hi,
> >
> > I´m trying to use the ‘Preset’ function in the Layers Panel.
> >
> > But I can only add one preset and then ‘Add Preset’ is greyed out.
> >
> >
> > It might be me who use it wrong, but could I get someone to try it out
> before I file a ticket.
>
> Yep, you're using it wrong! :)
>
> Think of creating presets like a "snapshot" of the current configuration.
> The action is disabled if the current state already matches an existing
> preset. So you need to make some change to the configuration (e.g. toggling
> some layers), and then you'll be allowed to create another preset.
>
> Nyall
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Presets in Layers Panel

2017-12-30 Thread Lene Fischer
Hi Nyall,

You can change the setting for a layer eg. Color and then make a preset.
So if I have a layer and I want to present it in 3 different 
colors/classifications
How would you then suggest I make 3 different presentations ?
Kind regards
Lene


Lene Fischer
-Original Message-
From: Nyall Dawson [mailto:nyall.daw...@gmail.com] 
Sent: 29. december 2017 23:46
To: Lene Fischer
Cc: qgis-user
Subject: Re: [Qgis-user] Presets in Layers Panel

On 30 December 2017 at 08:07, Lene Fischer  wrote:
>
> Hi,
>
> I´m trying to use the ‘Preset’ function in the Layers Panel.
>
> But I can only add one preset and then ‘Add Preset’ is greyed out.
>
>
> It might be me who use it wrong, but could I get someone to try it out before 
> I file a ticket.

Yep, you're using it wrong! :)

Think of creating presets like a "snapshot" of the current configuration. The 
action is disabled if the current state already matches an existing preset. So 
you need to make some change to the configuration (e.g. toggling some layers), 
and then you'll be allowed to create another preset.

Nyall
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user