hdsoftware / evoluspencil

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

Export to PNG don't work #526

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a new document
2. place something on the new page
3. file - export page as png - choose folder - save

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

expected - PNG file
instead - only svg file, but not complete (for example: text in rectangles 
missing and background too)

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

Evolus Pencil v.2.0.3
OS - Ubuntu 12.04.1 LTS
Firefox - 18.0

Please provide any additional information below.

export worked sometime ago (2-3 weeks).
i CAN export to pdf, but not to ODT ("Progress..." window hang)  :(

Original issue reported on code.google.com by oleg.re...@gmail.com on 15 Jan 2013 at 10:06

GoogleCodeExporter commented 9 years ago
same problem on version 2.0.4, running on Fedora 17
Export to pdf works.
Export to: odt, png, single web page doesn't - progress window hangs.
Everything worked fine a few weeks ago.

Original comment by liviu.va...@gmail.com on 22 Jan 2013 at 7:09

GoogleCodeExporter commented 9 years ago
same problem.
And the pdf export is not complet. The table/Tree is not exportable.

Using Ubuntu 12.04 x86-64.

Original comment by mcjo79@gmail.com on 11 Feb 2013 at 9:08

GoogleCodeExporter commented 9 years ago
Fedora 17 , version 2.0.4 , xulrunner:Mozilla XULRunner 18.0.2 - 20130206130216
Fedora 18 , version 2.0.4 , xulrunner:Mozilla XULRunner 19.0 -20130218162742

can't export document to png on upon two environment.

A:  <Menu> --> Export Page as PNG --> choose a file --> save --> then nothing 
changes.
B:  <Menu> --> Export Document --> Rasterized graphics (PNG files) --> select 
any "Pages" to export --> Next --> Browse to select a destination --> finish 
--> Progress bar doesn't change.

Original comment by physics...@gmail.com on 10 Mar 2013 at 5:01

GoogleCodeExporter commented 9 years ago
Hello , It seems that i have solved this problem.
the reason why can't save the png because the nsIWebBrowserPersist require 7 
parameters on some xulrunner. 

so,correct it is easy :
find 264 line in svgRasterizer.js , change the following line
persist.saveURI(uri, null, null, null, null, localFile); 
to 
persist.saveURI(uri, null, null, null, null, localFile , null );

restart pencil , it works!

Original comment by physics...@gmail.com on 11 Mar 2013 at 9:42

GoogleCodeExporter commented 9 years ago
your suggest does not work for me.

Original comment by lorenzo....@gmail.com on 11 Mar 2013 at 11:07

GoogleCodeExporter commented 9 years ago
have you try this:
  /usr/lib/xulrunner/xulrunner --app /usr/share/pencil/application.ini -purgecaches

Original comment by physics...@gmail.com on 11 Mar 2013 at 12:46

GoogleCodeExporter commented 9 years ago
Working for me :-) thank !

Original comment by bra...@gmail.com on 11 Mar 2013 at 1:07

GoogleCodeExporter commented 9 years ago
Updated : https://bugzilla.redhat.com/show_bug.cgi?id=920043 and switched 
priority to high.

Original comment by bra...@gmail.com on 11 Mar 2013 at 1:10

GoogleCodeExporter commented 9 years ago
This suggest doesn't work for me either.
I tried the purge, but maybe there is something wrong...
"Command not found"

:(

Original comment by pisande...@gmail.com on 16 Apr 2013 at 2:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi! I had the same the issue after upgrading my archlinux system. 

First I was not able to open evolus-pencil because xulrunner-bin was not found. 
xulrunner-bin belongs to the version 14.*. So, I changed the execution of that 
file to the newest version of it wich is located in 
/usr/lib/xulrunner-devel-20.0/bin/xulrunner --app "$APP_INI", in 
/usr/lib/evolus-pencil-svn/evolus-pencil.sh.

Second issue arises after this fix, when Gecko attempts to load that version of 
xulrunner, so I changed to MaxVersion=20.* in 
/usr/lib/evolus-pencil-svn/app/application.ini.

At this point evolus-pencil is running fine.

Finally when I attempted to export to any different format, evolus-pencil fails 
as this thread reports the issue.
It was fixed thank's to the suggestion #4.

find 264 line in svgRasterizer.js , change the following line
persist.saveURI(uri, null, null, null, null, localFile); 
to 
persist.saveURI(uri, null, null, null, null, localFile , null );

Thank's :)

Original comment by fhernand...@gmail.com on 30 Apr 2013 at 8:09

GoogleCodeExporter commented 9 years ago
This bug has been around forever. It's basically a critical defect, there's not 
much point in having a diagram you can't export. Any progress?

Original comment by coryd...@gmail.com on 10 Aug 2013 at 8:33

GoogleCodeExporter commented 9 years ago
Also, FYI the svgRasterizer.js fix does not work for me on Ubuntu 13.04; 
otherwise all the symptoms are as reported.

Original comment by coryd...@gmail.com on 10 Aug 2013 at 8:38

GoogleCodeExporter commented 9 years ago
same problem 
fedora 19
firefox 21
export pdf works,can not get a png file

Original comment by step.to....@hotmail.com on 14 Aug 2013 at 5:38

GoogleCodeExporter commented 9 years ago
Experiencing this problem too, for several months. No error message.

Here's my environment:
* pencil 2.0.4 (distribution package) 
* Fedora release 19
* Linux 3.10.4-300.fc19.x86_64
* Mozilla XULRunner 23.0 - 20130805131520
* Firefox 23

Everything is working well on windows.

Fix suggested on comment 
http://code.google.com/p/evoluspencil/issues/detail?id=526#c6 did not work.

Kind regards

Original comment by psaml...@gmail.com on 19 Aug 2013 at 9:47

GoogleCodeExporter commented 9 years ago
SVG export is working well too.

Original comment by psaml...@gmail.com on 19 Aug 2013 at 3:37

GoogleCodeExporter commented 9 years ago
For those with the "Command not found" problem you can do:
/usr/bin/firefox --app "/usr/share/pencil/application.ini" -purgecaches
instead.

That and change line 264 line in 
/usr/share/pencil/content/pencil/common/svgRasterizer.js from
persist.saveURI(uri, null, null, null, null, localFile); 
to 
persist.saveURI(uri, null, null, null, null, localFile , null );
did the trick for me.

I use Ubuntu 12.04 and I'm using pencil v2.0.3.

Original comment by playes...@gmail.com on 18 Sep 2013 at 10:54

GoogleCodeExporter commented 9 years ago
Thanx to #17 - this does the trick!!!

:-)

Original comment by heiko.ma...@gmail.com on 18 Sep 2013 at 12:42

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 3:59