Skip to content

problem with undefined: unsafe.Slice in oref0-setup.sh script #1440

Open
@Maciej190004

Description

@Maciej190004

Describe the bug
During instalation (or reconfiguration) of OpenAPS (thru oref0-setup.sh script) I was facing issue with "undefined: unsafe.Slice" it happen right after "golang.org/x/sys/unix" processing.
Few lines after "undefined: unsafe.Slice" scripts ends throwing out below text: "Couldn't go get medtronic"

Unfortunately I do not have exact screen because I manage with this problem

To Reproduce
run master version of oref0-setup.sh script

Expected behavior
Normally script should process and install OpenAPS

Screenshots
Unfortunately I do not have screens

Smartphone (please complete the following information):
This is not related to smartphone

Setup Information (please complete the following information):

  • Pump type ( Medtronic 722, v. 2.4A firmware
  • CGM type (Dexcom G6 via xDrip+)
  • Rig type ( This problem appear on Edison/Explorer Board and on Raspberry Pi with ADAFruit
  • oref0 version (0.7.1 [master])

Additional context
In my case I was able to solve this problem by upgrading "go" version to from 1.12.5 to 1.17 (in line 1194 in oref0-setup.sh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions