dogtail-devel [Bug 375196] dogtail log files not written to configured directory



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=375196

  dogtail | Framework | Ver: CVS HEAD


Bill Carter changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #2 from Bill Carter  2006-11-17 19:41 UTC -------
I checked out the head of the CVS tree just now to make sure we have the most
recent version. Looking in the NEWS file it says 0.6.1

It could be that I'm misunderstanding how this works, but here's what I'm
doing. I have this script;
-----------------------------
#!/usr/bin/python
from dogtail.procedural import *
import os
from dogtail.config import config

config.scratchDir = 'dogtail'
config.logDir = os.path.join(config.scratchDir, 'logs')
config.dataDir = os.path.join(config.scratchDir, 'data')


run('gedit')

focus.application('gedit')
keyCombo("Escape")
------------------------------

When I run it I do get ./dogtail/logs directory but its empty. The default
directory in /tmp does contain a logfile though.

bash-3.1$ python test.py
Creating logfile at /tmp/dogtail/logs/test_20061117-133342_debug ...
Detecting distribution: Fedora (or derived distribution)
GTK Accessibility Module initialized
Creating /home/wscarter/progs/lsrtest/testscripts/dogtail ...
Creating /home/wscarter/progs/lsrtest/testscripts/dogtail/logs ...
Creating /home/wscarter/progs/lsrtest/testscripts/dogtail/data ...


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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