After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652406 - Slice image plugin: integer argument expected, got float
Slice image plugin: integer argument expected, got float
Status: RESOLVED DUPLICATE of bug 652008
Product: GIMP
Classification: Other
Component: Gimp-Python
2.6.11
Other Linux
: Normal normal
: ---
Assigned To: Manish Singh
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2011-06-12 19:07 UTC by Aurelijus
Modified: 2011-09-23 22:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Apply to /usr/lib/gimp/2.0/plug-ins/py-slice.py (662 bytes, patch)
2011-08-10 17:48 UTC, w.noichl
none Details | Review

Description Aurelijus 2011-06-12 19:07:28 UTC
Filters->Web->Slice
http://ubuntuforums.org/showthread.php?p=10908759

$ gimp -v
GNU Image Manipulation Program version 2.6.11

using GEGL version 0.0.22 (compiled against version 0.0.22)
using GLib version 2.28.6 (compiled against version 2.28.5)
using GTK+ version 2.24.4 (compiled against version 2.24.4)
using Pango version 1.28.4 (compiled against version 1.28.4)
using Fontconfig version 2.8.0 (compiled against version 2.8.0)

$ python
>>> sys.version_info
sys.version_info(major=2, minor=7, micro=1, releaselevel='final', serial=0)

Ubuntu 11.04
GNOME 2.32.1

When I added print command to debug right, left, bottom and top variables, in output integer numbers (I mean no 2.5 1.0 etc) were printed.
Comment 1 w.noichl 2011-08-10 17:48:49 UTC
Created attachment 193578 [details] [review]
Apply to /usr/lib/gimp/2.0/plug-ins/py-slice.py
Comment 2 w.noichl 2011-08-10 22:43:02 UTC
Is a duplicate of #652008, and there's already a solution.
Comment 3 w.noichl 2011-08-10 22:44:41 UTC
Comment on attachment 193578 [details] [review]
Apply to /usr/lib/gimp/2.0/plug-ins/py-slice.py

See #652008, the patch presented there makes more sense.
Comment 4 Michael Natterer 2011-09-23 22:00:18 UTC

*** This bug has been marked as a duplicate of bug 652008 ***