dogtail-devel [Bug 478984] dogtail-run-headless fails when trying to run example scripts
- From: "dogtail (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: dogtail-devel-list gnome org
- Subject: dogtail-devel [Bug 478984] dogtail-run-headless fails when trying to run example scripts
- Date: Wed, 3 Oct 2007 14:47:02 +0000 (UTC)
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=478984
dogtail | Examples | Ver: 0.6.1
Michal Babej changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Franz Netykafka runbox no
------- Comment #1 from Michal Babej 2007-10-03 14:47 UTC -------
I've digged into this a little.
Tried running on F7. pretty much same error messages.
The error messages are saying at-spi-registry daemon hasn't started.
if you run dogtail-run-headless:
"dogtail-run-headless -n ./gedit-test-utf8-procedural-api.py"
it runs the command :
"xinit /tmp/dogtail-headless-xinitrc.XXXX -- /usr/bin/Xvfb :1 -screen 0
1024x768x16 -ac -noreset -shmem"
with the content of /tmp/dogtail-headless-xinitrc.XXXX being something like:
#!/bin/sh
/usr/libexec/gnome-settings-daemon &
gnome-panel &
nautilus -n &
metacity &
sleep 10
cd /home/some_user && dogtail-detect-session && sh -c
"/usr/share/doc/dogtail-0.6.1/examples/gedit-test-utf8-procedural-api.py
"; echo -n $? > /tmp/dogtail-headless-exitcode.XXXX
You might think adding "/usr/libexec/at-spi-registryd &" would solve the
problem. It doesn't. Why ? because gnome *does not* support running multiple
sessions for the same user on the same machine. It doesn't even make sense.
Now the possible solutions that come to my mind:
1. some "test" user - created by hand & passed as parameter, or maybe at
dogtail install time, don't know
2. try to speak to the already-running at-spi-registry (i doubt this would
work, and if you want a separate testing environment which would not affect
normal session, this isn't it :)
3. maybe somehow "integrate" with fast-user-switching ?
4. dump dogtail-run-headless ? O:)
i'm leaning toward 1. but that seems pointless to add to dogtail, since you can
achieve it easily with a VNC/Xorg session for a hand-created test user.
-- mb
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=478984.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]