Giter Site home page Giter Site logo

Gostscript call fails about extrafont HOT 11 CLOSED

wch avatar wch commented on September 14, 2024
Gostscript call fails

from extrafont.

Comments (11)

wch avatar wch commented on September 14, 2024

I think it may be the same as #27. Can you try the solution there and see if it works?

from extrafont.

M-Russell avatar M-Russell commented on September 14, 2024

Thank you for your reply.

I tried the successful solution to #27

devtools::install_github('extrafont', 'wch', 'embedfont-space')

and got the error:

Installing github repo(s) extrafont/embedfont-space from wch
Installing extrafont.zip from https://github.com/wch/extrafont/archive/embedfont-space.zip
Error: server error: (500) Internal Server Error

The earlier version in that thread:

devtools::install_github('extrafont', 'wch', 'v0.14')

completes successfully with the final lines:

Reloading installed extrafont
Registering fonts with R

However the same error occurs:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1175/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)--
Current allocation mode is local
Last OS error: Invalid argument
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Error in embedFonts(file = file, format = format, outfile = outfile, options = paste(paste("-I", :
status 1 in running command 'C:/gs/gs9.07/bin/gswin64c.exe -dNOPAUSE -dBATCH -q -dAutoRotatePages=/None -sDEVICE=pdfwrite -sOutputFile=C:\Users\mbpssmr\AppData\Local\Temp\Rtmpus2PS5\Rembed1ce07bc46c0a "-sFONTPATH=" -I"C:\R\R-3.0.0\library\extrafontdb\fontmap" ""font_ggplot.pdf""'
In addition: Warning message:
running command 'C:/gs/gs9.07/bin/gswin64c.exe -dNOPAUSE -dBATCH -q -dAutoRotatePages=/None -sDEVICE=pdfwrite -sOutputFile=C:\Users\mbpssmr\AppData\Local\Temp\Rtmpus2PS5\Rembed1ce07bc46c0a "-sFONTPATH=" -I"C:\R\R-3.0.0\library\extrafontdb\fontmap" ""font_ggplot.pdf""' had status 1

As thread #27 indicated.

Is it possible embedfont-space has been removed from the server?

Thanks

Matt

from extrafont.

erikriverson avatar erikriverson commented on September 14, 2024

We had this error occur, too. It happened immediately after updating
to R 3.0.0. If I recall, it had something to do with the extranfontdb
package. Perhaps I had to uninstall and reinstall it, or simply
regenerate the Fontmap in extrafontdb by calling font_import() again?

I wish I could remember exactly the steps I took to fix it, but it was
something along those lines.

Hope this helps,
--Erik

On Wed, May 1, 2013 at 2:53 PM, M-Russell [email protected] wrote:

Thank you for your reply.

I tried the successful solution to #27

devtools::install_github('extrafont', 'wch', 'embedfont-space')

and got the error:

Installing github repo(s) extrafont/embedfont-space from wch
Installing extrafont.zip from
https://github.com/wch/extrafont/archive/embedfont-space.zip
Error: server error: (500) Internal Server Error

The earlier version in that thread:

devtools::install_github('extrafont', 'wch', 'v0.14')

completes successfully with the final lines:

Reloading installed extrafont
Registering fonts with R

However the same error occurs:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- --nostringval-- false 1
%stopped_push
Dictionary stack:
--dict:1175/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)--
Current allocation mode is local
Last OS error: Invalid argument
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Error in embedFonts(file = file, format = format, outfile = outfile, options
= paste(paste("-I", :
status 1 in running command 'C:/gs/gs9.07/bin/gswin64c.exe -dNOPAUSE -dBATCH
-q -dAutoRotatePages=/None -sDEVICE=pdfwrite
-sOutputFile=C:\Users\mbpssmr\AppData\Local\Temp\Rtmpus2PS5\Rembed1ce07bc46c0a
"-sFONTPATH=" -I"C:\R\R-3.0.0\library\extrafontdb\fontmap"
""font_ggplot.pdf""'
In addition: Warning message:
running command 'C:/gs/gs9.07/bin/gswin64c.exe -dNOPAUSE -dBATCH -q
-dAutoRotatePages=/None -sDEVICE=pdfwrite
-sOutputFile=C:\Users\mbpssmr\AppData\Local\Temp\Rtmpus2PS5\Rembed1ce07bc46c0a
"-sFONTPATH=" -I"C:\R\R-3.0.0\library\extrafontdb\fontmap"
""font_ggplot.pdf""' had status 1

As thread #27 indicated.

Is it possible embedfont-space has been removed from the server?

Thanks

Matt


Reply to this email directly or view it on GitHub.

from extrafont.

wch avatar wch commented on September 14, 2024

Oops, it needs the master branch now. Try doing:

devtools::install_github('extrafont', 'wch')

from extrafont.

M-Russell avatar M-Russell commented on September 14, 2024

That works now.

Thanks

On 1 May 2013 21:04, Winston Chang [email protected] wrote:

Oops, it needs the master branch now. Try doing:

devtools::install_github('extrafont', 'wch')


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-17303118
.

from extrafont.

wch avatar wch commented on September 14, 2024

@gavinsimpson Are you using the latest version from github? I didn't send this to CRAN yet - I think it was fixed shortly after a release and after waiting the requisite month that CRAN wants, I forgot to release it. If the github version works for you, I'll send this version to CRAN.

from extrafont.

gavinsimpson avatar gavinsimpson commented on September 14, 2024

And, I take it all back. So sorry for the noise. This is now working as you state.

from extrafont.

wch avatar wch commented on September 14, 2024

Great, good to hear. It's not noise - you also reminded me that I need to send to CRAN...

from extrafont.

gavinsimpson avatar gavinsimpson commented on September 14, 2024

Could you; that'd be great. I'm about to write a post on using extrafont to draw plots using Arial for submission to the journal PLOS One and send them some instructions to update the ones they have for doing this with R. Using extrafont is super easy in comparison, but don't want to send to them if the CRAN version isn't working.

from extrafont.

wch avatar wch commented on September 14, 2024

OK, sent to CRAN - hopefully it'll go through and show up in the next few days. All this reminds me that I should also try to push through the branch with OTF and TTC handling, which I've been holding off on for over a year because they weren't very nice in the past when I was trying to figure out how the license stuff should work...

from extrafont.

gavinsimpson avatar gavinsimpson commented on September 14, 2024

Great, thanks!

from extrafont.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.