tartelet icon indicating copy to clipboard operation
tartelet copied to clipboard

How to get VMs to populate in UI?

Open dalyaidan1 opened this issue 1 year ago • 5 comments

Your Question

When I load Tartlet there are no VMs listed in the UI, but Tart is able to list them with the same command here. Is there another step I missed?

Any additional context?

Im not sure its a bug, so just posing a question for now. First time using Tart and Tarlet.

Steps:

  1. Install Tart via https://github.com/cirruslabs/tart?tab=readme-ov-file#usage
  2. Install Tatlet via https://github.com/shapehq/tartelet/wiki/Installing-Tartelet
  3. Complete app section of https://github.com/shapehq/tartelet/wiki/Configuring-Tartelet
  4. Complete step 1 of VM section of https://github.com/shapehq/tartelet/wiki/Configuring-Tartelet
  5. Click refresh on the virtual machine reload button in Tartlet

Here is what the Tartlet app looks like: Screenshot 2024-12-04 at 9 31 43 AM Screenshot 2024-12-04 at 9 31 52 AM

Here is what Tart lists in my zsh tartinfo

System: MacBook Air Chip: Apple M2 OS: Sequoia 15.1.1 (24B91)

Tart Version: 2.21.0

Tartlet Version: https://github.com/shapehq/tartelet/releases/tag/0.10.2 There are no logs when Export Logs is clicked

Ive also tried restarting my computer and the app several times.

dalyaidan1 avatar Dec 04 '24 14:12 dalyaidan1

Did you install tart via brew? Worked out of the box for me.

kuhnroyal avatar Dec 04 '24 15:12 kuhnroyal

Yes I installed tart via brew, exact same as https://github.com/cirruslabs/tart?tab=readme-ov-file#usage

dalyaidan1 avatar Dec 04 '24 17:12 dalyaidan1

I have no idea, according to the source, it would throw an error if tart was not found....

kuhnroyal avatar Dec 04 '24 23:12 kuhnroyal

We found that the issue is that homebrew is installed at a different path in the system than the candidate listed here: https://github.com/shapehq/tartelet/blob/e6bcb76c2ddec8052cc8bb8d697c7f4e75a55be8/Packages/VirtualMachine/Sources/VirtualMachineData/Internal/TartLocator.swift#L19

Could you provide an option to customize this candidate array?

dalyaidan1 avatar Dec 09 '24 15:12 dalyaidan1

But why is there no error 🤔

kuhnroyal avatar Dec 09 '24 19:12 kuhnroyal