[Qgis-user] GRASS 6.4.2 GUI broken in OS X Lion

Sergio Zárate acac09 at gmail.com
Fri Mar 9 10:06:52 PST 2012


Hi all.

Using Qgis Master in Lion, updating to GRASS 6.4.2 caused it to be unable
to open the GUI, apparently due to incapacity for location setting problems:

Starting GRASS ...

Traceback (most recent call last):

  File
"/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line
894, in <module>

    GRASSStartUp = StartUp(0)

  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py",
line 7981, in __init__

    self._BootstrapApp()

  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py",
line 7555, in _BootstrapApp

    return _core_.PyApp__BootstrapApp(*args, **kwargs)

  File
"/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line
865, in OnInit

    StartUp = GRASSStartup()

  File
"/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line
57, in __init__

    self.grassrc  = self._readGisRC()

  File
"/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line
393, in _readGisRC

    grassrc[key.strip()] = utils.DecodeString(val.strip())

  File
"/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gui_modules/utils.py",
line 667, in DecodeString

    enc = locale.getdefaultlocale()[1]

  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",
line 478, in getdefaultlocale

  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",
line 410, in _parse_localename

*ValueError: unknown locale: UTF-8*

Error in GUI startup. If necessary, please

report this error to the GRASS developers.

Switching to text mode now.

Hit RETURN to continue...


 Before that, GRASS worked through Qgis, but if used alone the GUI crashed
when pointing to grassdata folder.
The system is located in Spanish, Mexico). In text mode, one is unable to
change to the grassdata directory the pointed directory being home, thus
unusable.

To make things totally wrong, after GRASS failure, Qgis 1.9.90-Alpha
(8ccaef7) crashes as do 1.9.90-Alpha (8ccaef7) and 1.7.0-3:

Process:         QGIS [282]
Path:            /Applications/QGIS-1.9.app/Contents/MacOS/QGIS
Identifier:      org.qgis.qgis-dev
Version:         1.9.90 (1.9.90 [8ccaef7])
Code Type:       X86-64 (Native)
Parent Process:  launchd [140]

Date/Time:       2012-03-09 11:21:20.803 -0600
OS Version:      Mac OS X 10.7.2 (11C74)
Report Version:  9

Interval Since Last Report:          53780 sec
Crashes Since Last Report:           58
Per-App Interval Since Last Report:  11994 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      EB8BF461-7E5D-483E-8A68-6C8025318E99

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[282]: garbage collection is OFF
abort() called
terminate called throwing an exception

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff8d5e7ce2 __pthread_kill + 10
1   libsystem_c.dylib             0x00007fff872aa7d2 pthread_kill + 95
2   libsystem_c.dylib             0x00007fff8729ba7a abort + 143
3   libc++abi.dylib               0x00007fff879b27bc abort_message + 214
4   libc++abi.dylib               0x00007fff879affcf default_terminate() +
28
5   libobjc.A.dylib               0x00007fff856241cd _objc_terminate + 114
6   libc++abi.dylib               0x00007fff879b0001
safe_handler_caller(void (*)()) + 11
7   libc++abi.dylib               0x00007fff879b005c std::terminate() + 16
8   libc++abi.dylib               0x00007fff879b1152 __cxa_throw + 114
9   org.qgis.qgisgrass             0x000000010d51defb
QgsGrass::error_routine(char const*, int) + 127
10  libgrass_gis.dylib             0x000000010d53d43b vfprint_error + 170
11  libgrass_gis.dylib             0x000000010d53daf0 G_fatal_error + 141
12  libgrass_gis.dylib             0x000000010d54348b G__no_gisinit + 53
13  org.qgis.qgisgrass             0x000000010d513828 QgsGrass::init() + 174
14  libgrassplugin.so             0x000000010d31641b
QgsGrassPlugin::initGui() + 79
15  org.qgis.qgis-dev             0x0000000100141604
QgsPluginRegistry::loadCppPlugin(QString) + 1042
16  org.qgis.qgis-dev             0x000000010014286b
QgsPluginRegistry::restoreSessionPlugins(QString) + 699
17  org.qgis.qgis-dev             0x0000000100035c9f
QgisApp::QgisApp(QSplashScreen*, bool, QWidget*, QFlags<Qt::WindowType>) +
3447
18  org.qgis.qgis-dev             0x0000000100007efd main + 5194
19  org.qgis.qgis-dev             0x00000001000067a4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib         0x00007fff8d5e87e6 kevent + 10
1   libdispatch.dylib             0x00007fff877555be _dispatch_mgr_invoke +
923
2   libdispatch.dylib             0x00007fff8775414e _dispatch_mgr_thread +
54

Thread 2:
0   libsystem_kernel.dylib         0x00007fff8d5e8192 __workq_kernreturn +
10
1   libsystem_c.dylib             0x00007fff872aa594 _pthread_wqthread + 758
2   libsystem_c.dylib             0x00007fff872abb85 start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib         0x00007fff8d5e8192 __workq_kernreturn +
10
1   libsystem_c.dylib             0x00007fff872aa594 _pthread_wqthread + 758
2   libsystem_c.dylib             0x00007fff872abb85 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib         0x00007fff8d5e8192 __workq_kernreturn +
10
1   libsystem_c.dylib             0x00007fff872aa594 _pthread_wqthread + 758
2   libsystem_c.dylib             0x00007fff872abb85 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib         0x00007fff8d5e8192 __workq_kernreturn +
10
1   libsystem_c.dylib             0x00007fff872aa594 _pthread_wqthread + 758
2   libsystem_c.dylib             0x00007fff872abb85 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5fbfbff8
 rdx: 0x0000000000000000
  rdi: 0x0000000000001903  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfc020
 rsp: 0x00007fff5fbfbff8
   r8: 0x00007fff75834fb8   r9: 0x0000000000000282  r10: 0x00007fff8d5e7d0a
 r11: 0xffffff80002d8220
  r12: 0x000000010d30f5df  r13: 0x0000000000000000  r14: 0x00007fff75837960
 r15: 0x00007fff5fbfc170
  rip: 0x00007fff8d5e7ce2  rfl: 0x0000000000000246  cr2: 0x00000001002e6000
Logical CPU: 0


Reinstalling did not solve the issue ¿any suggestions, please?

Thanks,

Sergio

-- 
Dr. Sergio Zárate Pedroche
José María Arroyo 228
Col. 22 de octubre
Morelia, Michoacán
C.P. 58341
México
________________________
Teléfono: (443) 352-5307
Celular: (443)  438-6212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120309/c9170d0c/attachment.html>


More information about the Qgis-user mailing list