daan icon indicating copy to clipboard operation
daan copied to clipboard

macOS client could not open and always freeze.

Open Lozgemk opened this issue 1 year ago • 10 comments

When I open the downloaded macOS release (AArch64), it shows the following message:

Image

After searching on the internet, it can be resolved by executing xattr -c path_to_app.

However, even if I can open the app, the app freezes whenever I try to input a key or proxy endpoint in the input box in the setting. It always freezes whenever I hit the first character.

Lozgemk avatar Apr 24 '25 11:04 Lozgemk

Thanks for your feedback. The desktop builds are experimental. I'll fix these issues on Mac OS after I implement stdio MCP communication.

pluveto avatar Apr 24 '25 11:04 pluveto

you should run this :

sudo xattr -dr com.apple.quarantine /Applications/daan.app

Borber avatar Apr 24 '25 11:04 Borber

you should run this :

sudo xattr -dr com.apple.quarantine /Applications/daan.app

@Borber Thanks for your reply. This solves the pop-up problem when opening the app. However, the app still freezes when I try to input in the settings. Specifically, there is a process called tauri://localhost using 100% CPU.

Lozgemk avatar Apr 24 '25 12:04 Lozgemk

I'm debugging on my Mac and I can't reproduce the bug

Image

Could you share your console output details?

pluveto avatar Apr 24 '25 13:04 pluveto

Image

You can right click on blank and open "Inspect Element" to open the developer inspector UI

pluveto avatar Apr 24 '25 13:04 pluveto

Image You can right click on blank and open "Inspect Element" to open the developer inspector UI

I'm using the release daan_0.3.0_aarch64.dmg. I don't have the "Inspect Element" option:

Image

The chat message box works for me; the freeze happens when I input in the settings, like in the following field:

Image

Lozgemk avatar Apr 24 '25 18:04 Lozgemk

I probably know why. I'm trying to add a debounce mechanism to address this

On Fri, Apr 25, 2025 at 02:57, Lozgemk @.***(mailto:On Fri, Apr 25, 2025 at 02:57, Lozgemk < wrote:

Lozgemk left a comment (pluveto/daan#11)

Image You can right click on blank and open "Inspect Element" to open the developer inspector UI

I'm using the release daan_0.3.0_aarch64.dmg. I don't have the "Inspect Element" option:

image.png (view on web)

The chat message box works for me; the freeze happens when I input in the settings, like in the following field:

image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

pluveto avatar Apr 25 '25 02:04 pluveto

This should now be fixed by PR #16

pluveto avatar Apr 25 '25 02:04 pluveto

New release will be published later.

pluveto avatar Apr 25 '25 03:04 pluveto

Thank you for the fix. I built the new version locally and confirmed that the issue is resolved.

Lozgemk avatar Apr 25 '25 08:04 Lozgemk