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

Issue executing run picker, attempt to get length of local 'devices' #246

Open
2 tasks
pablolagreca opened this issue May 20, 2024 · 1 comment
Open
2 tasks
Labels
bug Something isn't working

Comments

@pablolagreca
Copy link

Editor/Client you used

Neovim

Installation and Dependences checklist

  • xbase is installed and ~/.local/share/xbase has required binaries
  • All listed editor/client dependences is installed

Description

Getting the following error for an xcode swift project targeting macOS as device.

E5108: Error executing lua: ...lagreca/.local/share/nvim/lazy/xbase/lua/xbase/state.lua:43: attempt to get length of local 'devices' (a nil value)

Expected behavior

To work.

Reproduce

Just imported my project and try yo run picker for run. Picker for build and all work just fine.

Actual behavior

Getting this error:

E5108: Error executing lua: ...lagreca/.local/share/nvim/lazy/xbase/lua/xbase/state.lua:43: attempt to get length of local 'devices' (a nil value)
stack traceback:
	...lagreca/.local/share/nvim/lazy/xbase/lua/xbase/state.lua:43: in function 'devices'
	.../.local/share/nvim/lazy/xbase/lua/xbase/pickers/util.lua:90: in function 'iterate'
	.../.local/share/nvim/lazy/xbase/lua/xbase/pickers/util.lua:112: in function 'generate_entries'
	...al/share/nvim/lazy/xbase/lua/xbase/pickers/telescope.lua:50: in function 'find'
	...al/share/nvim/lazy/xbase/lua/xbase/pickers/telescope.lua:76: in function <...al/share/nvim/lazy/xbase/lua/xbase/pickers/telescope.lua:73>

Operating system and version

macOS 14.1.1

xbase version / branch / rev

master

Neovim version

nvim v0.9.5

Vscode version (if the editor you used is vscode)

No response

Installed XCode Developer Tools

Developer:

    Developer Tools:

      Version: 15.4 (15F31d)
      Location: /Applications/Xcode.app
      Applications:
          Xcode: 15.4 (22622)
          Instruments: 15.3 (64565.112)
      SDKs:
          DriverKit:
              23,5: 
          iOS:
              17,5: (21F77)
          iOS Simulator:
              17,5: (21F77)
          macOS:
              14,5: (23F73)
          tvOS:
              17,5: (21L566)
          tvOS Simulator:
              17,5: (21L566)
          visionOS:
              1,2: (21O5565d)
          visionOS Simulator:
              1,2: (21O5565d)
          watchOS:
              10,5: (21T569)
          watchOS Simulator:
              10,5: (21T569)

XBase Logs

INFO Client{fd=16}: Connected
                                                                                                        │ INFO Broadcaster{name="ShortcutHero"}: Connected [73809]
                                                                                                        │ INFO Runtime{name="ShortcutHero"}: Connected [73809]
                                                                                                        │ INFO Client{fd=16}: Disconnected
                                                                                                        │ INFO Runtime{name="ShortcutHero"}: Disconnected [73809]
                                                                                                        │ INFO Client{fd=16}: Connected
                                                                                                        │ INFO Broadcaster{name="ShortcutHero"}: Connected [74497]
                                                                                                        │ INFO Runtime{name="ShortcutHero"}: Connected [74497]
                                                                                                        │ INFO Client{fd=16}: Disconnected
                                                                                                        │ INFO Runtime{name="ShortcutHero"}: Disconnected [74497]

XBase Build Server Logs

│ INFO xbase_sourcekit_helper: Started
                                                                                                        │ INFO xbase_sourcekit_helper: Initialized
                                                                                                        │DEBUG xbase_sourcekit_helper: [Configuration.swift] Querying compile_db
                                                                                                        │ INFO xbase_sourcekit_helper: 
                                                                                                        │ INFO xbase_sourcekit_helper: Started
                                                                                                        │ INFO xbase_sourcekit_helper: Initialized
                                                                                                        │ INFO xbase_sourcekit_helper: Started
                                                                                                        │ INFO xbase_sourcekit_helper: Initialized
                                                                                                        │DEBUG xbase_sourcekit_helper: [Configuration.swift] Querying compile_db
                                                                                                        │ INFO xbase_sourcekit_helper: 
@pablolagreca pablolagreca added the bug Something isn't working label May 20, 2024
@bruhderek
Copy link

Hey I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants