[maemo-developers] [maemo-developers] Problems launching maemo

From: Jaap Haitsma jaap at haitsma.org
Date: Sat Jun 4 14:29:02 EEST 2005
Hi,

Following the instructions overhere
http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#settingup

I get errors when doing the following

-----------------------
[sbox-SDK_PC: ~] > export DISPLAY=127.0.0.1:2
[sbox-SDK_PC: ~] > af-sb-init.sh start
touch: cannot touch `/home/haitsma/MyDocs/foo.txt': No such file or 
directory
touch: cannot touch `/home/haitsma/MyDocs/.videos/video1.mpg': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.videos/video2.avi': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.sounds/clip1.wav': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.sounds/clip2.mp3': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.documents/sheet1.xls': No 
such file or directory
touch: cannot touch `/home/haitsma/MyDocs/.documents/document.doc': No 
such file or directory
touch: cannot touch `/home/haitsma/MyDocs/.images/image1.png': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.images/image2.jpg': No such 
file or directory
DBUS system bus is already running, doing nothing
Starting D-BUS session bus daemon
Starting Sapwood image server
** INFO: server started
Matchbox window manager is already running, doing nothing
Keyboard is already running, doing nothing
Starting Task Navigator
Starting Home

(sapwood-server:29102): Gdk-WARNING **: The gdk_draw_*_image require the 
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

** (hildon-navigator:29130): WARNING **: 
qgn_plat_task_navigation_button_03_normal.png: pixmap[1][1]: 
gdk_pixmap_foreign_new(400003) failed

** (hildon-navigator:29130): WARNING **: Aieeee

** (hildon-navigator:29130): WARNING **: 
qgn_plat_task_navigation_button_03_normal.png: pixmask[1][1]: no pixmap

(sapwood-server:29102): Gdk-WARNING **: The gdk_draw_*_image require the 
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
The program 'sapwood-server' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue'.
   (Details: serial 77 error_code 2 request_code 53 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() 
function.)

** ERROR **: sapwood-theme: Failed to load pixmap file 
/usr/share/themes/default/gtk-2.0/../images/qgn_plat_task_navigation_skin_01.png: 
read 0, expected 80 bytes

aborting...
matchbox-wm: X error warning (0x800003): BadWindow (opcode: 18)
matchbox-wm: X error warning (0x800003): BadWindow (opcode: 7)
matchbox-wm: X error warning (0x800003): BadWindow (opcode: 6)
Starting Statusbar
[sbox-SDK_PC: ~] >
(home:29140): Gtk-WARNING **: Icon size name 'icon_size_indi_delete' 
already exists

** ERROR **: sapwood-theme: Failed to load pixmap file 
/usr/share/themes/default/gtk-2.0/../images/qgn_plat_dialog_button_alone_normal.png: 
Failed to connect to sapwood server using `/tmp/sapwood-127.0.0.1:2.0': 
Connection refused

         `/usr/lib/sapwood/sapwood-server' MUST be started before 
applications

aborting...

----------------------

So I started sapwood-server and then did a "af-sb-init.sh start". The 
something appears in my Xnest window :-). It's the same image as the one 
in the SDK tutorial in the section "Launching Application Framework 
environment" but I don't see the icon which is on the top left side of 
the screen. And I see the following in the terminal window

----------------------
[sbox-SDK_PC: ~] > af-sb-init.sh start
touch: cannot touch `/home/haitsma/MyDocs/foo.txt': No such file or 
directory
touch: cannot touch `/home/haitsma/MyDocs/.videos/video1.mpg': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.videos/video2.avi': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.sounds/clip1.wav': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.sounds/clip2.mp3': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.documents/sheet1.xls': No 
such file or directory
touch: cannot touch `/home/haitsma/MyDocs/.documents/document.doc': No 
such file or directory
touch: cannot touch `/home/haitsma/MyDocs/.images/image1.png': No such 
file or directory
touch: cannot touch `/home/haitsma/MyDocs/.images/image2.jpg': No such 
file or directory
DBUS system bus is already running, doing nothing
Starting D-BUS session bus daemon
Starting Sapwood image server
** INFO: server started
Matchbox window manager is already running, doing nothing
Keyboard is already running, doing nothing
Starting Task Navigator
Starting Home

(sapwood-server:29204): Gdk-WARNING **: The gdk_draw_*_image require the 
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

** (hildon-navigator:29232): WARNING **: 
qgn_plat_task_navigation_button_03_normal.png: pixmap[1][1]: 
gdk_pixmap_foreign_new(a00003) failed

** (hildon-navigator:29232): WARNING **: Aieeee

** (hildon-navigator:29232): WARNING **: 
qgn_plat_task_navigation_button_03_normal.png: pixmask[1][1]: no pixmap

(sapwood-server:29204): Gdk-WARNING **: The gdk_draw_*_image require the 
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
The program 'sapwood-server' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue'.
   (Details: serial 77 error_code 2 request_code 53 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() 
function.)

** ERROR **: sapwood-theme: Failed to load pixmap file 
/usr/share/themes/default/gtk-2.0/../images/qgn_plat_task_navigation_skin_01.png: 
read 0, expected 80 bytes

aborting...
matchbox-wm: X error warning (0xc00003): BadWindow (opcode: 18)
matchbox-wm: X error warning (0xc00003): BadWindow (opcode: 7)
matchbox-wm: X error warning (0xc00003): BadWindow (opcode: 6)
Statusbar is already running, doing nothing

---------------------------------
If I then click in the Xnest window on the text that says home, it 
crashes. I get the following text in the terminal.

-------------------------

** ERROR **: sapwood-theme: Failed to load pixmap file 
/usr/share/themes/default/gtk-2.0/../images/qgn_plat_application_menu_1st_level_frame.png: 
Failed to connect to sapwood server using `/tmp/sapwood-127.0.0.1:2.0': 
Connection refused

         `/usr/lib/sapwood/sapwood-server' MUST be started before 
applications

aborting...

----------------------

Any idea what I am doing wrong??


Thanks

Jaap




More information about the maemo-developers mailing list