<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Marco<br>
<br>
Are you sure that you are testing the same thing.<br>
IIRC there are the following methods which can be easily mixed up:<br>
<br>
layer.changeAttributeValue()<br>
<br>
and<br>
<br>
layer.provider().changeAttributeValues()<br>
<br>
Best,<br>
Matthias<br>
<br>
<div class="moz-cite-prefix">On 05/27/2015 11:02 AM, marco bra
wrote:<br>
</div>
<blockquote
cite="mid:CAMw1TyZPOZHKG0-2e4TBO-aprr2N+1Gr7N-pujvbOOa0yARrPA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Accessing same postgresql/postgis db <br>
and using plugin <span style="font-family:"Courier
New,courier"">QuickMultiAttributeEdit <br>
<br>
1) all works fine on qgis 2.8.1<br>
<br>
</span><span style="font-family:"Courier
New,courier"">2) using 2.9.0-Master Master, exported <br>
qgis master dev (next 2.9)<br>
<br>
</span></div>
<span style="font-family:"Courier New,courier"">i get
<br>
<br>
</span>
<div>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Courier New,courier"">Traceback
(most recent call last):<br>
File
"/home/ubuntu/.qgis2/python/plugins/QuickMultiAttributeEdit/quickmultiattributeedit_dialogs.py",
line 121, in run<br>
layer.dataProvider().changeAttributeValue(<a
moz-do-not-send="true" href="http://feature.id">feature.id</a>(),nPosField,value)<br>
AttributeError: 'QgsVectorDataProvider' object has no
attribute 'changeAttributeValue'</span></p>
<br>
</div>
<div>The source plugin rows are:<br>
<br>
120. for feature in oFeaIterator: <br>
121. layer.dataProvider().changeAttributeValue(<a
moz-do-not-send="true" href="http://feature.id">feature.id</a>(),nPosField,value)<br>
<br>
</div>
<div><br>
There is some changed or can be a bug ?<br>
<br>
</div>
<div>Thank you<br>
</div>
<div>Marco<br clear="all">
</div>
<div>
<div>
<div><br>
-- <br>
<div class="gmail_signature">Linux Infinite Freedom<br>
<br>
I'm writing from this place: <br>
<a moz-do-not-send="true"
href="http://www.openstreetmap.org/?lat=44.39945&lon=8.6798&zoom=15&layers=M"
target="_blank">http://www.openstreetmap.org/?lat=44.39945&lon=8.6798&zoom=15&layers=M</a>
<div>
<div><img moz-do-not-send="true"
src="https://mail.google.com/mail/images/cleardot.gif"></div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>