Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Conversion of String into Integer #12

Closed
hdoria opened this issue Nov 11, 2014 · 9 comments
Closed

Conversion of String into Integer #12

hdoria opened this issue Nov 11, 2014 · 9 comments

Comments

@hdoria
Copy link

hdoria commented Nov 11, 2014

Modifying version '2.2' of app br.com.banese.app
error: no implicit conversion of String into Integer. Use --trace to view backtrace

For some reason if I remove the keywords line it works.

@KrauseFx
Copy link
Collaborator

Could you run it using --trace and post the output here?

@hdoria
Copy link
Author

hdoria commented Nov 11, 2014

/Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:125:in `[]=': no implicit conversion of String into Integer (TypeError)
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:125:in `block (2 levels) in load_metadata_from_config_json_folder'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:122:in `each'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:122:in `block in load_metadata_from_config_json_folder'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:120:in `each'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:120:in `load_metadata_from_config_json_folder'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliver_process.rb:32:in `run'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliverer.rb:109:in `finished_executing_deliver_file'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliverfile/deliverfile.rb:31:in `initialize'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliverer.rb:61:in `new'
    from /Users/hdoria/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/deliver-0.2.1.pre/lib/deliver/deliverer.rb:61:in `initialize'

@KrauseFx
Copy link
Collaborator

Mh, I can't reproduce that.
Can you post your Deliverfile? (Especially the part, that seems to break it)

@hdoria
Copy link
Author

hdoria commented Nov 11, 2014

default_language "pt-BR"
keywords ["banese", "banco", "sergipe", "finanças"]
email 'email@email.com'
app_identifier "br.com.banese.app"
apple_id "727238928"
screenshots_path "./deliver/screenshots/"
config_json_folder './deliver'
ipa do
    system("ipa build") # build your project using Shenzhen
    "./Banese.ipa" # Tell 'Deliver' where it can find the finished ipa file
end

success do
  system("say 'Successfully deployed a new version.'")
end

@KrauseFx
Copy link
Collaborator

I've found the root of this issue and will push an update soon. In the mean time, please update the keywords in the ./deliver/metadata.json file.

@KrauseFx KrauseFx added the bug label Nov 11, 2014
@KrauseFx
Copy link
Collaborator

Thanks for reporting. It was a bug related to the default_language.
I pushed a fix and added unit tests for that, so this never happens again.
Could you try 2.2.2.beta2 using sudo gem install deliver --pre and let me know if this fixes your problem?

@hdoria
Copy link
Author

hdoria commented Nov 12, 2014

Worked fine! Thank you.

@hdoria hdoria closed this as completed Nov 12, 2014
@KrauseFx
Copy link
Collaborator

Glad to hear that, thanks 👍

@fastlanebot
Copy link

This issue was migrated to fastlane/fastlane#2473. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

@fastlane-old fastlane-old locked and limited conversation to collaborators Mar 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants