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

error to read app.toml #7476

Closed
1 of 4 tasks
tac0turtle opened this issue Oct 7, 2020 · 6 comments · Fixed by #8643
Closed
1 of 4 tasks

error to read app.toml #7476

tac0turtle opened this issue Oct 7, 2020 · 6 comments · Fixed by #8643
Assignees
Labels
Milestone

Comments

@tac0turtle
Copy link
Member

Summary of Bug

When trying to start a node while recording a tutorial I receive this error:

 gaiad start
Error: failed to read in app.toml: While parsing config: (275, 10): no value can start with e

It is non-deterministic.

This happens even when I don't touch the app.toml file.

Version

cosmos/gaia stargate3-a

Steps to Reproduce

Try screen recording on a mac or do something that consumes a lot of memory then initialize a node and start it.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@robert-zaremba
Copy link
Collaborator

robert-zaremba commented Dec 2, 2020

Hi @marbar3778 - could you update the status here? Is there any progress? Is anyone handling this? Is this blocking for Stargate?

@robert-zaremba robert-zaremba added this to the v0.40 [Stargate] milestone Dec 2, 2020
@tac0turtle
Copy link
Member Author

could you update the status here?

Still a bug.

Is there any progress? Is anyone handling this? Is this blocking for Stargate?

Dont think it's blocking for stargate and not sure if there's progress. I just opened the issue.

@helder-moreira
Copy link
Contributor

helder-moreira commented Feb 19, 2021

This happens when error is in config.toml.

For example, when removing the double quotes from moniker string in config.toml:

$ cat .gaia/config/config.toml | grep moniker
moniker = "test

We get the same error, complaining about app.toml:

$ gaiad status
Error: failed to read in app.toml: While parsing config: (18, 12): unescaped control character U+000A
Usage:
  gaiad status [flags]

Flags:
  -h, --help          help for status
  -n, --node string   Node to connect to (default "tcp://localhost:26657")

Global Flags:
      --home string         directory for config and data (default "/home/ubuntu/.gaia")
      --log_format string   The logging format (json|plain) (default "plain")
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
      --trace               print out full stack trace on errors

EDIT: I believe it should be config.toml in this error string

@amaury1093
Copy link
Contributor

I don't think #8643 fixes the non-determinism reported by @marbar3778.

@alessio alessio reopened this Feb 19, 2021
@tac0turtle
Copy link
Member Author

There were non-deterministic failures by users on the upgrade yesterday. Lots of interface nil panics

@cyberbono3
Copy link
Contributor

@marbar3778 Unfortunately, I had no luck to reproduce an error today. Perhaps we can close it.

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

Successfully merging a pull request may close this issue.

8 participants