Menu

#2 MD5 creation

open
nobody
None
5
2008-06-25
2008-06-25
Anonymous
No

I'm using ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux] under ArchLinux and openomyfs-ruby-0.1.tar.gz.

Seems that the way of creating MD5s is wrong.
Is used:

Digest::MD5.new(remotefilename).to_s

But, launching the mounter, it says:

Caught unhandled error: wrong number of arguments (1 for 0)
./openomy.rb:314:in `initialize'
./openomy.rb:314:in `new'
./openomy.rb:314:in `gen_signature'
./openomy.rb:327:in `fill_params'
./openomy.rb:333:in `get_request'
./openomy.rb:493:in `GetUnconfirmedToken'
ofs.rb:544:in `load_confirmedtoken'
ofs.rb:96:in `initialize'
ofs.rb:610:in `new'
ofs.rb:610

Changing the MD5.new with MD5.hexdigest, seems starting well.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB