Skip to content

dump_data returns empty stringIO #37

@koenhandekyn

Description

@koenhandekyn

on mac os x and ruby 1.9.3 with the current 'latest greatest' branch form active_activepdftk it seams that dump_data returns an empty stringIO

1.9.3-p327-turbo :030 > p.dump_data('~/Desktop/UpNxt.pdf').readlines
=> []

while the following nicely creates the correct data dump in to a file that contains the data.
1.9.3-p327-turbo :031 > p.dump_data('/Desktop/UpNxt.pdf', :output => '/Desktop/UpNxt.txt')
=> "~/Desktop/UpNxt.txt"

for performance and deployments reasons i'd like to avoid (temp) files. is this stringIO behaviour known ? any ideas ?

thanks
koen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions