graphiql-app
graphiql-app copied to clipboard
Pango-ERROR: Harfbuzz version too old (1.2.7)
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.
I'm getting the same error and I solved when downgraded pango to v1.42
Same here on Fedora 31 (Kernel 5.3.16-300.fc31.x86_64). For more information see linked issue above this comment.
I'm getting the same error and I solved when downgraded pango to v1.42
How did you downgrade it?
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.
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.
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 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.
Same Issue for me on Ubuntu 20.
@tuanquynh0508 Try the Kong/insomnia.rest project, it works for me, only downside is it doesn't support websockets/subscriptions.
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?
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.
@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.
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.
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 :)
https://github.com/altair-graphql/altair https://docs.github.com/en/graphql/overview/explorer