Export to GitHub

evoluspencil - issue #140

cannot export PDF or Word documents


Posted on Feb 2, 2010 by Happy Lion

What steps will reproduce the problem? 1. Start either standalone or plug-in Pencil, assuming default text template has been installed. 2. Create a new blank document. 3. Select Document-> Export Document 4. Choose PDF or Microsoft Word format 5. Export

What is the expected output? What do you see instead?

The expected output is that the document should be generated in one of these two formats. What you get instead is the error message:

Error exporting document

[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://pencil/content/Exporter/OOConverstionExporter.js :: anonymous :: line 33" data: no]

What version of the product are you using? On what operating system?

Standalone 1.1 build 1 Mozilla plugin 1.1 build 1

These were labeled as RC2 on the download page.

I have tried both of these on both Windows XP and XP64.

Please provide any additional information below.

Comment #1

Posted on Feb 12, 2010 by Quick Panda

I also cannot export to png, or any other format. Using Pencil Standalone 1.1 build 1 Debian Package.

Comment #2

Posted on Feb 12, 2010 by Quick Panda

Apparently, after updating xulrunner to 1.9.0.17 AND installing Export Template, every export is working. Try updating Firefox/xulrunner first.

Comment #3

Posted on Feb 15, 2010 by Swift Lion

I attempted to upgrade xulrunner and Firefox to the latest versions but I am still unable to export PDF files. I installed the PDF Export Template as well. I am using Windows 7 64-Bit.

Comment #4

Posted on Feb 21, 2010 by Swift Lion

Has anyone else run into this issue?

Are there plans to resolve this issue by the developers of Pencil?

If I can provide any further information to assist in resolving the issue please let me know.

Comment #5

Posted on Mar 5, 2010 by Grumpy Rhino

I am getting the same issue for export on Build 1.1

PNG HTML DOC

All pop open a SAVE-AS box for the SVG and then the export to HTML hangs.

Any suggestions

Comment #6

Posted on Mar 6, 2010 by Happy Dog

I am facing the same problem with exporting. None of the format is working for me. I am using standalone on Ubuntu 9.04 (.deb). I do see a message HTML export complete box but there are no files saved.

Help please.

Comment #7

Posted on Mar 31, 2010 by Grumpy Horse

Meanwhile for PDF you can use this (windows only, but I guess similar tools are around for linux also):

  1. Export to PNG
  2. Download and install: http://www.imposant.com/products/image2pdf.htm
  3. Open program
  4. Add PNG
  5. Changes order, if necessary
  6. Save as PDF

Comment #8

Posted on Apr 21, 2010 by Swift Rabbit

I've also a problem with exporting .doc Standalone version 1.1 on windowsXP.

Error message: [Exception... "component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]"nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"location: "JSframe: chrome://pencil/content/Exporter/OOConversionExporter.js:: anonymous:: line 33"data: no]

Comment #9

Posted on Jun 23, 2010 by Helpful Elephant

I have tried the latest version but the problem still exists...any resolutions yet?

Comment #10

Posted on Jun 29, 2010 by Happy Panda

i have the same problem ... Error message: [Exception... "component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]"nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"location: "JSframe: chrome://pencil/content/Exporter/OOConversionExporter.js:: anonymous:: line 33"data: no]

lasted package download today...thanks

Comment #11

Posted on Jul 19, 2010 by Grumpy Elephant

I also get the exact same issues as noted by others.

Pencil Standalone version 1.2 build 0 XULRunner version 1.9.2.3705 WinXP Pro, version 2002, SP3, AMD Turion II Dual-Core, 4GB RAM

Attempting to Export as PDF via both the standard export PDF template as well as the 960gs template.

This has never worked however, I've only had Pencil installed for a little over a week.

Looking forward to a fix for this.

Comment #12

Posted on Jul 29, 2010 by Grumpy Bird

Comment deleted

Comment #13

Posted on Jul 29, 2010 by Grumpy Bird

I've also the same problem

Error message: [Exception... "component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]"nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"location: "JSframe: chrome://pencil/content/Exporter/OOConversionExporter.js:: anonymous:: line 33"data: no]

My system : Pencil Standalone version 1.2 Windows Vista 32bits The program is run with administrator level

Export template download from http://evoluspencil.googlecode.com/files/DefaultODTTemplate.zip http://evoluspencil.googlecode.com/files/DefaultHTMLTemplate.zip

IMPORTANT Information : it works perfectly when pencil is used as a firefox plugin

Comment #14

Posted on Aug 5, 2010 by Happy Rhino

It's failing in this file - OOConversionExporter.js , line 31: var path = Config.get("export.oo.converter.uno.path", "/bin/sh"); this config setting doesn't exist,neither does /bin/sh on windows. I guess it's expecting the OO to be installed for this feature to work?

Comment #15

Posted on Aug 10, 2010 by Swift Rhino

looks like the 00 conversion library is used to convert to .doc. E.g. changing the configuration of the setting in Pencil options to a JOD Convertor and leaving it as http:\example.com will finish successfully but the output is a screenshot of a 'page cannot be found' error.

Comment #16

Posted on Aug 16, 2010 by Grumpy Cat

I'm getting the same error.

Windows 7 x64 Pencil Ver 1.2

Comment #17

Posted on Oct 11, 2010 by Grumpy Elephant

Seems this feature uses unoconv. http://dag.wieers.com/home-made/unoconv/ Never mind the /sh/bin, the unoconv site says ...Requirements: unoconv is written in python. It needs a recent OpenOffice with UNO bindings. Has anyone tried running it before/after installing OpenOffice?

Comment #18

Posted on Nov 7, 2010 by Swift Elephant

Comment deleted

Comment #19

Posted on Nov 17, 2010 by Helpful Horse

I to an receiving this error, like is said above its an awesome tool but nearly useless without being able to export to different file types.

Comment #20

Posted on Dec 16, 2010 by Swift Elephant

Same here. Windows 7 32-bit, using the stand-alone edition. V frustrating, as others have said the app is AMAZING but without the ability to export to a good single-file format that supports multi-page linking, it means I cannot easily share the mock-ups I create :(

Comment #21

Posted on Mar 3, 2011 by Grumpy Lion

Just downloaded this great tool and experiencing the problem above, any likelihood of this ever getting resolved?

Comment #22

Posted on Mar 13, 2011 by Massive Rhino

I too have the same issue. I have it on Win XP, Win 7, and Linux Mint 10 machines. I hate to have to fork over 80 bucks for balsamiq or the likes when this should work fine! As everyone has said, we need to be able to export pdfs with linked pages. Amazing program, but I can't use it!!!

Comment #23

Posted on Mar 17, 2011 by Grumpy Rhino

having same problem. Help!!

Comment #24

Posted on Mar 23, 2011 by Happy Elephant

If i try to export to pdf or doc, i got the same error.

Error message: [Exception... "component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]"nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"location: "JSframe: chrome://pencil/content/Exporter/OOConversionExporter.js:: anonymous:: line 33"data: no]

Pencil Plugin version 1.2 Windows 7 32bit

I got a littlebit further.

1) Download OpenOffice 3.3 2) Install Custom with UNO Bindings 3) Download unovonc from http://dag.wieers.com/home-made/unoconv/ 4) Extract file "unoconv" from the archiv 5) In Pencil: Settings, Document Exporter, Path to UNO converter = C:\Program Files\OpenOffice.org 3\program\python.exe 6) Open %APPDATA%\Roaming\Mozilla\Firefox\Profiles{somechars}.default\extensions\pencil@evolus.vn\chrome\content\Exporter\OOConversionExporter.js with your favorite editor 7) Delete line 39 ("unoconv",) 8) Change line 37 "-c", to the path where you saved unoconv on step 4 (example: "d:\unoconv") 9) Now Pencil say "Export successful" but their is no file.

I fetch a screenshot of the convertion. On screenshot i see the error message "unoconv: you have to provide a filename as argument". Now i checked the normal ODT-Export, this create a buggy file. :(

Hope this helps somebody.

Comment #25

Posted on Mar 24, 2011 by Swift Monkey

Comment deleted

Comment #26

Posted on Mar 24, 2011 by Swift Monkey

I got it to work by trying out comment #24 above slightly differently, as follows:

1) Have some kind of python executable around; I happen to have LibreOffice installed (UNO is included default) 2) Download unoconv from http://dag.wieers.com/home-made/unoconv/ 3) Extract file "unoconv" from this archive 4) In Pencil: Settings=>Options=>Document Exporter=>Path to UNO converter = C:\Program Files\LibreOffice 3\program\python.exe 5) Make sure to have some Pencil HTML templates already installed (Tools=>Manage Export Template=>Install New Template...); they can be downloaded from http://pencil.evolus.vn/en-US/Downloads/Templates.aspx 6) in Windows XP, Open %Documents and Settings%\Application Data\Mozilla\Firefox\Profiles{somechars}.default\extensions\pencil@evolus.vn\chrome\content\Exporter\OOConversionExporter.js with your favorite editor 7) Don't delete anything, just change the path var in line 30 to point to the folder in which the unoconv file in #3 resides:

    var path = Config.get("export.oo.converter.uno.path", "C:\unoconv-extract\");

When doing an export, I chose Single Web Page, All pages in the document, and made sure to choose one of the templates installed in #5; I briefly saw a SYSTEM ERROR! message, but then the "Document has been exported; location: " message appears, and it did generate the desired html content to the directory I chose.

Comment #27

Posted on Apr 14, 2011 by Grumpy Rhino

I have got around this problem by using SnagIt to capture my drawings and then placing them into my word design documents as images.

Comment #28

Posted on Apr 22, 2011 by Massive Ox

Export the document as a PNG to your desktop. Right-click on the PNG and convert to Adobe PDF.

I used Adobe Acrobat Pro, but I'm assuming you can probably use another Free PDF creation software to do the same.

Comment #29

Posted on Jul 4, 2011 by Massive Cat

same problem! can't use PNG to PDF as the linking properties doesnt stick with the PNG files! Please Help!!!!

Comment #30

Posted on Jul 21, 2011 by Grumpy Giraffe

I have the same problem and I cann't sort out using the pencil firefox plugin. However it is easy to create a word document, just exporting in html default (html default template) and open the index.html page with Microsoft word. In this way you can see the pages images and save the document as a .doc file. The only problem is you loose the links in images :(

Comment #31

Posted on Jul 21, 2011 by Grumpy Giraffe

Comment deleted

Comment #32

Posted on Oct 14, 2011 by Massive Lion

Bug still here.

Pencil 1.3, standalone or FF 4/7 plug-in. Windows Seven, XP and Ubuntu 10.04.

Comment #33

Posted on Oct 18, 2011 by Massive Bird

Any solutions to this? Issue still persists. Using Pencil 1.3, FF7 plug-in

Comment #34

Posted on Oct 19, 2011 by Massive Monkey

Getting the same issue. Have used with both 1.2 standalone install on Win7 x64 and with 1.3 xpi on FF7.

Comment #35

Posted on Nov 17, 2011 by Grumpy Wombat

same issue for me stand-alone version: 1.3,2 OS: Win7, 32-bit

Comment #36

Posted on Nov 22, 2011 by Massive Rabbit

same issue.

Pencil-1.3.2.win32.installer.exe

OS:Win XP, 32-bit

Comment #37

Posted on Nov 28, 2011 by Massive Cat

Same issue.

OS: Ubuntu 11.10 running on VMware fusion.

Comment #38

Posted on Nov 29, 2011 by Happy Rabbit

same issue, than I updated Pencil to latest version, now NO existing templates and I can not install ANY templates from download section on Evolus website - fantastic!!!

Running windows 7 pro (32-bit), have optimized evolus pencil via cp tweaks and still no go.

yippe yay, bangs head on desk (thinking - oh, why, oh why did I update)

Comment #39

Posted on Dec 15, 2011 by Massive Rhino

Comment deleted

Comment #40

Posted on Dec 20, 2011 by Swift Kangaroo

Same as comment 38. Installed the windows 7 (32bit) version and I can't even install the templates (nothing happens). In the Firefoz version, the bug is still there.

Comment #41

Posted on Jan 5, 2012 by Massive Elephant

Comment deleted

Comment #42

Posted on Sep 26, 2013 by Helpful Rhino

I have this problem with version 2.0.3 on mac osx 10.8.5. Temporary solution is use print button, then my mac can process it with PDF.

Comment #43

Posted on Oct 21, 2013 by Quick Bear

Windows7 64-bit. Still have problems exporting to PDF. I get a file and some of the containers and boxes, but not text. It seems only the text is missing in fact. What am I missing?

Comment #44

Posted on Jun 26, 2014 by Grumpy Hippo

Comment deleted

Comment #45

Posted on Jun 26, 2014 by Helpful Cat

Unable to export to PDF on Mac OSX 10.9.3 (Mavericks) with Pencil 2.0.6. Other exports seem to work fine.

Comment #46

Posted on Oct 4, 2014 by Helpful Ox

Unable to export to PDF on Mac 10.9.5 (Mavericks) with Pencil 2.0.6.

Comment #47

Posted on Apr 1, 2015 by Swift Lion

Comment deleted

Status: New

Labels:
Type-Defect Priority-Medium