hoangduit / evoluspencil

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

Export to PNG does not work #170

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load the attached EP file;
2. Try exporting to HTML or PNG;
3. Silent failure, no PNGs are created.
(and the HTML export hangs, presumably waiting for a PNG that never gets
created).

What is the expected output? What do you see instead?
The PNGs should be created.

What version of the product are you using? On what operating system?
1.1 build 1 (the latest from the website, 1.1-rc2)
Gentoo GNU/Linux
I've tried Firefox 3.5.8, 3.6.2, and 3.6.3.

Please provide any additional information below.
The attached project used to have 5 pages, neither of the 2 pages that are
left can be exported.

Original issue reported on code.google.com by hilco.wi...@gmail.com on 13 May 2010 at 3:00

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same problem on Ubuntu 12.04, using the 2.0.3 version

Original comment by enrig...@gmail.com on 16 Jan 2013 at 9:11

GoogleCodeExporter commented 9 years ago
Ubuntu 12.10, Pencil 2.0.3.  Export to PNG produces no output, but the 
"Progress" dialog is displayed with a full progress bar.

This happens regardless of whether the "Export page as PNG..." menu option or 
the "Export Document..." menu item is selected.

Original comment by rolandgi...@gmail.com on 16 Jan 2013 at 11:41

GoogleCodeExporter commented 9 years ago
Further to my comment: It's not possible to "cancel" the export dialog. The 
process is not responding.  If I close Pencil, I have to end Firefox by using 
System Monitor and have to restart Pencil.

Original comment by rolandgi...@gmail.com on 16 Jan 2013 at 11:46

GoogleCodeExporter commented 9 years ago
I confirm the last two comments. The same thing happens to me on Ubuntu 12.04, 
using the 2.0.3 version when I 'Export Document...'

When I "Export page as PNG..." the silent failure occurs.

Original comment by enrig...@gmail.com on 16 Jan 2013 at 12:09

GoogleCodeExporter commented 9 years ago
My issue has been resolved.  Ubuntu 12.10 currently is running Firefox 18.  
When I downgraded Firefox back to version 16 the problem was resolved.

Original comment by rolandgi...@gmail.com on 16 Jan 2013 at 7:52

GoogleCodeExporter commented 9 years ago
same problem here, FF18, Pencil 2.0.3, on Linux

Original comment by simonjwi...@gmail.com on 24 Jan 2013 at 1:56

GoogleCodeExporter commented 9 years ago
I get this issue as well with Pencil 2.0.3 (and tried 1.3.5 with same results) 
on  Firefox 18 and Kubuntu 12.10.

Original comment by tony....@dialogue.net on 24 Jan 2013 at 11:49

GoogleCodeExporter commented 9 years ago
it is no compatible with the firefox18,download the xulrunner 
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/16.0.2/runtimes/xulrun
ner-16.0.2.en-US.linux-x86_64.tar.bz2, and unzip to the /opt directory, then 
editor /usr/bin/pencil change /usr/bin/firefox to /opt/xulrunner/xulrunner, the 
issue can resolved temporarily!!

Original comment by qialin@gmail.com on 11 Mar 2013 at 3:38

GoogleCodeExporter commented 9 years ago
Have the same problem. I don't understand why this is 'medium' priority - the 
main functionality is broken for most of the users.

Original comment by BarnabaT...@gmail.com on 20 Mar 2013 at 2:59

GoogleCodeExporter commented 9 years ago
I can reproduce the same problem, with Ubuntu 12.04 and Firefox 19.0.2, using 
the 2.03 installed version.

Using the xulrunner resolved it for me, but I had to add the --no-remote switch 
in the /usr/bin/pencil script.

So, here is the in 3 commands step-by-step fix for others Ubuntu users out 
there:

1. Open a terminal and turn into root:

sudo -i

2. Then, download xulrunner (17Mb) and extract into /opt:

wget -O - 
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/16.0.2/runtimes/xulrun
ner-16.0.2.en-US.linux-x86_64.tar.bz2 | tar xjf - -C /opt

3. Change the Pencil executable script to run with xulrunner instead of Firefox:

sed -i '/application.ini/ { s|^/usr/bin/firefox|/opt/xulrunner/xulrunner|; s/$/ 
--no-remote/; }' /usr/bin/pencil

Original comment by eliasdor...@gmail.com on 21 Mar 2013 at 1:38

GoogleCodeExporter commented 9 years ago
Same problem here. I can't export as PNG. This software isn't even usable with 
such a bug.

Fedora 18, Firefox 19.0.2,, Pencil 2.0.4 & Xulrunner 19.0.2-3.fc18

Original comment by teo.o...@gmail.com on 28 Mar 2013 at 5:36

GoogleCodeExporter commented 9 years ago
I can confirm this issue as well (running 12.04 LTS).  Hanging download window, 
no progress.  Was able to save the same file in Windows (however, some of the 
text was slightly shifted in the text boxes).

Original comment by gbath...@gmail.com on 3 Apr 2013 at 1:12

GoogleCodeExporter commented 9 years ago
Have you tried the proposed workaround using a manual install of xulrunner 16?
I got it working fine under Ubuntu 12.04.

Original comment by eliasdor...@gmail.com on 3 Apr 2013 at 2:02

GoogleCodeExporter commented 9 years ago
Thanks for the workaround proposed in #10, worked perfectly for me also; having 
Mint 13 64 bit, Pencil 2.0.3.

Original comment by xzoli...@gmail.com on 9 Apr 2013 at 1:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have attempted the workaround, but get this error:

/opt/xulrunner/xulrunner: 1: /opt/xulrunner/xulrunner: ELF: not found
/opt/xulrunner/xulrunner: 3: /opt/xulrunner/xulrunner: Syntax error: "(" 
unexpected

Anyone else that had this or knows what to do?

Original comment by rol...@thegreentree.za.net on 9 Apr 2013 at 3:38

GoogleCodeExporter commented 9 years ago
I deleted the /opt/xulrunner directory and redid the whole lot and now I get a 
slightly different error when I run /usr/bin/pencil:

/usr/bin/pencil: line 4: /opt/xulrunner/xulrunner: cannot execute binary file

/usr/bin/pencil contains:

#!/bin/bash
#

/opt/xulrunner/xulrunner --app "/usr/share/pencil/application.ini"

Any help?

Original comment by rol...@thegreentree.za.net on 9 Apr 2013 at 3:50

GoogleCodeExporter commented 9 years ago
Are you sure your system is 64 bit (by system I mean, the kernel you are 
currently using)?
You can check that with the output of the command:

uname -a

For the symptoms it looks like you are trying to run the 64-bit executable on a 
32-bit kernel.
Maybe you want to try using this one instead: 
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/16.0.2/runtimes/xulrun
ner-16.0.2.en-US.linux-i686.tar.bz2

Original comment by eliasdor...@gmail.com on 9 Apr 2013 at 4:30

GoogleCodeExporter commented 9 years ago
Ah, you're quite right! I never checked that the kernel matches the code and 
this machine is running 32bit...  I'll fix it now. Thanks!

Original comment by rol...@thegreentree.za.net on 10 Apr 2013 at 7:54

GoogleCodeExporter commented 9 years ago
Works on Ubuntu 12.10
-----------------------
For 32bit:
---------Begin--------------
wget -O - 
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/16.0.2/runtimes/xulrun
ner-16.0.2.en-US.linux-i686.tar.bz2 | tar xjf - -C /opt && 
sed -i '/application.ini/ { s|^/usr/bin/firefox|/opt/xulrunner/xulrunner|; s/$/ 
--no-remote/; }' /usr/bin/pencil
----------END-------------
For 64bit:
---------Begin--------------
wget -O - 
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/16.0.2/runtimes/xulrun
ner-16.0.2.en-US.linux-x86_64.tar.bz2 | tar xjf - -C /opt && 
sed -i '/application.ini/ { s|^/usr/bin/firefox|/opt/xulrunner/xulrunner|; s/$/ 
--no-remote/; }' /usr/bin/pencil
----------END-------------

Original comment by rskoniec...@gmail.com on 23 May 2013 at 6:19

GoogleCodeExporter commented 9 years ago
Thanks @eliasdor ... its working for me.

Original comment by dipakcpa...@gmail.com on 10 Jun 2013 at 6:45

GoogleCodeExporter commented 9 years ago
Thank you! This works on Ubuntu 12.04 as well.

Original comment by jimmy.bo...@gmail.com on 18 Jul 2013 at 6:32

GoogleCodeExporter commented 9 years ago
Same issue on Ubuntu 13.04 with Firefox 22.

The solution in comment #10 fixes it.

Original comment by maz...@gmail.com on 26 Jul 2013 at 7:51

GoogleCodeExporter commented 9 years ago
I had the same issue on Ubuntu 13.04; pencil 2.0.3. 

Solution was in comment #10. Thanks!

Original comment by marc.lac...@gmail.com on 30 Jul 2013 at 5:46

GoogleCodeExporter commented 9 years ago
This is working over at https://github.com/prikhi/pencil

There's no packaged builds yet though - look for those on the Releases page 
once v2.0.8 hits.

Original comment by Pavan.Ri...@gmail.com on 27 Mar 2015 at 4:00