You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. I create a document that has a lot of tabs, uses a lot of Windows XP
Widgets, some Common Shapes, and a few images from PNG. (No Annotations or
GTK Widgets used)
2. I work on it for a few days, saving often.
3. Today, I open the document, work on it some more. Then I click on Save.
What is the expected output? What do you see instead?
- I get this error message:
imageData.data is undefined
Location: chrome://pencil/content/Document/PersistentHooks.js (17)
Stacktrace:
([object Element])@chrome://pencil/content/Document/PersistentHooks.js:17
("//svg:g[@p:type='Shape' and
@p:def='Evolus.Common:Bitmap']//p:property[@name='imageData']",[object
XMLDocument],(function (property) {var imageData =
ImageData.fromString(property.textContent);if
(!imageData.data.match(/^file:\/\/.*$/)) {return;}var relativePath =
thiz.uriToRelative(imageData.data);if (relativePath) {imageData.data =
relativePath;Dom.empty(property);property.appendChild(property.ownerDocument.cre
ateCDATASection(imageData.toString()));}}))@chrome://pencil/content/Common/Util.
js:12
([object XMLDocument])@chrome://pencil/content/Document/PersistentHooks.js:15
([object
Object],"D:\\Projects\\layout-packages.ep")@chrome://pencil/content/Document/XML
DocumentPersister.js:102
()@chrome://pencil/content/Common/Controller.js:194
oncommand([object XULCommandEvent])@chrome://pencil/content/UI/Window.xul:1
After I click OK, the project still saves, and nothing seems to get
lost/corrupted.
What version of the product are you using? On what operating system?
- Pencil Version: 1.0
- Windows XP SP3
Please provide any additional information below.
- Due to the confidential nature of this project, I cannot include the EP
file. Though I can share this much:
- The document has 9 tabs, most of the tabs use other tabs as a background.
- The document has several bitmap images; some I inserted via the
Common Shape, some I drag-and-dropped directly onto the canvas. These
bitmap images are from the FamFamFam Silk Icons set.
- To test a theory, I tried to delete all the bitmap images from the
document, but when I save, it still shows the same error.
Original issue reported on code.google.com by brownsp...@gmail.com on 22 Aug 2008 at 9:28
The text was updated successfully, but these errors were encountered:
Forgot to add, I'm using the standalone version.
Also, I tried (on a copy of the file, which exhibits the same error) to remove
all
but the first tab, and it saved without error.
Original comment by brownsp...@gmail.com on 22 Aug 2008 at 10:26
Ok, I have isolated the source of the problem: a bitmap image's path has been
changed. It took me a while to notice that an image wasn't displaying, and that
I
renamed the folder to which that image belongs. The error message was a bit on
the
cryptic side for me to figure out what exactly was happening.
A friendlier error message might be in order. You can remove this issue, I'll
just
make a new one.
Original comment by brownsp...@gmail.com on 22 Aug 2008 at 2:14
Original issue reported on code.google.com by
brownsp...@gmail.com
on 22 Aug 2008 at 9:28The text was updated successfully, but these errors were encountered: