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

Martin Olsson mnemo at minimum.se
Wed Oct 7 17:07:46 UTC 2009


The only reference to ".Element" that I can find is inside
src/timerapplet/core/PresetsStore.py:

    def _save_presets(model, file_path):
        root = et.Element('timerapplet')
        root.set('version', '1.1')
        ...

--------------------------
...and in this context "et" is defined as:

try:
    from xml.etree import ElementTree as et
except:
    from elementtree import ElementTree as et

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