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

TOML: incomplete number #1434

Closed
3 tasks done
muuvmuuv opened this issue Sep 21, 2022 · 3 comments
Closed
3 tasks done

TOML: incomplete number #1434

muuvmuuv opened this issue Sep 21, 2022 · 3 comments
Labels
kind/bug Something isn't working

Comments

@muuvmuuv
Copy link

Preflight Checklist

  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.
  • I have checked the troubleshooting guide for my problem, without success.

Viper Version

1.13.0

Go Version

1.19.1

Config Source

Files

Format

TOML

Repl.it link

https://replit.com/@muuvmuuv/Viper-TOML-error#main.go

Code reproducing the issue

No response

Expected Behavior

Should read TOML sections as User map

Actual Behavior

Undefined error

Steps To Reproduce

No response

Additional Information

No response

@muuvmuuv muuvmuuv added the kind/bug Something isn't working label Sep 21, 2022
@github-actions
Copy link

👋 Thanks for reporting!

A maintainer will take a look at your issue shortly. 👀

In the meantime: We are working on Viper v2 and we would love to hear your thoughts about what you like or don't like about Viper, so we can improve or fix those issues.

⏰ If you have a couple minutes, please take some time and share your thoughts: https://forms.gle/R6faU74qPRPAzchZ9

📣 If you've already given us your feedback, you can still help by spreading the news,
either by sharing the above link or telling people about this on Twitter:

https://twitter.com/sagikazarmark/status/1306904078967074816

Thank you! ❤️

@sagikazarmark
Copy link
Collaborator

I believe you have to put values in quotes in TOML

The error could be more informative though. See pelletier/go-toml#413

@muuvmuuv
Copy link
Author

muuvmuuv commented Oct 5, 2022

Perfect, thanks!

@muuvmuuv muuvmuuv closed this as completed Oct 5, 2022
jmastr added a commit to planetmint/planetmint-go that referenced this issue Sep 12, 2023
```
$ go build -v ./cmd/planetmint-god/
$ rm -rf ~/.planetmint-go ~/.ignite
$ ignite chain init --check-dependencies --clear-cache
```

spf13/viper#1434 (comment)

Signed-off-by: Julian Strobl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants