Opened 15 years ago
Closed 15 years ago
#1782 closed bug (fixed)
unable to load a .png file
Reported by: | lomco | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.2.0 |
Component: | C++ Plugins | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
I am a new QGIS user and I'ld like to load a scanned map for geocoding. The map is in a file on the desk top. Launch QGIS Click on icon add a raster layer select the scanned .png map error message as follows
"An error has occured while executing Python code:
Traceback (most recent call last):
File "/home/labo/.qgispython/plugins/valuetool/valuewidget.py", line 118, in printValue
layername=str(layer.name())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 25: ordinal not in range(128)
Python version: 2.6.2 (release26-maint, Apr 19 2009, 02:11:59) [GCC 4.3.3]
Python path:['/usr/share/qgis/python', '/home/labo/.qgispython/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages', '/usr/share/qgis/python/plugins/fTools/tools', '~/.qgis/python']"
The error message window is not closing except I close QGIS. How could I manage this problem?
Change History (4)
comment:1 by , 15 years ago
Component: | Build/Install → Rasters |
---|---|
Milestone: | → Version 1.2.0 |
Priority: | critical: causes crash or data corruption → major: does not work as expected |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
Component: | Rasters → Plugins |
---|
This is because the Value Tool plugin doesn't support non-ascii characters occurring in the name or path of your file. So no more details are necessary ;-)
I'm contact the author to correct this issue. Please temporarily disable the plugin in the Plugin Manager if this message is annoying.
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Seems that the plugin has been updated and now works fine. Reopen if necessary.
Hi, what version of qgis did you used?
Can you attach here the raster that is giving you problems?