WorldclockScreenlet uses python-dateutil
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Universal Applets |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
WorldclockScreenlet was uploaded to -extras today. First hitch is that is needs python-dateutil on Ubuntu Intrepid. Possibly called the same thing in other distros?
So,
1: python-dateutil needs to be made a dependency, or
2: WorldclockScreenlet needs to let the user know that the package is needed (+ the package is set as a suggestion)
I think we should go with #2 in these cases, and I think there is at least one screenlet that already does this (something web related, I think).
Rationale:
If we use #2 we can avoid bringing all the dependenciues and their grandma, keeping the necessary stuff to a minimum, and let users that actually use the specific screenlets install the necessary packages.
-extras will likely be a bigger and bigger package, and we need to avoid that it also brings in a thousand deps.
It is probably a good idea to make a packagekit stack in U-A that deals with this stuff, letting developers put in a line or two of code to get what they need.
Forgot the output:
$ python /usr/share/ screenlets/ WorldClock/ WorldClockScree nlet.py screenlets/ WorldClock/ WorldClockScree nlet.py" , line 68, in <module>
Traceback (most recent call last):
File "/usr/share/
from dateutil.tz import *
ImportError: No module named dateutil.tz