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 304381 - gimp_path_get_points fails if path has more than one unclosed "path"
gimp_path_get_points fails if path has more than one unclosed "path"
Status: RESOLVED DUPLICATE of bug 129598
Product: GIMP
Classification: Other
Component: Gimp-Python
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: Manish Singh
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-05-16 17:11 UTC by Emanuel Greisen
Modified: 2008-01-15 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emanuel Greisen 2005-05-16 17:11:27 UTC
Distribution/Version: Gentoo

* New image
* Select Path tool
* Make two unconnected, non-closed paths (in the same path)
* Call: pdb.gimp_path_get_points(imgid, currentpath) (from python, don't know if
this is a problem when writing plugins in c/perl/script-fu)
Comment 1 Emanuel Greisen 2005-05-16 17:13:57 UTC
plugins written in C also fail. Here is the output, both from python, and from
the C-plugin:

(gimp-2.2:27902): Gimp-Vectors-WARNING **: gimp_vectors_compat_get_points():
convert failed
Traceback (most recent call last):
  • File "/usr/lib/gimp/2.0/python/gimpfu.py", line 589 in _run
    res = _interact(func_name, start_params)
  • File "/usr/lib/gimp/2.0/python/gimpfu.py", line 261 in _interact
    return run_script([])
  • File "/usr/lib/gimp/2.0/python/gimpfu.py", line 257 in run_script
    return apply(function, params)
  • File "/home/emanuel/.gimp-2.2/plug-ins/bezier_edge.py", line 19 in python_bezier_edge
    python_bezier_edge_undowrapped(timg, tdraw)
  • File "/home/emanuel/.gimp-2.2/plug-ins/bezier_edge.py", line 26 in python_bezier_edge_undowrapped
    point_info = pdb.gimp_path_get_points(timg, path_name)
RuntimeError: execution error

(gimp-2.2:27902): Gimp-Vectors-WARNING **: gimp_vectors_compat_get_points():
convert failed
/home/emanuel/.gimp-2.2/plug-ins/gimp-plugin-path-grow: fatal error:
Segmentation fault
Comment 2 Simon Budig 2005-05-16 19:10:16 UTC
Yes, known problem. The ancient API for paths does not support multiple
unconnected open strokes, the API needs to be redone.

This is a duplicate of bug #129598

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