Closed stamhaney closed 3 years ago
It's DUP with https://github.com/nanoscopic/controlfloor/issues/17. It's because the WDA was installed and set up completed.
You can check the folder repos/WebDriverAgent/build. It should include all items like it:
Hi @nanoscopic
Thank You for your reply, I have verified that folder structure is as per your suggestion.
$ ./main register Enter registration password:alpha panic: runtime error: index out of range [48] with length 48
goroutine 1 [running]: github.com/nanoscopic/ujsonin/mod.Parse(0xc000124000, 0x30, 0x600, 0xc000124000, 0x30, 0x600, 0x0) /users/utsmacmini/go/pkg/mod/github.com/nanoscopic/ujsonin@v1.13.0/mod/ujsonin.go:369 +0x1f83 main.doregister(0xc0000aa3c0, 0x0, 0x0) /Users/utsmacmini/Desktop/controlfloor/ios_remote_provider/controlfloor.go:419 +0x565 main.runRegister(0xc0000b01e0) /Users/utsmacmini/Desktop/controlfloor/ios_remote_provider/main.go:46 +0x39 github.com/nanoscopic/uclop/mod.(Cmd).Run(...) /users/utsmacmini/go/pkg/mod/github.com/nanoscopic/uclop@v1.1.0/mod/main.go:164 github.com/nanoscopic/uclop/mod.(Uclop).Run(0xc000105e50) /users/utsmacmini/go/pkg/mod/github.com/nanoscopic/uclop@v1.1.0/mod/main.go:159 +0x240 main.main() /Users/utsmacmini/Desktop/controlfloor/ios_remote_provider/main.go:20 +0x31a
As you have suggested to check folder hierarchy, It is as expected shared screenshot for your reference
Kindly help.
Sharing screenshot with you for your reference.
Things have been changed a bunch since this. I never saw this particular issue though. Please run again with latest code and state whether this issue still occurs for you and I will look into it if so.
If it works now for you please close this issue.
Looping Rajeev,
Thanks & Regards,
Rubina Mulani
From: David Helkowski @.> Sent: Monday, March 22, 2021 2:26 PM To: nanoscopic/controlfloor @.> Cc: rub-code @.>; Comment @.> Subject: Re: [nanoscopic/controlfloor] Error while calling main -register : "runtime error: index out of range [48] with length 48" (#18)
Things have been changed a bunch since this. I never saw this particular issue though. Please run again with latest code and state whether this issue still occurs for you and I will look into it if so.
If it works now for you please close this issue.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nanoscopic/controlfloor/issues/18#issuecomment-803885422 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATEFJMJUVGEYPTZCSHTK5GDTE4A2NANCNFSM4YURJIOQ . https://github.com/notifications/beacon/ATEFJMKTT4KDBUVS5QL7OFTTE4A2NA5CNFSM4YURJIO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF7VFC3Q.gif
If it is helpful I could create a video demonstrating initial setup of a functioning ControlFloor system.
It doesn't take very long to do that. I have been meaning to do it anyway as many users would be helped by this.
It should not be difficult just to get the basic system up and running, and I fear that my instructions are just not clear.
With a video, you could see exactly what must be done.
Thanks @nanoscopic
Yes Please it would be great help. :)
I don't understand what the issue was here. This issue is non-actionable. Steps explaining how to duplicate this problem would need to be given. I'm chalking this up to user error / failure to follow instructions on system setup for now.
There were also problems with various versions of ujsonin previously; but those are all fixed now.
Eg: This was an issue but was fixed long ago and kept open and commented on by others for non-relevant issues to the posted problem.
@nanoscopic When I am trying to run the registration command: ./main register while setting up the ios_remote_provider, and press enter on the input field, I am getting the following error:
$ ./main register Enter registration password: Using default registration password of doreg panic: runtime error: index out of range [48] with length 48
goroutine 1 [running]: github.com/nanoscopic/ujsonin/mod.Parse(0xc000190000, 0x30, 0x600, 0xc000190000, 0x30, 0x600, 0x0) /users/utsmacmini/go/pkg/mod/github.com/nanoscopic/ujsonin@v1.13.0/mod/ujsonin.go:369 +0x1f83 main.doregister(0xc000068420, 0x0, 0x0) /Users/utsmacmini/Desktop/controlfloor/ios_remote_provider/controlfloor.go:419 +0x565 main.runRegister(0xc000072230) /Users/utsmacmini/Desktop/controlfloor/ios_remote_provider/main.go:46 +0x39 github.com/nanoscopic/uclop/mod.(Cmd).Run(...) /users/utsmacmini/go/pkg/mod/github.com/nanoscopic/uclop@v1.1.0/mod/main.go:164 github.com/nanoscopic/uclop/mod.(Uclop).Run(0xc00015de50) /users/utsmacmini/go/pkg/mod/github.com/nanoscopic/uclop@v1.1.0/mod/main.go:159 +0x240 main.main()
Can you please help