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 566433 - Could not read a valid svg file (inkspace read it)
Could not read a valid svg file (inkspace read it)
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on: 615490
Blocks:
 
 
Reported: 2009-01-03 18:52 UTC by bastien roucaries
Modified: 2010-04-17 06:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fault file (20.81 KB, application/xml)
2009-01-03 18:53 UTC, bastien roucaries
Details

Description bastien roucaries 2009-01-03 18:52:45 UTC
Hi 

rsvg-view ooimpress-svg-export.svg fail to handle the following file whereas  inkscape does (this svg validate using http://validator.w3.org/).

rsvg-view ooimpress-svg-export.svg
Error displaying image


ltrace:
__libc_start_main(0x4038e0, 2, 0x7fffd8b59fb8, 0x405470, 0x405460 <unfinished ...>
g_thread_init(0, 0x7fffd8b59fb8, 0x7fffd8b59fd0, 0, 0) = 0x1b31ce0
g_option_context_new(0x405660, 0x1b2fff0, 0x1b30930, 5, 0) = 0x1b31d20
g_option_context_add_main_entries(0x1b31d20, 0x7fffd8b59af0, 0, 0x72657765695620, 0xfefefefefefefeff) = 0
gtk_get_option_group(1, 0x7f0acf4e7be0, 0, 0x7f0acf4e3a40, 0x7fffd8b59e48) = 0x1b32c00
g_option_context_add_group(0x1b31d20, 0x1b32c00, 0x1b32e10, 0x7f0acf4e3a40, 4) = 0x1b30ec0
g_option_context_set_help_enabled(0x1b31d20, 1, 0, 0x1b30ec0, 0) = 1
g_option_context_parse(0x1b31d20, 0x7fffd8b57aec, 0x7fffd8b57ae0, 0, 0) = 1
g_option_context_free(0x1b31d20, 2, 0x7fffd8b59fb8, 0x7fffd8b57aec, 0x7fffd8b59fb8) = 209
rsvg_init(0, 0x7f0acee1a6f8, 0x1b43bf8, 0, 0)    = 0
rsvg_set_default_dpi_x_y(1, 0, 0x7f0acf060d48, 0x7f0acbc26a80, 0x7f0acbe5b760) = 0x7f0acf4a1790
_rsvg_acquire_xlink_href_resource(0x1b3a400, 0x1b3a400, 0, 0x4056800000000000, 0x1b43bf0) = 0x1b5db80
rsvg_handle_new(0x1b5e790, 21306, 0x7fffd8b59e00, 0x1b3a400, 0) = 0x1b5ad40
rsvg_handle_set_size_callback(0x1b5ad40, 0x402e40, 0x7fffd8b59e00, 0, 0x7f0acf9a7ca8) = 0x1b66bd0
rsvg_handle_set_base_uri(0x1b5ad40, 0x1b3a400, 0, 0, 0x7f0acf9a7ca8) = 0x1b66bd0
rsvg_handle_write(0x1b5ad40, 0x1b5e790, 21306, 0x7fffd8b59e88, 0x1b38390) = 1
rsvg_handle_close(0x1b5ad40, 0x7fffd8b59e88, 0x1b66bb0, 0x1b66e40, 0) = 1
rsvg_handle_get_pixbuf_sub(0x1b5ad40, 0, 0x1b691d0, 0x1b8b550, 0x1b68ea0 <unfinished ...>
_rsvg_size_callback(0x7fffd8b57a00, 0x7fffd8b57a04, 0x7fffd8b59e00, 0x402e40, 0x1b68ea0) = 0
<... rsvg_handle_get_pixbuf_sub resumed> )       = 0
g_type_check_instance_cast(0x1b5ad40, 80, 0, 0x7f0ac40008b0, 0xffffffff) = 0x1b5ad40
g_object_unref(0x1b5ad40, 80, 80, 917504, 0xffffffff) = 0
g_print(0x4056b3, 0, 0x7f0acf060d48, 1, 0x7f0acf9a7ca8Error displaying image) = 0
g_print(0x40570a, 0x7f0acee1a690, 36, 0, 0x7f0ac4000930
) = 0

Regards
Comment 1 bastien roucaries 2009-01-03 18:53:24 UTC
Created attachment 125697 [details]
Fault file
Comment 2 Luca Bruno 2009-05-08 15:13:03 UTC
With 2.26.0 the viewer is being opened but still no image is being displayed.
Comment 3 roucaries bastien 2009-12-25 16:39:29 UTC
Any news .
Comment 4 Hiroyuki Ikezoe 2010-04-14 06:03:12 UTC
Now rsvg-view in current master can be opened the attachment file with -x, -y or -w -h options (each value should be sufficiently small, though).

The patch in bug 615490 let rsvg-view open big image to scaling down the image.
Comment 5 Hiroyuki Ikezoe 2010-04-17 06:32:27 UTC
Now bug 615490 has been fixed.