[Qgis-user] pyqgis load error (Matthias Kuhn)

Matthias Kuhn matthias at opengis.ch
Tue Nov 10 08:04:24 PST 2015


git reset --hard

is a quite dangerous thing to do (but no worries, we can recover).

------------------------------------------
git checkout master
git reset --hard origin/master
------------------------------------------
should bring you back into a save state

Now first switch to a temporary branch to cherry-pick
------------------------------------------
git checkout -b test
git cherry-pick d4b30c3e2
------------------------------------------
And see if the error is fixed.

After that go back to master branch
------------------------------------------
git checkout master
------------------------------------------

Matthias


On 11/10/2015 04:48 PM, Eugenio Trumpy wrote:
> Hi Matthias,
>
> I tried:
> git reset --hard d4b3
>
> but I got many error on configuring with ccmake
>
> So I update git pull again, now I got the version:b57d5ab
> <https://github.com/qgis/QGIS/commit/b57d5ab>
>
> but the same error is present.
>
> Any other hints?
>
> Eugenio
>  
> > Hi Eugenio,
> >
> > Are you experienced enough with git to cherry-pick another commit and
> > check if that fixes your issue?
> >
> >
> https://github.com/m-kuhn/QGIS/commit/d4b30c3e2c8334d4576bb7de4f2859f4827365e0
> >
> > Regards,
> > Matthias
> >
> > On 11/10/2015 10:54 AM, Eugenio Trumpy wrote:
> > > Hi everybody,
> > >
> > > this morning I decided to compile qgis on my ubuntu 15.10 due to
> the fact
> > > that the version I had: 2.13.0-master - 2bb0cf9, had problem with
> > > grass process.
> > >
> > > So I update the code & ccmake && make && make install, I had no errors
> > > but launching
> > > qgis I have the error:
> > >
> > > Couldn't load PyQGIS.
> > > Python support will be disabled.
> > >
> > > getvalue() did not return a string
> > >
> > > Python version:
> > > 2.7.10 (default, Oct 14 2015, 16:09:02)
> > > [GCC 5.2.1 20151010]
> > >
> > > QGIS version:
> > > 2.13.0-Master 'Master', 452e61c
> > >
> > > Python path:
> > > ['/usr/local/share/qgis/python', u'/home/eugenio/.qgis2/python',
> > > u'/home/eugenio/.qgis2/python/plugins',
> > > '/usr/local/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/gtk-2.0',
> > > '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
> > > '/usr/lib/python2.7/dist-packages/wx-3.0-gtk2']
> > >
> > >
> > > Any hints on how to solve this problem?
> > >
> > >
> > > best
> > >
> > >
> > > Eugenio
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Help to improve QGIS rendering possibilities before Nov 30, 2015
http://www.opengis.ch/2015/11/02/qgis-crowdfunding-2-5d-rendering

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151110/20cd2e05/attachment.html>


More information about the Qgis-user mailing list