RISCfuture / dropbox

An easy-to-use client library for the official Dropbox API.
MIT License
519 stars 47 forks source link

ArgumentError: convert! has been removed. #28

Closed stefanobernardi closed 13 years ago

stefanobernardi commented 13 years ago

I'm suddenly getting this error:

2011-01-14T08:40:52-08:00 app[worker.1]: [Worker(host:railgun64.41629 pid:9947)] Doit failed with ArgumentError: convert! has been removed. You must now wrap IOs using:
2011-01-14T08:40:52-08:00 app[worker.1]: UploadIO.new(filename_or_io, content_type, filename=nil)
2011-01-14T08:40:52-08:00 app[worker.1]: Please update your code. - 1 failed attempts

checked in the code, and there is indeed this convert! in the upload method

RISCfuture commented 13 years ago

Oh dear. I'll get on it.

RISCfuture commented 13 years ago

Fixed with an ugly hack. d8e78cfa0f15b93b7b1a29dd6ca76cbcfe5f9723

stefanobernardi commented 13 years ago

Thanks dude!