Skip to content

macOS: Could not find a part of the path '/dev/bus/usb' #31

@einstein95

Description

@einstein95

Description

Thor fails to find /dev/bus/usb due to it not existing in macOS.

Reproduction

  1. Enter command connect
  2. I get the error

Expected behaviour

Thor connects.

Hardware and software

  • OS of the computer used: macOS 26.0.1 (25A362)

Additional context

[22:29:37 DBG] Full exception: System.IO.DirectoryNotFoundException: Could not find a part of the path '/dev/bus/usb'.
   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String, Boolean) + 0xa1
   at System.IO.Enumeration.FileSystemEnumerator`1.Init() + 0x17
   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String, FileSystemEnumerable`1.FindTransform, EnumerationOptions, Boolean) + 0x84
   at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String, String, EnumerationOptions) + 0x9d
   at System.IO.Directory.InternalEnumeratePaths(String, String, SearchTarget, EnumerationOptions) + 0x89
   at TheAirBlow.Thor.Library.Platform.Linux.GetDevices() + 0x48
   at TheAirBlow.Thor.Shell.Commands.Connect.RunCommand(State, List`1) + 0x4c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions