Skip to content
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

run_migrations fails unless 2 arguments are specified #133

Open
znep opened this issue Oct 8, 2015 · 0 comments
Open

run_migrations fails unless 2 arguments are specified #133

znep opened this issue Oct 8, 2015 · 0 comments
Assignees

Comments

@znep
Copy link
Contributor

znep commented Oct 8, 2015

The change in 713a57f to quote arguments broke running bin/run_migrations.sh without arguments since it now puts an "empty" invalid second arg in.

m@m:~/w/soda-fountain (master=)$ bin/run_migrations.sh
Using soda2.conf specified in /etc/soda2.conf environment variable
Running soda.server.MigrateSchema migrate ...
Exception in thread "main" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:504)
at java.lang.Integer.parseInt(Integer.java:527)
at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:229)
at scala.collection.immutable.StringOps.toInt(StringOps.scala:31)
at com.socrata.soda.server.MigrateSchema$.main(MigrateSchema.scala:15)
at com.socrata.soda.server.MigrateSchema.main(MigrateSchema.scala)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants