Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15431 - [adesklet-weatherforecast] weatherforecast-xml.patch needs to be updated

Attached to Project: Community Packages
Opened by Eric Belanger (Snowman) - Tuesday, 07 July 2009, 20:48 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Thursday, 09 July 2009, 17:45 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The desklet doesn't display anymore.

$ python /usr/share/adesklets/weatherforecast/weatherforecast.py
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
Traceback (most recent call last):
File "/usr/share/adesklets/weatherforecast/weatherforecast.py", line 335, in <module>
Events(dirname(__file__)).pause()
File "/usr/share/adesklets/weatherforecast/weatherforecast.py", line 98, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.6/site-packages/adesklets/events_handler.py", line 158, in __init__
self._alarm()
File "/usr/lib/python2.6/site-packages/adesklets/events_handler.py", line 296, in _alarm
timeout=self.alarm()
File "/usr/share/adesklets/weatherforecast/weatherforecast.py", line 144, in alarm
self._display()
File "/usr/share/adesklets/weatherforecast/weatherforecast.py", line 209, in _display
location=str(self.w.loc.dnam).split(',')[0]
File "/usr/share/adesklets/weatherforecast/xmltramp.py", line 113, in __getattr__
raise AttributeError, 'No child element named \''+n+"'"
AttributeError: No child element named 'loc'


It looks like weather.com once again changed something on the way they work. The weatherforecast-xml.patch will need to be updated.
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Thursday, 09 July 2009, 17:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.2.1-3
fixed with a sed line
Comment by Paco (CaptainHook8) - Thursday, 09 July 2009, 11:22 GMT
I got the same error...please fix it.
Comment by Jaroslav Lichtblau (Dragonlord) - Thursday, 09 July 2009, 17:12 GMT
Not sure how to fix this - emailed the original author.
Comment by Jaroslav Lichtblau (Dragonlord) - Thursday, 09 July 2009, 17:40 GMT
Ok, looks like simple change xoap -> xml in the code is needed
http://forums.stardock.com/358753

Loading...