flaviodesousa / pencil

Automatically exported from code.google.com/p/evoluspencil
1 stars 0 forks source link

Impossible to import exported collection from "My Stuff" #612

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Export Collection from "My Stuff"
2. Try to import exported zip.
3. Error "Unable to import file" appears

What is the expected output? What do you see instead?
I thought that after export I will get a zip with "definition.xml" and Icons 
folder, but instead there is only "Definition.xml". What is more, it looks 
different than described in here:
http://pencil.evolus.vn/wiki/ref/StructureAndFormat.html

Here is an example of generated files:
<?xml version="1.0"?>
<p:Collections xmlns="http://www.w3.org/2000/svg"
    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    xmlns:html="http://www.w3.org/1999/xhtml"
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:p="http://www.evolus.vn/Namespace/Pencil">
<p:Collection p:Id="xtm_1383568036156" p:Name="XTM" p:Description="" 
p:Author="" p:InfoUrl="">
<p:Groups>
    <p:Group p:Id="concrete-mixer_1383568036156" p:Name="concrete-mixer" p:Icon="Icons/concrete_mixer.png">
        <p:Content>
            <g xmlns="http://www.w3.org/2000/svg" p:type="Shape" xmlns:p="http://www.evolus.vn/Namespace/Pencil" p:def="Evolus.iOS:loading" id="0c081a371c60417b980ec13466e80b06" transform="matrix(1,0,0,1,97,363)"><p:metadata/>
            <image width="20" height="20" x="0" y="0" xlink:href="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANCSURBVDiNjVRNaBxlGH7e752Z1Wyy2kZSS9BIy0phW3KxoEjR3jwoQmFXKd4FITltfpYs+WaYSZaAJhcRkoN4VLDiz0FPBSsIPXiqJlgRfw4mJt22sZ1kszPf93rZDensVnxgYL7n+b7ne/9mICLIPr7ve0fXYRhuhWEovu8/2eUAUL+zChlEUfQqM18Pw/ClrNbFysrKo77vjwZBMJDVegwBjAI4SURBpVLhrEhElCTJMcdxeG9vr0fvMRwZGfkQwG8AzoyPj7+V1X3fH0qSxE3TNFlaWrrXc6GIoNFoXLDWXkjT9AOt9d0oil4B8JGINK21LzDzTQAnjDGjjuMwANVsNreXl5f319bW3J2dnZFcLne3Wq3GBIDCMPwMwCkAuyLyvrX2U2b+BIBnjJnwPG+/3W4zgNsAjgOwAG4BOM7Mx5iZ2u12S2v9J4kIgiB4hpmnAbzYqdPPuVxuulqt/t6nxpicnMwNDw+Pep7ntNttuK67WywWb5XLZUOdEQAARFH0MhFVReS+Meay1tr2MwSAIAie7rxua61bhzVcXV11Nzc3qUvk83k3juMhrfXWw8wAoFKpcKlU6umys729/bnjOG6XODg4AIBL/2UGAKVSSZRS53sMAdwXEe8omc/nJbuxH5RSBz2G9Xr9jaNEEAQqjuOeL6APHikUCjcmJiYeMH1gsBuNxhlmjpj57f8R3bnd3d2LURSdBnDYg+5gDxtj3gTwPAAQ0Vaapg2t9R0APenPzMwMDQ4OPktEJwHAWhu7rvtjrVbbIRGhhYWFd0VkhIhaxpgvReRrpdQlInqKiD4eGBi4bYxRY2NjycbGxkVmfjxN0yue5z1mrS2JSEEpdVAsFq+qTgRfAPiemafn5+e/chznBIDzIvIEM+/FcXy51Wq9s76+PqiUYhEZUEqdq9VqzXq9/h0R3UiS5KdyuWwcAJibm7sG4Fo3JWvt60REAL6dnZ29E0XRYbrMfD1N09eUUmenpqZuikgM4I++TQGAxcXFs0R0ioj+McZczeq1Wq0J4BcRcQqFwnM9zcoS1tp9AH8D+EZr3c7qnT0/ALhHRH9lNSdL1Ov1X4MgeE9r/dDh1lq3iOiKHP0RdPAvrsCKPLOMGiUAAAAASUVORK5CYII=" xmlns:xlink="http://www.w3.org/1999/xlink" p:name="loading" id="08557a57319345f1be1da59bf3471892"/>
        </g>
</p:Content>
</p:Group>
</p:Groups>
</p:Collection>
</p:Collections>

What version of the product are you using? On what operating system?
Pencil v. 2.0.5. standalone on WindowsXP

Please provide any additional information below.
I don't know if this is a problem of export or import collection. Export should 
have Icons included, I tried to add it manually and also manually unzip it into 
folder "Stencil" but probably it is a wrong place.

Please help me to import collection from "My Stuff"

Best regards,
Ania 

Original issue reported on code.google.com by kordas.a...@gmail.com on 2 Jan 2014 at 11:52