← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 767048] Re: py-slice.py crashed with TypeError in slice(): integer argument expected, got float

 

*** This bug is a duplicate of bug 733055 ***
    https://bugs.launchpad.net/bugs/733055

Probably down to a change in Python 2.7. Up until 2.6, if you passed a
float to a function that was defined as taking an int, the float would
automatically be converted, though possibly with a DeprecationWarnng. In
2.7 (and Python 3000) it's now a TypeError. So, you have to put in an
explicit conversion to int wherever this occurs.

There are quite a lot of packages affected by this! The bug of which
this is a duplicate is probably caused by this change too :(

Dave

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to gimp in Ubuntu.
https://bugs.launchpad.net/bugs/767048

Title:
  py-slice.py crashed with TypeError in slice(): integer argument
  expected, got float

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/767048/+subscriptions