[Various Screenlets] Crash on TypeError: integer argument expected, got float
Bug #827082 reported by
Märt Põder
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Individual Screenlets |
In Progress
|
Medium
|
Unassigned |
Bug Description
This is the bug that occurs starting from Python 2.7, because you cannot pass the float to function accepting integers anymore. In Python 2.6 floats were automatically converted to integers in these kinds of situation, now TypeError is thrown.
In Ubuntu this starts from Natty Narwhal (11.04), because it is the first one to ship with Python 2.7.
If you have this problem, you don't have to report a separate bug. Just report screenlet name here and the situation where the bug occurred (and what were you doing with the screenlet). If you can provide a patch, this would be even better.
See also https:/