The script
( /usr/share/inkscape/extensions/svg_and_media_zip_output.py ) changed
from 0.46 to 0.47 but the bug still exists (for different reasons). To
reproduce the bug using jaunty with inkscape 0.47 I do the following:

* From the menu, select "File->Import" and take an image with a space in
  the file name like "my image.jpg"
* Menu: "File->Save"
* Chose "Compressed Inkscape SVG with media (*.zip)" as file type
After pressing "save" I end up in with the message "Could not locate
file: file:///home/elias/BugReports/inkscape/my%20image.jpg"

The reason is, that inkscape translates the space into the sequence %20
and the python script, wich saves it, does not retranslates into a space
again. 
This is the same with other foreign characters like the German umlaute
äöü.


$ lsb_release -rd
Description:    Ubuntu 9.04
Release:        9.04

$ apt-cache policy inkscape 
inkscape:
  Installiert: 0.47~pre0-0ubuntu1~9.04
  Kandidat: 0.47~pre0-0ubuntu1~9.04
  Versions-Tabelle:
 *** 0.47~pre0-0ubuntu1~9.04 0
        100 /var/lib/dpkg/status
     0.46-5ubuntu4 0
        500 http://de.archive.ubuntu.com jaunty/main Packages

Am Dienstag, den 25.08.2009, 11:56 +0000 schrieb Alex Valavanis:
> I am unable to reproduce this bug using karmic alpha 4.  I tried the
> following steps:
> 
> * Draw a rectangle
> * From the menu, select "File->Save"
> * Choose "Compressed Inkscape SVG with media (*.zip)" from the file type 
> drop-down list
> * Enter "drawing.zip" as the filename and press the "save" button.
> 
> If you used a different procedure to cause the bug, please let me know.
> 
> $ lsb_release -rd
> Description:  Ubuntu karmic (development branch)
> Release:      9.10
> 
> $ apt-cache policy inkscape
> inkscape:
>   Installed: 0.47~pre1-0ubuntu1
>   Candidate: 0.47~pre1-0ubuntu1
>   Version table:
>  *** 0.47~pre1-0ubuntu1 0
>         500 http://gb.archive.ubuntu.com karmic/main Packages
>         100 /var/lib/dpkg/status
>

-- 
svg_and_media_zip_output.py crashed in write() because of wrong character 
encoding
https://bugs.launchpad.net/bugs/232216
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to