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

when run "root: # run configurator" #330

Open
johnfelipe opened this issue May 20, 2021 · 6 comments
Open

when run "root: # run configurator" #330

johnfelipe opened this issue May 20, 2021 · 6 comments

Comments

@johnfelipe
Copy link

May 19 08:42:58 - [Application]:
Application exception detected
Exception: System.FormatException: Input string was not in a correct format.
  at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <533173d24dae460899d2b10975534bb0>:0
  at System.Number.ParseUInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00018] in <533173d24dae460899d2b10975534bb0>:0
  at System.UInt32.Parse (System.String s) [0x00016] in <533173d24dae460899d2b10975534bb0>:0
  at WhiteCore.Simulation.Base.BaseApplication.Configure (System.Boolean requested) [0x0053b] in <c91d7c214af04b329ae7f560f423d497>:0
  at WhiteCore.Simulation.Base.SimulationBase.RunConfig (WhiteCore.Framework.SceneInfo.IScene scene, System.String[] cmd) [0x00000] in <c91d7c214af04b329ae7f560f423d497>:0
  at WhiteCore.Framework.ConsoleFramework.Commands+CommandSet.ExecuteCommand (System.String[] commandPath) [0x002fd] in <133e61f5cfd540db85cb899fc32f4696>:0
  at WhiteCore.Framework.ConsoleFramework.Commands+CommandSet.ExecuteCommand (System.String[] commandPath) [0x003f0] in <133e61f5cfd540db85cb899fc32f4696>:0
  at WhiteCore.Framework.ConsoleFramework.Commands.Resolve (System.String[] cmd) [0x00000] in <133e61f5cfd540db85cb899fc32f4696>:0
  at WhiteCore.Framework.ConsoleFramework.LocalConsole.ReadLine (System.String p, System.Boolean isCommand, System.Boolean e) [0x007a0] in <133e61f5cfd540db85cb899fc32f4696>:0
  at WhiteCore.Framework.ConsoleFramework.CommandConsole.Prompt () [0x00016] in <133e61f5cfd540db85cb899fc32f4696>:0
  at WhiteCore.Framework.ConsoleFramework.CommandConsole.ReadConsole () [0x00000] in <133e61f5cfd540db85cb899fc32f4696>:0
  at WhiteCore.Simulation.Base.SimulationBase.Run () [0x0000c] in <c91d7c214af04b329ae7f560f423d497>:0
  at WhiteCore.Simulation.Base.BaseApplication.Startup (Nini.Config.IConfigSource originalConfigSource, Nini.Config.IConfigSource configSource, WhiteCore.Framework.Modules.ISimulationBase simBase, System.String[] cmdParameters) [0x00014] in <c91d7c214af04b329ae7f560f423d497>:0
Application is terminating: False

how can solve this?

@greythane
Copy link
Member

Hi Felipe,
Nice to see someone still checking out WhiteCore... maybe I'll ramp up development again :)

This looks like a problem in the configuration files somewhere.
Incorrect format...
I suspect that there may be a difference in what is expected and what is found...
Differences in number formats spring to mind here.

Possibly the host ip address is being interpreted incorrectly due to commas replacing (dots) or something similar.
Best thing is to quote an IP address i.e. "127.0.0.1" etc so it is read as a string and not a number.

Some other ini files have decimal values. eg the physics configs.

Of course this may not be the problem. If you wish, zip up your config directory and send it to me and I'll fire up and see what is causing the problem. - greythane @ gmail . com

@greythane
Copy link
Member

Another thought..
I am assuming a Windows setup here.
What is your windows locale set to and I may be able to emulate it

@johnfelipe
Copy link
Author

johnfelipe commented May 20, 2021 via email

@johnfelipe
Copy link
Author

any news about this?

@johnfelipe
Copy link
Author

any advance about this?

@greythane
Copy link
Member

From the error message it appears that a number being entered is not formatted correctly.
Can you tell me what you were entering when the error occurred please

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