Cannot import SVG file from upload.wikimedia.org

Bug #1364663 reported by Thangalin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

Inkscape 0.48.4 r9939 on 64-bit Xubuntu Linux 14.04.1 LTS

1. Start Inkscape
2. Type CTRL+i to import a new SVG drawing
3. Set Location in the "Select file to import" dialog to: http://upload.wikimedia.org/wikipedia/commons/a/ab/Inkscape_0.48.2_%282%29.svg
4. Click Open.

Expected Results

The file is opened and imported into the current drawing.

Actual Results

Error dialog header: "The folder contents could not be displayed"
Error dialog text: "Not found"

Additional Details

recently-used.xbel has read-only attributes for all applications, which yields the following error:

Attempting to store changes into `$HOME/.local/share/recently-used.xbel', but failed: Failed to rename file '$HOME/.local/share/recently-used.xbel.CJFWLX' to '$HOME/.local/share/recently-used.xbel': g_rename() failed: Operation not permitted

However, not being able to update the recently-used.xbel file should not affect importing SVG images from the web. I do not believe this is the source of the problem (see the work around for details).

Work Around

1. wget "http://upload.wikimedia.org/wikipedia/commons/a/ab/Inkscape_0.48.2_%282%29.svg"
2. Type CTRL+i to import a new SVG drawing
3. Select Inkscape_0.48.2_(2).svg
4. Click Open.

The file opens successfully and the same error about recently-used.xbel appears.

Tags: importing
Revision history for this message
Thangalin (thangalin-deactivatedaccount) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

not reproduced on Windows 7, Inkscape 0.48.5. The file opens normally when I copy and paste the address.
I don't have wget on this machine so I can't comment on the workaround.

Revision history for this message
Thangalin (thangalin-deactivatedaccount) wrote :

Upgraded to Inkscape 0.48.5 r (Jul 24 2014) on Xubuntu 14.04.1 LTS.

The problem persists, using Ctrl+i and Ctrl+o.

The work around was to demonstrate that the SGV is valid and can be loaded (locally) within Inkscape.

Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48.5 on Ubuntu 14.04 (VM, 64bit):
- The specific URL <http://upload.wikimedia.org/wikipedia/commons/a/ab/Inkscape_0.48.2_%282%29.svg> fails to load via GUI.
- The URL does open ok when used on the command line:

$ inkscape http://upload.wikimedia.org/wikipedia/commons/a/ab/Inkscape_0.48.2_%282%29.svg

- Other SVG files, e.g. <https://inkscape.org/static/images/inkscape-logo.svg> open successfully, via CLI and GUI.

tags: added: importing
Revision history for this message
su_v (suv-lp) wrote :

Also reproduced with current trunk r13669 on Ubuntu 14.04 (VM, 64bit).

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.