[Qgis-developer] Attribute names and Strings are not displayed correctly
Daniel Lincke
daniel.lincke at globalclimateforum.org
Tue Feb 24 03:42:44 PST 2015
Hi,
I guess this is not a bug but some problem with external libraries. In
my qgis (using Ubuntu 14.10) and have the problem since a few weeks. I
don't know when it started exactly,but I guess it was some update.
Whenever I look at the attribute table or at the attribute dialog for a
shape, the attribute names are shown as _1,_2,_3, ... In the attributes,
Strings are generally displayed as "NULL". Numbers are fine.
Since the Problem occurs, I have reinstalled qgis several times and also
tried out several versions (2.2,2.6,2.8) but nothing changed.
In the message window, I found one warning by python:
warning:/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py:890:
PendingDeprecationWarning: This method will be removed in future
versions. Use 'elem.iter()' or 'list(elem.iter())' instead.
for include in elem.getiterator("include"):
traceback: File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 219, in
startPlugin
plugins[packageName] = package.classFactory(iface)
File "/usr/share/qgis/python/plugins/MetaSearch/__init__.py", line 28,
in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/MetaSearch/plugin.py", line 31, in
<module>
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/plugins/MetaSearch/dialogs/maindialog.py",
line 49, in <module>
from MetaSearch.dialogs.manageconnectionsdialog import
ManageConnectionsDialog
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/usr/share/qgis/python/plugins/MetaSearch/dialogs/manageconnectionsdialog.py",
line 39, in <module>
BASE_CLASS = get_ui_class('manageconnectionsdialog.ui')
File "/usr/share/qgis/python/plugins/MetaSearch/util.py", line 59, in
get_ui_class
return loadUiType(ui_file_full)[0]
File "/usr/lib/python2.7/dist-packages/PyQt4/uic/__init__.py", line 210,
in loadUiType
winfo = compiler.UICompiler().compileUi(uifile, code_string,
from_imports, resource_suffix)
File "/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/compiler.py",
line 139, in compileUi
w = self.parse(input_stream, resource_suffix)
File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 992,
in parse
actor(elem)
File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 890,
in readResources
for include in elem.getiterator("include"):
I don't think that this causes the problem, but I don't know. Any
developer with any suggestion? :)
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150224/c1d16d75/attachment-0001.html>
More information about the Qgis-developer
mailing list