Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list-fonts-json, command failed: version 42.2 #200

Closed
tdubuffet opened this issue Jun 19, 2019 · 9 comments

Comments

@tdubuffet
Copy link

commented Jun 19, 2019

Hi,
I have the same error on version 0.42.2.
My windows: Windows 10, version 1903

image

Thx

@tdubuffet

This comment has been minimized.

Copy link
Author

commented Jun 19, 2019

Resolved !
Missing dll msvcp140.dll, i update visual c++

@tdubuffet tdubuffet closed this Jun 19, 2019

@sedwards2009

This comment has been minimized.

Copy link
Owner

commented Jun 19, 2019

Thanks for the detective work. It looks like I might have to also ship that DLL.

@majamee

This comment has been minimized.

Copy link

commented Aug 13, 2019

@sedwards2009 Unfortunatelly I get in this version on Mac basically the same error, but a Windows DLL won't probably fix that. Please find here the error message:

Error: Command failed: /Applications/extraterm.app/Contents/Resources/app/extraterm/resources/list-fonts-json-binary/darwin-x64/list-fonts-json
    at checkExecSyncError (child_process.js:621:11)
    at Object.execFileSync (child_process.js:639:13)
    at Object.module.(anonymous function) [as execFileSync] (ELECTRON_ASAR.js:160:31)
    at Object.getAvailableFontsSync (/Applications/extraterm.app/Contents/Resources/app/extraterm/src/main_process/FontList.js:16:40)
    at getFonts (/Applications/extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:484:42)
    at main (/Applications/extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:94:111)
    at Object.<anonymous> (/Applications/extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:939:1)
    at Object.<anonymous> (/Applications/extraterm.app/Contents/Resources/app/extraterm/src/main_process/Main.js:941:3)
    at Module._compile (internal/modules/cjs/loader.js:693:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)``` 
@sedwards2009

This comment has been minimized.

Copy link
Owner

commented Aug 13, 2019

@majamee Can you run /Applications/extraterm.app/Contents/Resources/app/extraterm/resources/list-fonts-json-binary/darwin-x64/list-fonts-json directly from a terminal. Does it output a heap of stuff about fonts?

@majamee

This comment has been minimized.

Copy link

commented Aug 14, 2019

@sedwards2009 It lists all fonts and at the end throws an error message. Please find here the output:

(...)
{
  "path": "/private/tmp/.mt1134493527/.a/.f/88.ttf",
  "postscriptName": "NeuePlak-NarrowRegular",
  "family": "Neue Plak",
  "style": "Narrow Regular",
  "weight": 400,
  "width": 3,
  "italic": false,
  "oblique": false,
  "monospace": false
}
,
{
  "path": "/Users/martinba/Library/Fonts/88ddd511-5a04-46cc-b4c3-afa01c0b7d23.ttf",
  "postscriptName": "UniversNextW04-530Medium",
Segmentation fault: 11
@sedwards2009

This comment has been minimized.

Copy link
Owner

commented Aug 14, 2019

@majamee Can you go to this page and download the file from the middle of the page around "macOS build output", and then run it and see if that works better. It is just a new version of list-fonts-json which might fix that crash.

Page- > https://dev.azure.com/simon0627/list-fonts-json/_build/results?buildId=137&view=results

@majamee

This comment has been minimized.

Copy link

commented Aug 15, 2019

@sedwards2009 it is working flawlessly :) thank you
P.S.: Since using your terminal on manjaro, I am looking forward to the release where I can run it on mac too 👍

sedwards2009 added a commit that referenced this issue Aug 15, 2019
@sedwards2009

This comment has been minimized.

Copy link
Owner

commented Aug 15, 2019

@majamee Thanks for helping hunt that one down. There will most likely be a bug fix release in the next week or two.

@sedwards2009

This comment has been minimized.

Copy link
Owner

commented Aug 21, 2019

Fix is released in 0.44.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.