Skip to content
This repository was archived by the owner on Nov 29, 2019. It is now read-only.

error: undefined method `ascent' #23

Open
fredcallaway opened this issue Mar 17, 2015 · 8 comments
Open

error: undefined method `ascent' #23

fredcallaway opened this issue Mar 17, 2015 · 8 comments

Comments

@fredcallaway
Copy link

error: undefined method `ascent' for #<PDF::Reader::Font:0x007ff94483b130>. Use --trace to view backtrace

Happens for all calls of pdf-extract. This installation error may be relevant:

Parsing documentation for libsvm-ruby-swig-0.4.0
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for ext/libsvm.bundle, skipping
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for ext/libsvm_wrap.o, skipping
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for ext/svm.o, skipping
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/libsvm-ruby-swig/libsvm.bundle, skipping
Installing ri documentation for libsvm-ruby-swig-0.4.0

Thanks for any help anyone can provide!

@osearbhain
Copy link

Seems to be a duplicate of #17. The installation error looks worrying alright, I didn't get that. I installed on Linux Mint 17.1 with no errors.

@bliaxiong
Copy link

Getting the same error on Mac OSX 10.9.5

@derickfay
Copy link

me too - with the same installation error on Mac OS X 10.10.3

@jgrossi
Copy link
Contributor

jgrossi commented Jun 2, 2015

Hi @fredcallaway! Try to remove your actual pdf-reader installation:

gem uninstall pdf-reader

... and install pdf-reader version 1.2.0 (without this issue):

gem install pdf-reader -v 1.2.0

This should solve your problem :-)

@DarrenN
Copy link

DarrenN commented Oct 20, 2015

@jgrossi that indeed solved the problem

@jgrossi
Copy link
Contributor

jgrossi commented Oct 20, 2015

that's nice @DarrenN ;-)

@deepseven
Copy link

That solved the problem for me too, thanks!

@jgrossi
Copy link
Contributor

jgrossi commented Mar 9, 2016

Awesome @deepseven :-)

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

No branches or pull requests

7 participants