delasigh / evoluspencil

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

error- thiz.doc.page[p] is undefined #488

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. when trying to open .ep file. 
2. get error message "thiz.doc.page[p] is undefined"
3. , 

What is the expected output? What do you see instead?
File should open.

What version of the product are you using? On what operating system?
windows 8 and windows 7. Useing product version 1.3.5 and also 1.3.4

Please provide any additional information below.

Original issue reported on code.google.com by karmo.p...@gmail.com on 25 Sep 2012 at 6:22

GoogleCodeExporter commented 8 years ago
Same problem on Windows XP, Pencil 2.0.3

The following actions helped me to open file:
1. rename .ep to .xml
2. open .xml in Visual Studio
3. format all document (for better reading)
4. split document in separate files two pages each

Example:

Original document:

<?xml version="1.0"?>
<Document xmlns="http://www.evolus.vn/Namespace/Pencil">
  <Properties/>
  <Pages>
    <Page> ... page 1 content ... </Page>
    <Page> ... page 2 content ... </Page>
    <Page> ... page 3 content ... </Page>
    <Page> ... page 4 content ... </Page>
    <Page> ... page 5 content ... </Page>
  </Pages>
</Document>

Fixed documents:

<?xml version="1.0"?>
<Document xmlns="http://www.evolus.vn/Namespace/Pencil">
  <Properties/>
  <Pages>
    <Page> ... page 1 content ... </Page>
    <Page> ... page 2 content ... </Page>
  </Pages>
</Document>

<?xml version="1.0"?>
<Document xmlns="http://www.evolus.vn/Namespace/Pencil">
  <Properties/>
  <Pages>
    <Page> ... page 3 content ... </Page>
    <Page> ... page 4 content ... </Page>
  </Pages>
</Document>

<?xml version="1.0"?>
<Document xmlns="http://www.evolus.vn/Namespace/Pencil">
  <Properties/>
  <Pages>
    <Page> ... page 5 content ... </Page>
  </Pages>
</Document>

Original comment by pimkin.m...@gmail.com on 11 Jan 2013 at 5:26