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

Exception raised for gh edu get -m when org is not set #18

Open
crguezl opened this issue Jul 9, 2022 · 0 comments
Open

Exception raised for gh edu get -m when org is not set #18

crguezl opened this issue Jul 9, 2022 · 0 comments

Comments

@crguezl
Copy link

crguezl commented Jul 9, 2022

After installing gh-edu on another mac, it gives an exception when running:

[~/.../tecnologia/tribunales(main)]$ gh edu get -m
No current organization configured
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x1164418, 0x21)
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/panic.go:605 +0x95 fp=0x7ff7bfeff4d0 sp=0x7ff7bfeff4b0 pc=0x1028165
runtime.goenvs()
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/os_darwin.go:108 +0x83 fp=0x7ff7bfeff500 sp=0x7ff7bfeff4d0 pc=0x1025a03
runtime.schedinit()
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/proc.go:492 +0xa1 fp=0x7ff7bfeff540 sp=0x7ff7bfeff500 pc=0x102ab41
runtime.rt0_go(0x7ff7bfeff570, 0x4, 0x7ff7bfeff570, 0x1000000, 0x4, 0x7ff7bfeff760, 0x7ff7bfeff764, 0x7ff7bfeff786, 0x7ff7bfeff797, 0x0, ...)
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/asm_amd64.s:175 +0x1eb fp=0x7ff7bfeff548 sp=0x7ff7bfeff540 pc=0x105292b

When the orgis set the error dissapears:

[~/.../tecnologia/tribunales(main)]$ gh edu set -o ULL-ESIT-PL-2122
Not in cache. Fetching... (Cache will be updated)
[~/.../tecnologia/tribunales(main)]$ gh edu get -m
[
  'crguezl',          'casiano',         'alu0100698688',
...  'ilopezpl',         'alu0101330105',   'alu0101051420'
]

Here is the machine profile:

[~/.../tecnologia/tribunales(main)]$ system_profiler SPSoftwareDataType SPHardwareDataType
Software:

    System Software Overview:

      System Version: macOS 12.4 (21F79)
      Kernel Version: Darwin 21.5.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled

Hardware:

    Hardware Overview:

      Model Name: MacBook Air
      Model Identifier: MacBookAir7,2
      Processor Name: Dual-Core Intel Core i5
      Processor Speed: 1,6 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache (per Core): 256 KB
      L3 Cache: 3 MB
      Hyper-Threading Technology: Enabled
      Memory: 8 GB
      System Firmware Version: 430.120.6.0.0
      OS Loader Version: 540.120.3~6
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

1 participant