[Qgis-developer] new PluginManager: missing symbol

2013-06-10 Thread Bernhard Ströbl

Hi,

I compiled current master and upon startup I get the following error:

symbol lookup error: /opt/qgis-2.0.0/bin/qgis: undefined symbol: 
_ZN25QgsPluginManagerInterface16staticMetaObjectE


Am I missing something? How can I fix this?

Bernhard


__ Information from ESET Mail Security, version of virus signature 
database 8434 (20130610) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugin manager error related to Proxy

2013-06-10 Thread Nathan Woodrow
Hey Andreas,

Should be fixed now.

- Nathan



On Tue, Jun 11, 2013 at 4:22 PM, Andreas Neumann wrote:

> Hi,
>
> Unfortunately I cannot start the new plugin manager if a proxy is set.
>
> Here is my bug report:
>
> http://hub.qgis.org/issues/**8035 
>
> Borys - can you please have a look at it? Maybe a side-effect of the
> recent modifications that you can only see if the proxy is active?
>
> Thank you,
> Andreas
>
> --
> --
> Andreas Neumann
> Böschacherstrasse 10A
> 8624 Grüt (Gossau ZH)
> Switzerland
> __**_
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Plugin manager error related to Proxy

2013-06-10 Thread Andreas Neumann

Hi,

Unfortunately I cannot start the new plugin manager if a proxy is set.

Here is my bug report:

http://hub.qgis.org/issues/8035

Borys - can you please have a look at it? Maybe a side-effect of the 
recent modifications that you can only see if the proxy is active?


Thank you,
Andreas

--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Geopackage, Spatialite v4.1 QGIS v2.0

2013-06-10 Thread Alexander Bruy
Hi,

2013/6/11 Ted :
> For long time, I notice that spatiliate is kind of ignored (may be due to
> interest level) and never got the full attention of the developer. Even
> today, the only version supported is sptialite 3.8 in spite of v4.0 having
> some great features.

QGIS fully supports SpatiaLite 4.0, thanks to Sandro for his work on spatialite
provider.

-- 
Alexander Bruy
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Geopackage, Spatialite v4.1 QGIS v2.0

2013-06-10 Thread Ted
All,

Spatialite 4.1 released recently. As far as I understand, the proposed
OGC's GeoPackage is based on spatialite.

For long time, I notice that spatiliate is kind of ignored (may be due to
interest level) and never got the full attention of the developer. Even
today, the only version supported is sptialite 3.8 in spite of v4.0 having
some great features.

Is it possible to have a full support for spatialite in upcoming releases,
if not v2.0. This will give put QGIS in ahead in race. Really like to see
v4.1 supported out of the box in QGIS 2.0 is possible.

Then, when GeoPakage nears approval, QGIS can become a reference
implementation (with modification)

Cross fingers :)


regards
ted
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS 2.0 Release Date

2013-06-10 Thread Ted
Hi Tim

Thank you for the information.

Looking forward to this great release. Agree, better late than a buggy
release.


Regards
ted






On Fri, Jun 7, 2013 at 10:48 PM, Tim Sutton  wrote:

> Hi Ted
>
> At the moment the release looks like it will be delayed by at least
> 3-4 weeks - there are still around 80 blocker tickets and we had some
> last minute changes we wanted to incorporate into the 2.0 relelase. I
> will be posting a new release timeline early next week.
>
> Regards
>
> Tim
>
> On Fri, Jun 7, 2013 at 6:08 AM, Ted  wrote:
> > Hi,
> >
> > Its 7th June today and the (original) scheduled release date for QGIS v
> 2.0
> >
> > We are aware that, its been postponed due to multiples issues.
> >
> > Can you please define a new release date ?
> >
> >
> > Thanks
> >
> > ted
> >
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
>
>
> --
> Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
> ==
> Please do not email me off-list with technical
> support questions. Using the lists will gain
> more exposure for your issues and the knowledge
> surrounding your issue will be shared with all.
>
> Visit http://linfiniti.com to find out about:
>  * QGIS programming and support services
>  * Mapserver and PostGIS based hosting plans
>  * FOSS Consulting Services
> Skype: timlinux
> Irc: timlinux on #qgis at freenode.net
> ==
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Updated plugin missing from the "Get More"

2013-06-10 Thread Borys Jurgiel
Dnia poniedziałek, 10 czerwca 2013 o 17:03:49 Gary Sherman napisał(a):
> I updated my PinPoint plugin for the sip v2 API and uploaded it. It didn't
> show up in the "Get More" list until I changed my settings to show
> experimental plugins. PinPoint is not flagged as experimental in
> metadata.txt (experimental=False).
> 
> -gary

Did you experience any other problems? I must admit when I uploaded my plugins 
to the central repo, I had similar problems and an impession that something is 
cached on the way.

There was a bug in the installer that could sometimes mask valid plugins if 
there was another incompatible version of the same plugin around (installed 
locally or available in another repo). Your issue looks a bit different 
however... Anyway it's fixed in the recent commit and I don't see any other 
problems after lng tests with localhost as well as a remote static .xml 
file. All refreshing goes smooth.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SIP API Update merged. Attention plugin authors

2013-06-10 Thread Matthias Kuhn
I have been working on a fix for this today, which is open as a pull
request at the moment [1]

We have been discussing this on IRC today, Main points:
On the C++ side, there are "invalid" and "NULL" QVariants. On the python
side there is only "None", therefore "QPyNullVariant" has been
introduced. As we could not see a reason for returning an invalid
attribute (if it's set it's a valid value or NULL) and QPyNullVariant
does not integrate nicely with other python code (e.g. python json
module maps None to NULL, put complains on QPyNullVariant) we decided to
map a "NULL" QVariant to "None" ( An Invalid QVariant would be mapped to
the same, but as that should not be returned anyway, that should not
happen )

Apart from this, it also updates the attribute related (set /get/
delete) methods to raise KeyErrors if a key is not available (the
getters returned an invalid QVariant so something had to happen here and
this behaviour seems appropriate).

I'm by no means a SIP expert, but it works fine here and I think it
looks good. If somebody with appropriate knowledge could have a look at
these changes I am glad.
If there is no objection I'm going to merge this soon.

Cheers
Matthias

[1] https://github.com/qgis/Quantum-GIS/pull/646

On 09.06.2013 16:01, Victor Olaya wrote:
> I am checking the SEXTANTE adaptation to the new SIP API, and
> everything is fine. The only "strange" thing that I found is how null
> values are handled when they appear in a vector layer field. It seems
> that, in that case, a QVariant is still returned (particularly a
> QPyNullVariant object). Wouldn't it be better to return a Python None
> instead, so in all cases Python values are returned?
>
> Cheers
>
> 2013/6/9 Richard Duivenvoorde :
>> On 09-06-13 10:47, Nathan Woodrow wrote:
>>> Technically this can be done for smaller plugins like Borys said.
>>>   Something like:
>>
>> I think only for VERY small plugins. In the (not so very big plugins) I do
>> it was already getting messy.
>>
>> And by the why, a big thank you for all the great work and decisions being
>> done lately! I really think 2.0 will be great \o/
>>
>> Richard
>>
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Updated plugin missing from the "Get More"

2013-06-10 Thread Gary Sherman
I updated my PinPoint plugin for the sip v2 API and uploaded it. It didn't show 
up in the "Get More" list until I changed my settings to show experimental 
plugins. PinPoint is not flagged as experimental in metadata.txt 
(experimental=False).

-gary
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Open Source GIS Books:
 *http://locatepress.com
-Alaska Novel:
 *http://alaskana.co
-Geospatial Consulting & Hosting:
 *http://geoapt.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-





___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SIP API Update merged. Attention plugin authors and nightly dev users.

2013-06-10 Thread Borys Jurgiel
Dnia poniedziałek, 10 czerwca 2013 o 14:54:45 Nathan Woodrow napisał(a):
> Hey everyone,
> 
> You are now free to upload your new 2.0 API version of your plugins to the
> QGIS plugin repo. Remember to set qgisMinimumVersion and qgisMaximumVersion
> in your metadata.txt so that plugin repo and installer get the right
> version of the plugin.

Let me precise.

Only the qgisMinimumVersion is required.

QGIS assumes, that a usual plugin is compatible with that version and higher 
WITHIN one major version. So you set the minimum to 1.6, and the maximum is 
assumed to 1.99. You set the minimum to 2.0, and the maximum is 2.99. Etc.

There are two cases however, you could want to set the qgisMaximumVersion 
explicitly:

1. Set it lower than default. E.g. min=2.0 and max=2.3. Hardly useful, as we 
don't break API within one major version, so plugins for 2.0 should work with 
any 2.x. Also if you want to publish one version for QGIS 2.0-2.3 and a second 
for 2.4-2.99, you shouldn't use the qgisMaximumVersion. Instead, you can bump 
up the version of the second plugin. QGIS will always choose *the most recent* 
version with matching qgisMinimumVersion. So the higher version will go to 
QGIS>=2.4, and the lower to QGIS 2.0 - 2.3.

2. Set it higher than default. If your plugin is very simple and you want to 
maintain one dual-API version instead of two separate, you can set:
qgisMinimumVersion to 1.6
qgisMaximumVersion to 2.99

Please note "99" is the highest allowed value, so if you use a longer number, 
QGIS will either reject your plugin because of unclear version number or 
fallback to default.


Hmmm, can we write it down somewhere in the documentation?
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SIP API Update merged. Attention plugin authors

2013-06-10 Thread Radim Blazek
I am getting error on startup:
An error occured during execution of following code:
pyplugin_installer.instance().showPluginManagerWhenReady()
...
url = settings.value(key+"/url", "", type=unicode)
TypeError: QSettings.value(QString, QVariant defaultValue=QVariant()):
'type' is not a valid keyword argument

I have qt 4.6.3,  python-qt4  4.7.3, python-sip4 4.10.2. Form INSTALL:

Required build deps:
- Qt >= 4.4.0
Optional dependencies:
- for python support - SIP >= 4.8, PyQt >= must match Qt version, Qscintilla2

so it should be sufficient.

Radim

On Sat, Jun 8, 2013 at 1:35 PM, Nathan Woodrow  wrote:
> Hey all,
>
> The new SIP API has been merged now.  There are still a few things to clean
> up in some of the core plugins but it is merged for wider testing.   I don't
> expect to find any major issues.
>
> I have written a conversion guide here:
> https://gist.github.com/NathanW2/5734767
>
> Plugin authors could you take some time to update you plugins so they will
> be ready for 2.0 once it is released _however_ please don't upload the new
> 2.0 version of your new plugin to the QGIS plugin repo until I give you the
> go ahead as we need to do a update on the server so that 1.8 will not get
> the 2.0 plugins because they will not run in 1.8.
>
> I would recommend creating a branch in git with your new 2.0 version and be
> ready to upload it when I give the go ahead.
>
> Note: 1.8 plugins will not run in 2.0 without being updated to the new API
> syntax. 2.0 plugins will not work in 1.8.
>
> Users who live on the edge by running the dev build please just bare with us
> while we get this sorted out, shouldn't take too long.
>
> Email me if you have any issue.
>
> Regards,
> Nathan
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SIP API Update merged. Attention plugin authors

2013-06-10 Thread Nathan Woodrow
Hey Bernhard,

All PyQt functions are affected. QSqlQuery.Value will now return a native
Python type.

- Nathan


On Mon, Jun 10, 2013 at 11:03 PM, Bernhard Ströbl
wrote:

> Nathan,
>
> bear with me I have a really basic question concerning you mail and advice
> [1]. I use quite a lot of QtSql.QSqlQuerys in my plugins to retrieve data
> from a PostgreSQL database. The value() method currently returns a
> QVariant. What is it supposed to return in the future or are only QGIS
> methods affected by what you describe? In the latter case your advice in
> [1] can be very misleading telling people to remove all toString(), toInt()
> etc.
>
> Bernhard
>
> [1] 
> https://gist.github.com/**NathanW2/5734767<https://gist.github.com/NathanW2/5734767>
>
>
> Am 10.06.2013 14:51, schrieb Nathan Woodrow:
>
>> Hey everyone,
>>
>> You are
>>
>>
>> On Sat, Jun 8, 2013 at 9:35 PM, Nathan Woodrow > <mailto:madman...@gmail.com>> wrote:
>>
>> Hey all,
>>
>> The new SIP API has been merged now.  There are still a few things
>> to clean up in some of the core plugins but it is merged for wider
>> testing.   I don't expect to find any major issues.
>>
>> I have written a conversion guide here:
>> 
>> https://gist.github.com/**NathanW2/5734767<https://gist.github.com/NathanW2/5734767>
>>
>> Plugin authors could you take some time to update you plugins so
>> they will be ready for 2.0 once it is released _however_ please
>> don't upload the new 2.0 version of your new plugin to the QGIS
>> plugin repo until I give you the go ahead as we need to do a update
>> on the server so that 1.8 will not get the 2.0 plugins because they
>> will not run in 1.8.
>>
>> I would recommend creating a branch in git with your new 2.0 version
>> and be ready to upload it when I give the go ahead.
>>
>> Note: 1.8 plugins will not run in 2.0 without being updated to the
>> new API syntax. 2.0 plugins will not work in 1.8.
>>
>> Users who live on the edge by running the dev build please just bare
>> with us while we get this sorted out, shouldn't take too long.
>>
>> Email me if you have any issue.
>>
>> Regards,
>> Nathan
>>
>>
>>
>>
>> __**_
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>
>>
>> __ Information from ESET Mail Security, version of virus
>> signature database 8432 (20130610) __
>>
>> The message was checked by ESET Mail Security.
>> http://www.eset.com
>>
>>
> --
> Bernhard Ströbl
> Anwendungsbetreuer GIS
>
> Kommunale Immobilien Jena
> Am Anger 26
> 07743 Jena
>
> Tel.: 03641 49- 5190
> E-Mail: bernhard.stro...@jena.de
> Internet: www.kij.de
>
>
> Kommunale Immobilien Jena
> Eigenbetrieb der Stadt Jena
> Werkleiter: Dr. Götz Blankenburg
>
>
> __ Information from ESET Mail Security, version of virus signature
> database 8432 (20130610) __
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
>
> __**_
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-**developer<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SIP API Update merged. Attention plugin authors

2013-06-10 Thread Bernhard Ströbl

Nathan,

bear with me I have a really basic question concerning you mail and 
advice [1]. I use quite a lot of QtSql.QSqlQuerys in my plugins to 
retrieve data from a PostgreSQL database. The value() method currently 
returns a QVariant. What is it supposed to return in the future or are 
only QGIS methods affected by what you describe? In the latter case your 
advice in [1] can be very misleading telling people to remove all 
toString(), toInt() etc.


Bernhard

[1] https://gist.github.com/NathanW2/5734767


Am 10.06.2013 14:51, schrieb Nathan Woodrow:

Hey everyone,

You are


On Sat, Jun 8, 2013 at 9:35 PM, Nathan Woodrow mailto:madman...@gmail.com>> wrote:

Hey all,

The new SIP API has been merged now.  There are still a few things
to clean up in some of the core plugins but it is merged for wider
testing.   I don't expect to find any major issues.

I have written a conversion guide here:
https://gist.github.com/NathanW2/5734767

Plugin authors could you take some time to update you plugins so
they will be ready for 2.0 once it is released _however_ please
don't upload the new 2.0 version of your new plugin to the QGIS
plugin repo until I give you the go ahead as we need to do a update
on the server so that 1.8 will not get the 2.0 plugins because they
will not run in 1.8.

I would recommend creating a branch in git with your new 2.0 version
and be ready to upload it when I give the go ahead.

Note: 1.8 plugins will not run in 2.0 without being updated to the
new API syntax. 2.0 plugins will not work in 1.8.

Users who live on the edge by running the dev build please just bare
with us while we get this sorted out, shouldn't take too long.

Email me if you have any issue.

Regards,
Nathan




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer



__ Information from ESET Mail Security, version of virus signature 
database 8432 (20130610) __

The message was checked by ESET Mail Security.
http://www.eset.com



--
Bernhard Ströbl
Anwendungsbetreuer GIS

Kommunale Immobilien Jena
Am Anger 26
07743 Jena

Tel.: 03641 49- 5190
E-Mail: bernhard.stro...@jena.de
Internet: www.kij.de


Kommunale Immobilien Jena
Eigenbetrieb der Stadt Jena
Werkleiter: Dr. Götz Blankenburg


__ Information from ESET Mail Security, version of virus signature 
database 8432 (20130610) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] SIP API Update merged. Attention plugin authors and nightly dev users.

2013-06-10 Thread Nathan Woodrow
Hey everyone,

You are now free to upload your new 2.0 API version of your plugins to the
QGIS plugin repo. Remember to set qgisMinimumVersion and qgisMaximumVersion
in your metadata.txt so that plugin repo and installer get the right
version of the plugin.

An updated conversion guide is at
http://hub.qgis.org/wiki/quantum-gis/Python_plugin_API_changes_from_18_to_20

- Nathan


> On Sat, Jun 8, 2013 at 9:35 PM, Nathan Woodrow wrote:
>
>> Hey all,
>>
>> The new SIP API has been merged now.  There are still a few things to
>> clean up in some of the core plugins but it is merged for wider testing.
>> I don't expect to find any major issues.
>>
>> I have written a conversion guide here:
>> https://gist.github.com/NathanW2/5734767
>>
>> Plugin authors could you take some time to update you plugins so they
>> will be ready for 2.0 once it is released _however_ please don't upload the
>> new 2.0 version of your new plugin to the QGIS plugin repo until I give you
>> the go ahead as we need to do a update on the server so that 1.8 will not
>> get the 2.0 plugins because they will not run in 1.8.
>>
>> I would recommend creating a branch in git with your new 2.0 version and
>> be ready to upload it when I give the go ahead.
>>
>> Note: 1.8 plugins will not run in 2.0 without being updated to the new
>> API syntax. 2.0 plugins will not work in 1.8.
>>
>> Users who live on the edge by running the dev build please just bare with
>> us while we get this sorted out, shouldn't take too long.
>>
>> Email me if you have any issue.
>>
>> Regards,
>> Nathan
>>
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] SIP API Update merged. Attention plugin authors

2013-06-10 Thread Nathan Woodrow
Hey everyone,

You are


On Sat, Jun 8, 2013 at 9:35 PM, Nathan Woodrow  wrote:

> Hey all,
>
> The new SIP API has been merged now.  There are still a few things to
> clean up in some of the core plugins but it is merged for wider testing.
> I don't expect to find any major issues.
>
> I have written a conversion guide here:
> https://gist.github.com/NathanW2/5734767
>
> Plugin authors could you take some time to update you plugins so they will
> be ready for 2.0 once it is released _however_ please don't upload the new
> 2.0 version of your new plugin to the QGIS plugin repo until I give you the
> go ahead as we need to do a update on the server so that 1.8 will not get
> the 2.0 plugins because they will not run in 1.8.
>
> I would recommend creating a branch in git with your new 2.0 version and
> be ready to upload it when I give the go ahead.
>
> Note: 1.8 plugins will not run in 2.0 without being updated to the new API
> syntax. 2.0 plugins will not work in 1.8.
>
> Users who live on the edge by running the dev build please just bare with
> us while we get this sorted out, shouldn't take too long.
>
> Email me if you have any issue.
>
> Regards,
> Nathan
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer