Home > OS >  Facing error for Poppler gem on GitHib CI workflow
Facing error for Poppler gem on GitHib CI workflow

Time:09-16

I am facing this GObjectIntrospection::RepositoryError::TypelibNotFound: Typelib file for namespace 'Poppler' (any version) not found error when the GitHub's CI workflow runs and it always fails due to it. I tried adding glib2 and gobject-introspection gems as well, but nothing works for me. I already have poppler gem in my gemfile. I am using aws-sdk-s3 gem for uploading the files to AWS using active storage and the poppler gem is being used to preview the files in the application. Locally everything is working fine for me.

I am using rails 6.1 and ruby 2.7.5.

CodePudding user response:

(Not an answer, but I don't have enough rep to add a comment..)

Bumping this because I have the same issue, I tried using another version of poppler, it "solved" the problem but it came back the next day.

I tried another version 3.5.1 which made the problem disappeared only for it to come back the very next push.

This is the trace :

Run bundle exec rails db:create
rails aborted!
GObjectIntrospection::RepositoryError::TypelibNotFound: Typelib file for namespace 'Poppler' (any version) not found

There isn't a lot of info available on this error, and it feels kind of cryptic, hopefully someone can help

  • Related