aramds / evoluspencil

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

cannot export PDF or Word documents #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by lpennin...@gmail.com on 2 Feb 2010 at 8:32

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

Original comment by willy.na...@gmail.com on 12 Feb 2010 at 11:10

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

Original comment by willy.na...@gmail.com on 12 Feb 2010 at 11:22

GoogleCodeExporter commented 8 years ago
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. 

Original comment by dakyki...@gmail.com on 15 Feb 2010 at 10:35

GoogleCodeExporter commented 8 years ago
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.

Original comment by dakyki...@gmail.com on 21 Feb 2010 at 7:53

GoogleCodeExporter commented 8 years ago
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

Original comment by shane.be...@apps.aapt.com.au on 5 Mar 2010 at 4:09

GoogleCodeExporter commented 8 years ago
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.

Original comment by moiz.bhu...@gmail.com on 6 Mar 2010 at 10:54

GoogleCodeExporter commented 8 years ago
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

Original comment by niek...@gmail.com on 31 Mar 2010 at 4:23

GoogleCodeExporter commented 8 years ago
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]

Original comment by yv1...@hotmail.com on 21 Apr 2010 at 1:11

GoogleCodeExporter commented 8 years ago
I have tried the latest version but the problem still exists...any resolutions 
yet?

Original comment by prin...@gmail.com on 23 Jun 2010 at 4:49

GoogleCodeExporter commented 8 years ago
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

Original comment by web...@gmail.com on 29 Jun 2010 at 1:17

GoogleCodeExporter commented 8 years ago
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.

Original comment by ratioswitch@gmail.com on 19 Jul 2010 at 8:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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

Original comment by abmc...@gmail.com on 29 Jul 2010 at 7:55

GoogleCodeExporter commented 8 years ago
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?

Original comment by asavel...@hertz.com on 5 Aug 2010 at 8:29

GoogleCodeExporter commented 8 years ago
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.

Original comment by john.pat...@blackpool.gov.uk on 10 Aug 2010 at 10:12

GoogleCodeExporter commented 8 years ago
I'm getting the same error.

Windows 7 x64 
Pencil Ver 1.2

Original comment by balea...@gmail.com on 16 Aug 2010 at 8:38

GoogleCodeExporter commented 8 years ago
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?

Original comment by christop...@gmail.com on 11 Oct 2010 at 12:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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.

Original comment by DsGalla...@gmail.com on 17 Nov 2010 at 2:36

GoogleCodeExporter commented 8 years ago
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 :(

Original comment by ollie.co...@gmail.com on 16 Dec 2010 at 3:13

GoogleCodeExporter commented 8 years ago
Just downloaded this great tool and experiencing the problem above, any 
likelihood of this ever getting resolved?

Original comment by faisa...@gmail.com on 3 Mar 2011 at 4:13

GoogleCodeExporter commented 8 years ago
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!!!

Original comment by wrdi...@gmail.com on 13 Mar 2011 at 2:16

GoogleCodeExporter commented 8 years ago
having same problem. Help!!

Original comment by maxla...@gmail.com on 17 Mar 2011 at 7:29

GoogleCodeExporter commented 8 years ago
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.

Original comment by mau...@googlemail.com on 23 Mar 2011 at 12:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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\ch
rome\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.

Original comment by southpaw...@gmail.com on 24 Mar 2011 at 7:27

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

Original comment by dvincent...@gmail.com on 14 Apr 2011 at 4:26

GoogleCodeExporter commented 8 years ago
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.

Original comment by wrg1...@gmail.com on 22 Apr 2011 at 7:42

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

Original comment by hrttiw...@gmail.com on 4 Jul 2011 at 6:00

GoogleCodeExporter commented 8 years ago
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 :(

Original comment by eduardo....@gmail.com on 21 Jul 2011 at 8:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Bug still here.

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

Original comment by lemi...@gmail.com on 14 Oct 2011 at 11:17

GoogleCodeExporter commented 8 years ago
Any solutions to this? Issue still persists.
Using Pencil 1.3, FF7 plug-in

Original comment by supriya....@gmail.com on 18 Oct 2011 at 3:52

GoogleCodeExporter commented 8 years ago
Getting the same issue.  Have used with both 1.2 standalone install on Win7 x64 
and with 1.3 xpi on FF7.

Original comment by ray.r...@gmail.com on 19 Oct 2011 at 4:04

GoogleCodeExporter commented 8 years ago
same issue for me
stand-alone version: 1.3,2
OS: Win7, 32-bit

Original comment by niti...@gmail.com on 17 Nov 2011 at 4:29

GoogleCodeExporter commented 8 years ago
same issue.

Pencil-1.3.2.win32.installer.exe 

OS:Win XP, 32-bit

Original comment by zhangyz...@gmail.com on 22 Nov 2011 at 9:37

GoogleCodeExporter commented 8 years ago
Same issue. 

OS: Ubuntu 11.10 running on VMware fusion.

Original comment by aru...@gmail.com on 28 Nov 2011 at 2:57

GoogleCodeExporter commented 8 years ago
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)

Original comment by Ants.Cal...@gmail.com on 29 Nov 2011 at 7:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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.

Original comment by ralkaish...@gmail.com on 20 Dec 2011 at 9:45

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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.

Original comment by gusdec...@gmail.com on 26 Sep 2013 at 6:56

GoogleCodeExporter commented 8 years ago
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?

Original comment by johanbac...@gmail.com on 21 Oct 2013 at 8:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Unable to export to PDF on Mac OSX 10.9.3 (Mavericks) with Pencil 2.0.6. Other 
exports seem to work fine.

Original comment by nickbe...@gmail.com on 26 Jun 2014 at 10:48

GoogleCodeExporter commented 8 years ago
Unable to export to PDF on Mac 10.9.5 (Mavericks) with Pencil 2.0.6.

Original comment by rafcik...@gmail.com on 4 Oct 2014 at 6:07