[Bug 445549] Re: timer-applet crashed with AttributeError: 'module' object has no attribute 'Element'

Martin Olsson mnemo at minimum.se
Wed Oct 7 17:22:38 UTC 2009


This little sample works on my machine and it prints "1" followed by "2"
(python --version returns "Python 2.6.3"):

try:
        print "1"
        from xml.etree import ElementTree as et
        print "2"
except:
        print "3"
        from elementtree import ElementTree as et
        print "4"
x = et.Element('timerapplet')

-- 
timer-applet crashed with AttributeError: 'module' object has no attribute 'Element'
https://bugs.launchpad.net/bugs/445549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list