[Qgis-user] Metaedit error
Agustin Lobo
alobolistas at gmail.com
Mon May 4 08:22:15 PDT 2009
According to Synaptic (I'm runing ubuntu 8.04) I have:
python-qt3 (should I get rid of it?)
python-qt4 4.3.3-2
libqt4-* 4.4.0
is this a problem of python-qt4 4.3.3-2 ? There is nothing newer for
ubuntu 8.04, as far as I've been
able to find out.
Thanks
Agus
Martin Dobias wrote:
> On Mon, May 4, 2009 at 1:11 PM, Agustin Lobo <alobolistas at gmail.com> wrote:
>
>> As soon as I select the Metadata Editor plugin, I get:
>> An error has occured while executing Python code:
>>
>> Traceback (most recent call last):
>> File "/home/alobo/.qgis//python/plugins/metaedit/metaedit.py", line 68, in
>> run
>> self.dlg = metaeditTool.Dialog(self.iface,True)
>> File "/home/alobo/.qgis//python/plugins/metaedit/metaeditTool.py", line 50,
>> in __init__
>> self.setupUi(self)
>> File "/home/alobo/.qgis//python/plugins/metaedit/metaeditUi.py", line 90,
>> in setupUi
>> self.plainTextEdit = QtGui.QPlainTextEdit(self.tab)
>> AttributeError: 'module' object has no attribute 'QPlainTextEdit'
>>
>> Python version:
>> 2.5.2 (r252:60911, Jul 31 2008, 17:44:49)
>> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
>>
>>
>> Any idea on what's wrong? Should I fill a ticket?
>>
>
> QPlainTextEdit class has been added in Qt4.4 I think, so it probably
> fails because you have older Qt or PyQt. So either you can upgrade
> your installation or metaedit developers can use QTextEdit instead
> which is present also in older versions.
>
> Martin
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090504/f7caf7ec/attachment.vcf>
More information about the Qgis-user
mailing list