Open GoogleCodeExporter opened 9 years ago
Same problem for me
Original comment by travelli...@gmail.com
on 27 Feb 2013 at 2:13
Same, Pencil as Extention, version 2.0.3 on a MacOsX, PNG export broken
Original comment by bourz...@gmail.com
on 6 Mar 2013 at 5:41
me too , same problem.
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:03
( same problem in issue #526 )
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:44
Hello, I edited the file
/usr/share/pencil/content/pencil/common/svgRasterizer.js with this path but it
don't work :(
[root@ecudesp ~]# cat /usr/share/pencil/content/pencil/common/svgRasterizer.js
| grep "persist.saveURI"
persist.saveURI(uri, null, null, null, null, localFile, null);
Original comment by bra...@gmail.com
on 11 Mar 2013 at 11:02
your suggest does not work for me too
Original comment by lorenzo....@gmail.com
on 11 Mar 2013 at 11:10
have you try to clear up cache like this:
/usr/lib/xulrunner/xulrunner --app /usr/share/pencil/application.ini -purgecaches
Original comment by physics...@gmail.com
on 11 Mar 2013 at 12:43
Post #4 works for me.
I am still on Ubuntu 10.04 LTS (Pencil 2.0.3)
About the purging of cache, running this:
xulrunner --app /usr/share/pencil/application.ini -purgecachesError: Platform
version
gives me:
'1.9.2.28' is not compatible with
minVersion >= 1.9.8
maxVersion <= *
I can get it to start by modifying it to:
firefox --app /usr/share/pencil/application.ini -purgecaches
I have Mozilla Firefox 20.0 installed.
Original comment by muza...@gmail.com
on 10 Apr 2013 at 9:52
Post #4 works for me too on gentoo. Gentoo use firefox to launch the app (and
not xul-runner) but you really need to purge the cache.
On gentoo is:
firefox --app /usr/share/evoluspencil/application.ini -purgecaches
Original comment by bonfante...@gmail.com
on 7 May 2013 at 3:16
The Mozilla docs give this warning about using null[1]:
Important: If you think that you should be passing null here, you are almost
certainly wrong. null should be passed only when no plausible privacy context
exists for the URI to be saved, which is an exceedingly rare corner case.
[1]:
https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIWebBrowser
Persist#saveURI%28%29
Original comment by kensing...@gentoo.org
on 8 May 2013 at 12:45
Further to my previous comment, I received confirmation that the suggested
solution is safe.[1]
I also located an upstream bug about it.[2]
[1]:
https://groups.google.com/d/msg/mozilla.dev.extensions/oIRT2WF-wT8/eKcCPcZznewJ
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=820522
Original comment by kensing...@gentoo.org
on 13 Jun 2013 at 11:24
Original issue reported on code.google.com by
CMP...@gmail.com
on 20 Feb 2013 at 4:57