ohio813 / origami-pdf

Automatically exported from code.google.com/p/origami-pdf
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Error: uninitialized constant Origami::DICT_SPECIAL_TYPES #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$ sudo gem install origami
$ curl 'http://www.ada.gov/hospcombrprt.pdf' -o hospcombrprt.pdf
$ pdf2ruby hospcombrprt.pdf

What is the expected output?
Program completes successfully

What do you see instead?
[*] Loading document 'hospcombrprt.pdf'
[*] Document successfully loaded into Origami
[*] Retrieving all indirect objects...
[*] Retrieving the document Catalog...
[*] Processing the object hierarchy...
/Library/Ruby/Gems/2.0.0/gems/origami-1.2.6/bin/pdf2ruby:103:in `objectToRuby': 
uninitialized constant Origami::DICT_SPECIAL_TYPES (NameError)
    from /Library/Ruby/Gems/2.0.0/gems/origami-1.2.6/bin/pdf2ruby:325:in `<top (required)>'
    from /usr/bin/pdf2ruby:23:in `load'
    from /usr/bin/pdf2ruby:23:in `<main>'

What version of the product are you using? On what operating system?
Mac 10.9.2
pdf2ruby --help does not provide a version. But I installed it on 2014-05-15 
from Ruby gems.

Original issue reported on code.google.com by fulldec...@gmail.com on 16 May 2014 at 3:08

GoogleCodeExporter commented 9 years ago
This was already fixed in the latest dev version.
I updated the gem.

Original comment by guilla...@security-labs.org on 14 Jun 2014 at 8:59