That looks like a mismatch of libraries from 0.8 and 0.9 ...
Have a look to which qgis_core and qgis_gui libraries do the core.so
and gui.so python modules link to:
ldd /home/geko/qgis/share/qgis/python/qgis/core.so
Martin
On 8/30/07, Luca Casagrande <[EMAIL PROTECTED]> wrote:
> Hi Martin,
> this
Hi Martin,
this is the output:
[EMAIL PROTECTED] ~ $ python
Python 2.4.4 (#1, Aug 13 2007, 15:41:20)
[GCC 4.1.1 (Gentoo 4.1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from qgis.core import *
Traceback (most recent call last):
File "", line 1, in ?
On 8/30/07, Luca Casagrande <[EMAIL PROTECTED]> wrote:
> Hi Martin and thank for your answer.
>
> With the current svn, qgis builds fine but, once started, it can't
> found python bindings.
Hi again,
to see where's the problem, fire up console and set PYTHONPATH variable:
export PYTHONPATH=(qgis_
Hi Martin and thank for your answer.
With the current svn, qgis builds fine but, once started, it can't
found python bindings.
This is a part of configuration and install:
[..] From cmake .
-- Found GRASS: /usr/grass-6.2.2 (6.2.2)
-- Python libraries found
-- Python bindings enabled
-- Found Q
On 8/29/07, Luca Casagrande <[EMAIL PROTECTED]> wrote:
> Hello everybody
>
> Got some trouble building 0.9 Preview..it seem related to sip:
>
> /home/geko/qgis0.9.0Preview1/python/gui/qgsmapcanvasmap.sip: In
> function 'sipWrapperType* sipSubClass_QgsMapCanvasMap(void**)':
> /home/geko/qgis0.9.0Pre
Hello everybody
Got some trouble building 0.9 Preview..it seem related to sip:
/home/geko/qgis0.9.0Preview1/python/gui/qgsmapcanvasmap.sip: In
function 'sipWrapperType* sipSubClass_QgsMapCanvasMap(void**)':
/home/geko/qgis0.9.0Preview1/python/gui/qgsmapcanvasmap.sip:9: error:
cannot dynamic_cast