WhiteCore-Dev icon indicating copy to clipboard operation
WhiteCore-Dev copied to clipboard

when run "root: # run configurator"

Open johnfelipe opened this issue 3 years ago • 6 comments

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?

johnfelipe avatar May 20 '21 01:05 johnfelipe

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 avatar May 20 '21 02:05 greythane

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

greythane avatar May 20 '21 02:05 greythane

No this is ubuntu dear

El mié, 19 may 2021 a las 21:27, Rowan Deppeler @.***>) escribió:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WhiteCoreSim/WhiteCore-Dev/issues/330#issuecomment-844634506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADIWFFPQPESEZKLL7HUK7TTORXR5ANCNFSM45F2WEEQ .

johnfelipe avatar May 20 '21 04:05 johnfelipe

any news about this?

johnfelipe avatar May 29 '21 05:05 johnfelipe

any advance about this?

johnfelipe avatar May 30 '21 23:05 johnfelipe

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

greythane avatar Jun 06 '21 23:06 greythane