graphiql-app icon indicating copy to clipboard operation
graphiql-app copied to clipboard

Pango-ERROR: Harfbuzz version too old (1.2.7)

Open sommd opened this issue 5 years ago • 16 comments

When trying to run the AppImage on Arch Linux with the latest version of Gnome/GDM and pango version 1.44.6 I get the following error:

(graphiql-app:7880): Pango-ERROR **: 21:51:08.309: Harfbuzz version too old (1.2.7)

Trace/breakpoint trap (core dumped)

Seems like the bundled version of harfbuzz is too old? I'm not familiar with AppImages so I'm not sure exactly which libraries it would be using.

sommd avatar Sep 24 '19 11:09 sommd

I'm getting the same error and I solved when downgraded pango to v1.42

clpacheco90 avatar Oct 29 '19 15:10 clpacheco90

Same here on Fedora 31 (Kernel 5.3.16-300.fc31.x86_64). For more information see linked issue above this comment.

Crease29 avatar Jan 11 '20 09:01 Crease29

I'm getting the same error and I solved when downgraded pango to v1.42

How did you downgrade it?

sugata98 avatar Apr 28 '20 10:04 sugata98

via terminal I've installed pango-ubuntu https://aur.archlinux.org/packages/pango-ubuntu

yay -S pango-ubuntu

Please make sure you have a backup before run it.

clpacheco90 avatar May 01 '20 14:05 clpacheco90

FYI downgrading pango breaks both nautilus and nemo file explorers on Manjaro latest. I have no other workaround at the moment but to use graphiql-app in VM.

dlford avatar May 11 '20 14:05 dlford

try to downgrade via terminal instead. if you use pamac to install any pango its really break not only your nemo or nautilus but manjaro too.

clpacheco90 avatar May 12 '20 13:05 clpacheco90

@clpacheco90 Thank you for the tip, still breaks the file browsers for me though. I'm trying to build from source instead without much luck. I may just table this until Ubuntu 20.04 is a little more mature and see if it'll run on that.

dlford avatar May 12 '20 14:05 dlford

Same Issue for me on Ubuntu 20.

tuanquynh0508 avatar May 27 '20 14:05 tuanquynh0508

@tuanquynh0508 Try the Kong/insomnia.rest project, it works for me, only downside is it doesn't support websockets/subscriptions.

dlford avatar May 28 '20 13:05 dlford

Same problem, no matter which graphiql-app version I try.

Linux 5.4.0-33-generic x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

According to the comments here https://github.com/electron/electron/issues/20348 the issue is fixed by updating to a newer version of Electron.

You could try:

  • check out this repository locally
  • navigate there and run npm i
  • install electron https://www.electronjs.org/docs/tutorial/installation
  • run npm i --save-dev electron-packager
  • run npm i --save-dev electron-builder
  • run npm run build
  • run npm run package

But I couldn't get this to work myself. Is this repository still being maintained?

bendulum avatar Jun 10 '20 08:06 bendulum

Here is a workaround / hack, continuing from the steps in my comment above.

Follow this guide https://codereviewvideos.com/blog/how-i-fixed-uglifyjs-unexpected-token-name-dropin/ to install uglifyjs-webpack-plugin (I used version 1.2.4), then update the make-webpack-config.js file accordingly (remove previous UglifyJs plugin and replace with the one from the link).

You also need to add this https://github.com/electron/electron/issues/18139#issuecomment-489137050 to the electron config in main.js.

I also installed babel-preset-es2015 via npm i and then added es2015 to the list of presets in the .babelrc file. (Did not check if this is required)

After that I could do npm run dist and even though there were some errors in the console, it created a GraphiQL 0.7.2.AppImage file in the ./release directory.

Then I moved this file to my preferred location and ran sudo chmod +x "GraphiQL 0.7.2.AppImage" to make it executable. I can now use the app without getting the "Harfbuzz version too old" error.


Alternatively use this app https://altair.sirmuel.design/ instead.

bendulum avatar Jun 15 '20 11:06 bendulum

@tuanquynh0508 Try the Kong/insomnia.rest project, it works for me, only downside is it doesn't support websockets/subscriptions.

Hi Dlford, In fact, I switch to use https://altair.sirmuel.design/ It's very good.

tuanquynh0508 avatar Jul 10 '20 07:07 tuanquynh0508

Met the same problem with old app. on new OS FOSSA(Xenial & Bionic not shows). Caused by new pango libary not match old application.

ig: starup in /u/tool/moeditor, run Moeditor shows the error message:

Pango-ERROR Harfbuzz version too old (1.2.7)

check dependancies:

~# ldd Moeditor |grep pango
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fe81e43c000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007fe81e2a2000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007fe81cce8000)

Get OLD libpan*_VERSION.deb from https://packages.ubuntu.com/

libpango-1.0-0 (1.42.4-7) https://packages.ubuntu.com/bionic/libs/libpango-1.0-0

libpangocairo-1.0-0 (1.42.4-7) https://packages.ubuntu.com/bionic/libpangocairo-1.0-0

libpangoft2-1.0-0 (1.42.4-7) https://packages.ubuntu.com/bionic/libpangoft2-1.0-0

extract those libs to root of Moeditor $PATH, ig:

~# ls libpa* -l
libpango-1.0.so.0 -> libpango-1.0.so.0.4000.14
libpango-1.0.so.0.4000.14
libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.4000.14
libpangocairo-1.0.so.0.4000.14
libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.4000.14
libpangoft2-1.0.so.0.4000.14

make sure the symbo link correct to right APP_ROOT path!!

That's all, Markdown Editor runs as on Xenial did before.

vegalou avatar Apr 02 '21 00:04 vegalou

Met the same problem with old app. on new OS FOSSA(Xenial & Bionic not shows). Caused by new pango libary not match old application.

ig: starup in /u/tool/moeditor, run Moeditor shows the error message:

Pango-ERROR Harfbuzz version too old (1.2.7)

check dependancies:

~# ldd Moeditor |grep pango
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fe81e43c000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007fe81e2a2000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007fe81cce8000)

Get OLD libpan*_VERSION.deb from https://packages.ubuntu.com/

libpango-1.0-0 (1.42.4-7) https://packages.ubuntu.com/bionic/libs/libpango-1.0-0

libpangocairo-1.0-0 (1.42.4-7) https://packages.ubuntu.com/bionic/libpangocairo-1.0-0

libpangoft2-1.0-0 (1.42.4-7) https://packages.ubuntu.com/bionic/libpangoft2-1.0-0

extract those libs to root of Moeditor $PATH, ig:

~# ls libpa* -l
libpango-1.0.so.0 -> libpango-1.0.so.0.4000.14
libpango-1.0.so.0.4000.14
libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.4000.14
libpangocairo-1.0.so.0.4000.14
libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.4000.14
libpangoft2-1.0.so.0.4000.14

make sure the symbo link correct to right APP_ROOT path!!

That's all, Markdown Editor runs as on Xenial did before.

Thank you, it actually works like a charm :)

mozo64 avatar Nov 14 '21 11:11 mozo64

https://github.com/altair-graphql/altair https://docs.github.com/en/graphql/overview/explorer

tst32 avatar Mar 02 '22 16:03 tst32