[Scratchbox-devel] Re: gazpacho problem

Claudio Scordino cloud.of.andor at gmail.com
Mon Jan 29 18:22:55 EET 2007


Mikko Kuusipalo wrote:
> Hi,
> 
> Strange..
> 
> Can you launch gazpacho from console inside Scratchbox? It demands a 
> open x-window and exported DISPLAY env variable.
> 
> e.g. (with xephyr open in localhost:2)
> 
> [sbox-i386: ~] > export DISPLAY=127.0.0.1:2
> [sbox-i386: ~] > gazpacho
> 
> What does it say? Or does this start gazpacho..

I was able of starting Gazpacho from Scratchbox following the steps described in

http://maemo.org/platform/docs/howtos/gazpacho_hildon.html

(which mainly say to start Xephyr).


However, if I try to run Gazpacho from Laika, I obtain the following error:

ERROR: Could not find required directory: /lib/python2.4/site-package

AF Warning: '/etc/osso-af-init/keyboard.defs' not found
Sample files present.
DBUS system bus is already running, doing nothing
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launche
  start faile
.
Starting Sapwood image server
sapwood-server[489]: GLIB WARNING ** Gdk - cannot open display: (null)
maemo-gtk-im-switch[490]: GLIB WARNING ** Gtk - cannot open display:


My configuration is:

- i386 target with host-gcc compiler, maemo rootstrap, debian devkit
- DISPLAY exported as 127.0.0.1:2 (I tried several configurations using
localhost, 127.0.0.1 or the IP address itself)
- gazpacho, gazpacho-loader, gazpacho-hildon packages installed using apt
- maemo-launcher libgtk2.0-dev libgtk2.0-0 packages installed as well

Probably there is something wrong in the Laika configuration or some package is 
missing inside Scratchbox (or even outside). For instance, which packages do I 
need to run vnc ?

Any help and suggestion is welcome!

Many thanks,

               Claudio


> On Mon, 29 Jan 2007, Claudio Scordino wrote:
> 
>> Hi all,
>>
>>  I succesfully installed the Laika plugin on my Eclipse in Linux.
>>
>> Everything seems working, except the gazpacho support.
>>
>> I followed _exactly_ what the Laika Manual 2.1 says about how installing
>> gazpacho: I changed the repositories according to the manual, then I 
>> installed
>> the gazpacho gazpacho-loader and gazpacho-hildon packages inside 
>> Scratchbox
>> (using a i386 target).
>>
>> However, when I start gazpacho from Eclipse it does not start...
>>
>> I thought it was a problem related to X11 permissions and the DISPLAY 
>> variable,
>> therefore I tried many different configurations, but no one worked.
>>
>> Here is the error message:
>>
>> AF Warning: '/etc/osso-af-init/keyboard.defs' not found
>> Sample files present.
>> DBUS system bus is already running, doing nothing
>> Starting D-BUS session bus daemon
>> Starting Maemo Launcher: maemo-launche
>> start faile
>> .
>> Starting Sapwood image server
>> Traceback (most recent call last):
>>  File "/gazpacho", line 71, in ?
>>    sys.exit(main.main((sys.argv)))
>>  File "/usr/lib/python2.4/site-packages/gazpacho/main.py", line 183, 
>> in main
>>    launch(options, filenames)
>>  File "/usr/lib/python2.4/site-packages/gazpacho/main.py", line 105, 
>> in launch
>>    check_gtk(debug=options.debug)
>>  File "/usr/lib/python2.4/site-packages/gazpacho/main.py", line 66, in 
>> check_gtk
>>    import gtk
>>  File
>> "debian/python2.4-gtk2/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", 
>>
>> line 37, in ?
>> RuntimeError: could not open display
>> sapwood-server[27062]: GLIB WARNING ** Gdk - cannot open display: (null)
>> maemo-gtk-im-switch[27063]: GLIB WARNING ** Gtk - cannot open display:
>>
>> Any help and suggestion is welcome.
>>
>> Regards,
>>
>>          Claudio


More information about the Scratchbox-devel mailing list