Bug 694956 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 1: ordinal not in range(128)
Summary: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 1: ordin...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: grass
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-09 06:00 UTC by Kerry
Modified: 2011-09-14 01:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-12 19:33:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kerry 2011-04-09 06:00:26 UTC
Description of problem: Crash in startup


Version-Release number of selected component (if applicable):
  grass.i686 0:6.3.0-17.fc14  

How reproducible:


Steps to Reproduce:
1. Start grass
2.
3.
  
Actual results:


Expected results:


Additional info:
abrt will not update https://bugzilla.redhat.com/show_bug.cgi?id=622020 because it was closed as Fedora 12 end of life.

Bug still exists in Fedora 14 - grass.i686 0:6.3.0-17.fc14

WELCOME TO GRASS              Version 6.3.0         2008

   1) Have at your side all available GRASS tutorials

   2) When working on your location, the following materials
      are extremely useful:
      - A topo map of your area
      - Current catalog of available computer maps

   3) Check the GRASS webpages for feedback mailinglists and more:
      http://www.grass-gis.org
      http://grass.osgeo.org

Hit RETURN to continue

Starting GRASS ...
Traceback (most recent call last):
  File "/usr/lib/grass-6.3.0/etc/wxpython/gis_set.py", line 714, in <module>
    GRASSStartUp = StartUp(0)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7978, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib/grass-6.3.0/etc/wxpython/gis_set.py", line 698, in OnInit
    StartUp = GRASSStartup()
  File "/usr/lib/grass-6.3.0/etc/wxpython/gis_set.py", line 154, in __init__
    self._set_properties()
  File "/usr/lib/grass-6.3.0/etc/wxpython/gis_set.py", line 193, in
_set_properties
    self.OnSetDatabase(None)
  File "/usr/lib/grass-6.3.0/etc/wxpython/gis_set.py", line 576, in
OnSetDatabase
    self.UpdateLocations(self.gisdbase)
  File "/usr/lib/grass-6.3.0/etc/wxpython/gis_set.py", line 521, in
UpdateLocations
    for location in glob.glob(os.path.join(dbase, "*")):
  File "/usr/lib/python2.7/glob.py", line 16, in glob
    return list(iglob(pathname))
  File "/usr/lib/python2.7/glob.py", line 43, in iglob
    yield os.path.join(dirname, name)
  File "/usr/lib/python2.7/posixpath.py", line 70, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 1: ordinal
not in range(128)
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...

Comment 1 Volker Fröhlich 2011-08-13 15:41:54 UTC
I tried with Grass 6.4.0 and it seems to work. Can you confirm that?

You currently have to modify /usr/share/applications/fedora-grass.desktop: Change "Exec: grass63" to "Exec: grass64". This is due to an error in packaging and I'm working to get that corrected.

Comment 2 Volker Fröhlich 2011-09-12 19:33:32 UTC
Doesn't seem to happen in 6.4.0. Re-open if necessary.

Comment 3 Kerry 2011-09-14 01:09:50 UTC
Ok, seems to work now.


Note You need to log in before you can comment on or make changes to this bug.