掌機 - Pandora(Rebirth) - SuperZaxxon - 解決Config/hal: couldn't initialise context: unknown error null問題



卡在登入畫面,鍵盤以及觸控都失效


幸好司徒有開啟SSH登入功能,查看了下/var/log/Xorg.0.log

(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(EE) config/hal: couldn't initialise context: unknown error (null)

發現Nub無法初始化

$ /usr/pandora/scripts/op_nubmode.py 
    Traceback (most recent call last):
        File "/usr/pandora/scripts/op_nubmode.py", line 6, in 
            import gtk
        File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 30, in 
            import gobject as _gobject
        File "/usr/lib/python2.7/site-packages/gtk-2.0/gobject/__init__.py", line 26, in 
            from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
        File "/usr/lib/python2.7/site-packages/gtk-2.0/glib/__init__.py", line 22, in 
            from glib._glib import *
    ImportError: /usr/lib/libpyglib-2.0-python.so.0: undefined symbol: g_return_if_fail_warning

司徒這才發現升級Python3後,添加/etc/ld.so.conf時,竟然忘記加入/usr/lib路徑,重新加入後並執行ldconfig即可

/usr/local/lib