Re: Bug#740610: qgis: Fails to load Python

2014-03-11 Thread Paolo Cavallini
Il 03/03/2014 22:20, Sebastiaan Couwenberg ha scritto:

> The experimental repository is marked as NotAutomatic in the Release
> file, so you need to explicitly install packages from experimental.

Thanks a lot, that fixed it.
I still do not understand why libqgissqlanyconnection2.2.0:is marked as
orphan,
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#740610: qgis: Fails to load Python

2014-03-03 Thread Sebastiaan Couwenberg
Hi Paolo,

On 03/03/2014 04:17 PM, Paolo Cavallini wrote:
> Just finished and cleaned up my installation from exp. [...]
> ===
> I then get an error:
> ===
> Couldn't load PyQGIS.
> Python support will be disabled.
> 
> 
> Traceback (most recent call last):
>   File "", line 1, in
> ImportError: No module named qgis.core
> 
> [...]
> ===
> In fact, something should be wrong:
> ===
> # deborphan
> libqgispython2.2.0
> libqgissqlanyconnection2.2.0
> ===
> Hope this helps.
> Thanks.
> 
> [...]
> 
> Versions of packages qgis recommends:
> pn  python-qgis
> ii  qgis-plugin-globe  2.2.0-1~exp1
> ii  qgis-plugin-grass  2.2.0-1~exp1

libqgispython2.2.0 only gets installed as a dependency of python-qgis,
but this package is not installed on your system.

Installing python-qgis should fix your issue.

python-qgis is installed as a dependency of qgis by default unless
you've disabled automatic installation of Recommends in apt.

But when you install the 2.2.0-1~exp1 packages from experimental while
already having the 2.0.1-2 packages from unstable installed,
python-qgis is not automatically upgraded.

The experimental repository is marked as NotAutomatic in the Release
file, so you need to explicitly install packages from experimental.

We can force the upgrade of python-qgis together with qgis by
recommending the same version as qgis, but that is only relevant for
experimental. Once QGIS 2.2 hits unstable the 2.0 packages from unstable
will all be upgraded.

Kind Regards,

Bas

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#740610: qgis: Fails to load Python

2014-03-03 Thread Paolo Cavallini
Package: qgis
Version: 2.2.0-1~exp1
Severity: important

Dear Maintainer,
Just finished and cleaned up my installation from exp. This is the
current state:
===
# aptitude search qgis
p   libqgis-analysis2.0.1 - QGIS
- shared libraries (libqgis-analysis)
i A libqgis-analysis2.2.0 - QGIS
- shared libraries (libqgis-analysis)
p   libqgis-core2.0.1 - QGIS
- shared libraries (libqgis-core)
i A libqgis-core2.2.0 - QGIS
- shared libraries (libqgis-core)
p   libqgis-dev   - QGIS
- development files
p   libqgis-gui2.0.1  - QGIS
- shared libraries (libqgis-gui)
i A libqgis-gui2.2.0  - QGIS
- shared libraries (libqgis-gui)
p   libqgis-networkanalysis2.0.1  - QGIS
- shared libraries (libqgis-networkanalysis)
i A libqgis-networkanalysis2.2.0  - QGIS
- shared libraries (libqgis-networkanalysis)
p   libqgisgrass2.0.1 - QGIS
- shared libraries (libqgisgrass)
i A libqgisgrass2.2.0 - QGIS
- shared libraries (libqgisgrass)
p   libqgispython2.0.1- QGIS
- shared libraries (libqgispython)
i   libqgispython2.2.0- QGIS
- shared libraries (libqgispython)
p   libqgissqlanyconnection2.0.1  - QGIS
- shared libraries (libqgissqlanyconnection)
i   libqgissqlanyconnection2.2.0  - QGIS
- shared libraries (libqgissqlanyconnection)
p   python-qgis   -
Python bindings to QGIS
p   python-qgis-common-
Python bindings to QGIS - architecture-independent files
v   python2.7-qgis-

i   qgis  -
Geographic Information System (GIS)
p   qgis-api-doc  - QGIS
API documentation
i   qgis-common   - QGIS
- architecture-independent data
v   qgis-dev  -

i   qgis-mapserver- QGIS
mapserver
i   qgis-plugin-globe - OSG
globe plugin for QGIS
i   qgis-plugin-globe-common  - OSG
globe plugin for QGIS - architecture-independent data
i   qgis-plugin-grass -
GRASS plugin for QGIS
i   qgis-plugin-grass-common  -
GRASS plugin for QGIS - architecture-independent data
i   qgis-providers-
collection of data providers to QGIS
i   qgis-providers-common -
collection of data providers to QGIS - architecture-independent files
p   qgis-sqlanywhere  - QGIS
sql anywhere plugin and provider
===
I then get an error:
===
Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in
ImportError: No module named qgis.core


Python version:
2.7.6 (default, Feb 26 2014, 00:36:41)
[GCC 4.8.2]

QGIS version:
2.2.0-Valmiera 'Valmiera', exported

Python path:
['/usr/share/qgis/python', u'/home/paolo/.qgis2/python',
u'/home/paolo/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
===
In fact, something should be wrong:
===
# deborphan
libqgispython2.2.0
libqgissqlanyconnection2.2.0
===
Hope this helps.
Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CT