Re: dogtail cannot import name config



> >>>I've been trying to set up dogtail and play a little bit with it but I'm
> >>>stuck with this error on every example file I try:
> >>>
> >>>$ ./gedit-test-utf8-procedural-api.py
> >>>Traceback (most recent call last):
> >>>  File "./gedit-test-utf8-procedural-api.py", line 4, in ?
> >>>    from dogtail.config import config
> >>>ImportError: cannot import name config
> >>>
> >>>Any hint of what am I missing here?
> >>
> >>Hmm, what version are you using? If you're using CVS, make sure you're
> >>up-to-date by running 'cvs up -dP'.
> > 
> > 
> > I think it is 0.4.3:
> > 
> > wget
> > http://people.redhat.com/zcerza/dogtail/releases/dogtail-0.4.3.tar.gz
> > tar xzf dogtail-0.4.3.tar.gz
> > cd dogtail-0.4.3
> > make deb
> > cd ..
> > sudo dpkg -i python-dogtail_0.4.3-1_all.deb
> > 
> > Should I sync to cvs?
> 
> dogtail 0.4.3's gedit-test-utf8-procedural-api.py odesn't have a line
> that says 'from dogtail.config import config' - that change happened
> after 0.4.3. Are you using the script from CVS with the old dogtail release?
> 

ouch!! yep, that was my error ;-)

Thanks,

    Albert.





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