You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.run bug.rb (see attachment - it's modified
"samples\actions\launch\winparams.rb")
What is the expected output? What do you see instead?
Origami can't save obfuscated PDF:
/origami/obfuscation.rb:192:in `to_s': wrong number of arguments(1 for 0)
(ArgumentError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:192:in `block in to_obfuscated_str'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:190:in `gsub!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:190:in `to_obfuscated_str'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:121:in `block in to_obfuscated_str'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:119:in `each_pair'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:119:in `to_obfuscated_str'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/obfuscation.rb:223:in `to_obfuscated_str'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/pdf.rb:1020:in `block in output'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/pdf.rb:892:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/pdf.rb:892:in `output'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/lib/origami/pdf.rb:299:in `save'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/origami-1.2.3/samples/actions/launch/test.rb:22:in `<main>'
What version of the product are you using? On what operating system?
- Origami gem v.1.2.3
- Ruby 1.9.3 on Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by reapedbr...@bk.ru on 21 Feb 2012 at 11:53
Original issue reported on code.google.com by
reapedbr...@bk.ru
on 21 Feb 2012 at 11:53Attachments:
The text was updated successfully, but these errors were encountered: