[Qgis-user] Re: QGIS File Browser1.1: no raster layers listed

Nathan Woodrow madmanwoo at gmail.com
Wed Feb 2 19:47:21 PST 2011


Ok, I have come up with something. I will get you to test it before I push
out a new version.

Copy the attached files into your QGISFileBrowser pluign dir, and try and
open those files again.  Hopefully the fix has worked.

- Nathan

On Wed, Feb 2, 2011 at 6:04 PM, Agustin Lobo <alobolistas at gmail.com> wrote:

>
> You are right, I probably went too fast. But my error has unveiled another
> problem. The
> name of my ecw file includes a "ç" (c,), like in "Françoise". If I select
> the file with your plugin I
> get the following error:
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>  File
>
> "/home/alobo/.qgis/python/plugins/QGISFileBrowser/qgisfilebrowserdialog.py",
> line 156, in itemClicked
>    if os.path.isdir(filepath):
>  File "/usr/lib/python2.6/genericpath.py", line 41, in isdir
>    st = os.stat(s)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 121:
> ordinal not in range(128)
>
> This also happens with a jpg file and is solved by renaming the "ç" to "c"
> in both cases.
>
> Regarding *.sid files, you see them if the filter is set to *.sid, but not
> if the filter is set to
> "All raster files" or "All supported files"
>
> Agus
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/QGIS-File-Browser1-1-no-raster-layers-listed-tp5976874p5983933.html
> Sent from the qgis-user mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110203/135f70a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qgisfilebrowser.py
Type: application/octet-stream
Size: 4454 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110203/135f70a5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qgisfilebrowserdialog.py
Type: application/octet-stream
Size: 10117 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110203/135f70a5/attachment-0001.obj>


More information about the Qgis-user mailing list