[Qgis-developer] problems with CSW client

2010-12-19 Thread Paolo Cavallini
Impossibile caricare il plugin cswclient a causa di errore chiamando il metodo
classFactory()

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 138, in 
startPlugin
plugins[packageName] = package.classFactory(iface)
AttributeError: 'module' object has no attribute 'classFactory'

Versione Python:
2.6.6 (r266:84292, Dec 12 2010, 15:29:35)
[GCC 4.4.5]

===

All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Memory provider saver and signals

2010-12-19 Thread Chris Crook
Hi All

I'm trying to find some good signals for identifying changes to data in a 
memory layer.

I've got a functional memory provider plugin, at the moment saving each memory 
layer to a GML file.  However I'm not sure I've got the best approach to 
identifying when data changes are made to memory layers so that I can identify 
when the layers need to be updated.

The best I've got so far is 
QObject.connect(layer, SIGNAL("committedAttributesDeleted(const 
QString &, const QgsAttributeIds )"),self.setProjectDirty2)
QObject.connect(layer, SIGNAL("committedAttributesAdded(const 
QString &, const QList &)"),self.setProjectDirty2)
QObject.connect(layer, SIGNAL("committedFeaturesDeleted(const 
QString &, const QgsFeatureIds & )"),self.setProjectDirty2)
QObject.connect(layer, SIGNAL("committedFeaturesAdded(const QString 
&, const QgsFeatureIds &)"),self.setProjectDirty2)
QObject.connect(layer, 
SIGNAL("committedAttributeValuesChanges(const QString &, const 
QgsChangedAttributesMap &)"),self.setProjectDirty2)

This works (at least for user changes - it won't identify changes made by other 
plugins, for example).  But it does seem a bit cumbersome.  

I'd hoped find something directly from the provider, since this would also 
identify programmatic data changes.  I thought I was onto something when I saw  

QgsDataProvider.dataChanged()

>From its name this seemed perfect, but the documentation states it is for a 
>different purpose - asynchronous tasks registering completion of data changes 
>:-(  And looking through the memory provider code, I can't see any signals 
>being emitted.

I'd also thought that using QgsVectorLayer.layerModified(bool) might have been 
a bit more succinct.  But that gets triggered more often than I want.  

Is there any obvious signal I'm missing?

Thanks
Chris
__

This message contains information, which is confidential and may be subject to 
legal privilege. 
If you are not the intended recipient, you must not peruse, use, disseminate, 
distribute or copy this message.
If you have received this message in error, please notify us immediately (Phone 
0800 665 463 or i...@linz.govt.nz) and destroy the original message.
LINZ accepts no responsibility for changes to this email, or for any 
attachments, after its transmission from LINZ.

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


Re: [Qgis-developer] qgis does not start on some windows machines

2010-12-19 Thread Paolo Cavallini
Il 19/12/2010 18:37, Giovanni Manghi ha scritto:
> does this helps?
> 
> http://forum.qgis.org/viewtopic.php?f=3&t=7135&p=14448&hilit=0xc0150002#p14448

I think so, thanks a lot!
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis does not start on some windows machines

2010-12-19 Thread Giovanni Manghi
does this helps?

http://forum.qgis.org/viewtopic.php?f=3&t=7135&p=14448&hilit=0xc0150002#p14448



On Sun, 2010-12-19 at 18:31 +0100, Paolo Cavallini wrote:
> Hi all.
> I have found during a course that on some machines qgis refused to start after
> installation, displaying a message:
> 
> "Applicazione non correttamente inizializzata (0xc0150002)"
> Fare clic su ok per chiudere l'applicazione.
> 
> (Application not correctly initialized (0xc0150002)
> Click on OK to close the application.)
> 
> This is not related tio the qgis version I try to install (same message for 
> 1.3, 1.4,
> 1.5 and 1.6, both standalone and osgeo4w).
> Any hint about further testing or possible solutions?
> Thanks.


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


[Qgis-developer] qgis does not start on some windows machines

2010-12-19 Thread Paolo Cavallini
Hi all.
I have found during a course that on some machines qgis refused to start after
installation, displaying a message:

"Applicazione non correttamente inizializzata (0xc0150002)"
Fare clic su ok per chiudere l'applicazione.

(Application not correctly initialized (0xc0150002)
Click on OK to close the application.)

This is not related tio the qgis version I try to install (same message for 
1.3, 1.4,
1.5 and 1.6, both standalone and osgeo4w).
Any hint about further testing or possible solutions?
Thanks.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] http://plugins.qgis.org/

2010-12-19 Thread Borys Jurgiel
Dnia niedziela 19 grudnia 2010 o 17:58:39 Paolo Cavallini napisał(a):
> Hi all.
> So http://plugins.qgis.org/ is online. What are the plans to make it
> working, adding authentication etc.?
> We are available for testing, adding our plugins etc.
> All the best.

Just to send a signal of life - I'm extremely busy closing a few 2010 
deadlines and have completely no free brain resources to participate in this 
great stage of plugin system refactoring :((

I'll do my best to come back to QGIS life at January 1st!
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] http://plugins.qgis.org/

2010-12-19 Thread Paolo Cavallini
Hi all.
So http://plugins.qgis.org/ is online. What are the plans to make it working, 
adding
authentication etc.?
We are available for testing, adding our plugins etc.
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugins starter plugin

2010-12-19 Thread Borys Jurgiel
Ok, I'm not able to contact the author, so I've decreased the version number 
and now is ok.

Dnia poniedziałek 13 grudnia 2010 o 19:48:50 Paolo Cavallini napisał(a):
> Apparently it has the usual mismatch between file name and tags: it keeps
> on asking to be upgraded.
> A bit annoying.
> All the best.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer