-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `=~' for 3:Integer #535
Comments
It looks like it's receiving an integer for the api version, while expecting a string (and then erroring because it's trying to compare a regex to an integer instead of a string) here: https://github.com/fog/fog-openstack/blob/master/lib/fog/openstack/auth/token.rb#L17 It looks like it's expecting something like |
No, I'm setting this value in the Rails credentials. But yes, what you say is exactly what Copilot said. Should be an easy fix. I'll try v3, too, but I don't think that it will work |
As expected, same error when using "v3". |
Trying to fix this error (fog#535) by changing the input to_s before trying to match it with the regex
Using my patched version, the bug is gone but I still get an authentication error. At least one step ahead ^^' |
I have a rather fresh install of activestorage-openstack, which seems to build upon fog-openstack.
I've tried to upload a test jpg file to my Infomaniak s3 comp object storage, but I get this error:
It works when I use config.active_storage.service = :local but that's not the intention.
Copilot keeps telling me that I should fork your gem, rewrite it and try again.
I have already tried @chaadow's version but that has the same error
Please let me know if I can help
The text was updated successfully, but these errors were encountered: