dogtail-devel [Bug 354518] New: Dogtail headless does not work



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=354518
 dogtail | Framework | Ver: 0.5.x

           Summary: Dogtail headless does not work
           Product: dogtail
           Version: 0.5.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: pmuldoon redhat com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
1. dogtail-run-headless -n
/usr/share/doc/dogtail-0.5.2/examples/gedit-test-utf8-procedural-api.py 


Stack trace:
[pmuldoon dhcp-199 examples]$ dogtail-run-headless -n
/usr/share/doc/dogtail-0.5.2/examples/gedit-test-utf8-procedural-api.py
xinit /tmp/dogtail-headless-xinitrc.4384 -- /usr/bin/Xvfb :1 -screen 0
1024x768x16 -ac -noreset -shmem
screen 0 shmid 2916378

GTK Accessibility Module initialized
sh: /usr/share/doc/dogtail-0.5.2/examples/gedit-test-utf8-procedural-api.py:
Permission denied


[pmuldoon dhcp-199 examples]$ su
Password: 
[root dhcp-199 examples]# dogtail-run-headless -n
/usr/share/doc/dogtail-0.5.2/examples/gedit-test-utf8-procedural-api.py
Temporarily enabling accessibility support for GNOME
xinit /tmp/dogtail-headless-xinitrc.4439 -- /usr/bin/Xvfb :1 -screen 0
1024x768x16 -ac -noreset -shmem
screen 0 shmid 2949149

GTK Accessibility Module initialized
sh: /usr/share/doc/dogtail-0.5.2/examples/gedit-test-utf8-procedural-api.py:
Permission denied

with -g I get:

[root dhcp-199 ~]# dogtail-run-headless -g
/usr/share/doc/dogtail-0.5.2/examples/gedit-test-utf8-procedural-api.py
Traceback (most recent call last):
  File "/usr/bin/dogtail-run-headless", line 188, in ?
    try: exitCode = main(sys.argv)
  File "/usr/bin/dogtail-run-headless", line 151, in main
    xinitrc.write('cd %s && dogtail-detect-session && sh -c "%s"; echo -n $? >
%s\n') % (os.getcwdu(), script, exitCodeFile)
TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
Traceback (most recent call last):
  File "/usr/bin/dogtail-run-headless", line 193, in ?
    cleanup()
  File "/usr/bin/dogtail-run-headless", line 180, in cleanup
    os.remove(exitCodeFile)
OSError: [Errno 2] No such file or directory:
'/tmp/dogtail-headless-exitcode.4485'





Other information:
In addition there are several other issues covered in Stepan Kasal's email to
dogtail list that need to be addressed in a build host environment (ie where is
not available at all).

http://mail.gnome.org/archives/dogtail-devel-list/2006-August/msg00016.html

Should I open another bug for above mail?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]