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

Pango-ERROR: Harfbuzz version too old (1.2.7) #154

Open
sommd opened this issue Sep 24, 2019 · 16 comments
Open

Pango-ERROR: Harfbuzz version too old (1.2.7) #154

sommd opened this issue Sep 24, 2019 · 16 comments

Comments

@sommd
Copy link

sommd commented Sep 24, 2019

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.

@clpacheco90
Copy link

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

@Crease29
Copy link

Crease29 commented Jan 11, 2020

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

@jmahhh jmahhh mentioned this issue Jan 27, 2020
@sugata98
Copy link

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

How did you downgrade it?

@clpacheco90
Copy link

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.

@dlford
Copy link

dlford commented May 11, 2020

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.

@clpacheco90
Copy link

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.

@dlford
Copy link

dlford commented May 12, 2020

@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.

@tuanquynh0508
Copy link

Same Issue for me on Ubuntu 20.

@dlford
Copy link

dlford commented May 28, 2020

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

@bendulum
Copy link

bendulum commented Jun 10, 2020

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 electron/electron#20348 the issue is fixed by updating to a newer version of Electron.

You could try:

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

@bendulum
Copy link

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 electron/electron#18139 (comment) 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
Copy link

@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.

@vegalou
Copy link

vegalou commented Apr 2, 2021

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.

@mozo64
Copy link

mozo64 commented Nov 14, 2021

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

11 participants