Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-22-2011, 05:45 PM   #1
LQ Newbie
Registered: Feb 2011
Location: Mexico
Distribution: Slackware
Posts: 29

Rep: Reputation: 0
Error in GUI startup GRASS 6.4.1 and GRASS-QGIS plugin

Hi! I'm using Slackware 13.37 in a HP G60 laptop, and it works almost perfect.

My problem is that I installed GRASS 6.4.1 and QGIS 1.6 weeks ago both from, after install GRASS I do:

# echo /opt/grass/lib >> /etc/ && ldconfig
But when I try to use the grass-qgis plugin it never activates on QGIS. I try this many times uninstalling and reinstalling the QGIS package. In order to activate GRASS plugin in QGIS I just edit the SlackBuild of QGIS doing this:

Because when I execute "ls" in /opt, there are two dirs: grass and grass-6.4.1. So I think grass is installed in that dir. I don't know if that is the correct way to activate QGIS with GRASS support, I need help with this.

So when I try to open GRASS to check that it works correctly, this appear in the screen:

Starting GRASS ...
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkOptionMenu::indicator-size' of type `GtkRequisition' from rc file value "0" of type `glong'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkOptionMenu::indicator-spacing' of type `GtkBorder' from rc file value "0" of type `glong'
Traceback (most recent call last):
  File "/opt/grass/etc/wxpython/", line 858, in <module>
    GRASSStartUp = StartUp(0)
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/", line 7981, in __init__
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/opt/grass/etc/wxpython/", line 829, in OnInit
    StartUp = GRASSStartup()
  File "/opt/grass/etc/wxpython/", line 166, in __init__
  File "/opt/grass/etc/wxpython/", line 213, in _set_properties
  File "/opt/grass/etc/wxpython/", line 690, in OnSetDatabase
  File "/opt/grass/etc/wxpython/", line 568, in UpdateLocations
    self.listOfLocations = utils.GetListOfLocations(dbase)
  File "/opt/grass-6.4.1/etc/wxpython/gui_modules/", line 589, in GetListOfLocations
    for location in glob.glob(os.path.join(dbase, "*")):
  File "/usr/lib/python2.6/", line 16, in glob
    return list(iglob(pathname))
  File "/usr/lib/python2.6/", line 43, in iglob
    yield os.path.join(dirname, name)
  File "/usr/lib/python2.6/", line 70, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 40: ordinal not in range(128)
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
So I need to solve this to try again with using GRASS in QGIS. I don't know if this helps but i change the language of my system to Mexican Spanish doing:

kdesu kwrite /etc/profile.d/

And editing:

# en_US is the Slackware default locale:
export LANG=es_MX.utf8
export LANGUAGE=es_MX.utf8
export LINGUAS=es_MX.utf8
export LC_ALL=es_MX.utf8

Last edited by ecoslacker; 08-22-2011 at 05:57 PM.


error, gui, slackware 13.37

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installation problem in grass bharath1234 Linux - Software 15 01-12-2010 04:40 AM
GRASS GIS 6.2.2 BadAlloc Error Causes Crash on Previously Usable Data & Routine joek Linux - Software 0 09-22-2007 06:27 PM
GRASS and C seabiscuit Programming 1 03-22-2006 07:21 PM
Grass and qGIS problem (version 6.0 on suse 9.2) oldforce Linux - Software 0 03-31-2005 02:26 AM
Grass maddness DrD Linux - Software 4 11-17-2004 12:42 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration