warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.85k stars 354 forks source link

AI Q&A issues: stuck, blinking, and unresponsive #4600

Open ka3533 opened 5 months ago

ka3533 commented 5 months ago

Discord username (optional)

Weibin Wang

Describe the bug

Hello, developer. I've tested your "warp" on Mac OS (M1) and Ubuntu 22.04, and it currently works well on Mac OS. Sometimes AI Q&A does not react, however this is more common on Ubuntu 22.04. Clicking on the icon frequently results in a failure to reply, or the software opens but does not display an interface before exiting automatically after lagging. I believe the knowledge I share will help "warp" gain popularity among users.

To reproduce

failure to reply

Expected behavior

No response

Screenshots

No response

Operating system

Linux

Operating system and version

ubuntu 22.04

Shell Version

No response

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 5 months ago

Hi @ka3533 make sure your ubuntu machine has the same access as your mac (app.warp.dev is the main domain you need access to use WARP AI). Its difficult to reproduce this on our end, could you please submit a video of the issue so that we can get a better idea of the problem? if you can run the Network log while you make the call on both mac and linux to make sure the request is being sent. https://docs.warp.dev/features/network-log

ka3533 commented 5 months ago

Hi @ka3533 make sure your ubuntu machine has the same access as your mac (app.warp.dev is the main domain you need access to use WARP AI). Its difficult to reproduce this on our end, could you please submit a video of the issue so that we can get a better idea of the problem? if you can run the Network log while you make the call on both mac and linux to make sure the request is being sent. https://docs.warp.dev/features/network-log

some erro like this:

21:49:35 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1") 21:49:35 [WARN] Unable to fetch system color scheme: FDO( UnknownMethod( "No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop", ), )

21:49:35 [INFO] Performance metrics collector started 21:49:35 [INFO] Initializing app services 21:49:35 [WARN] No config found! 21:49:35 [WARN] EGL says it can present to the window but not natively 21:49:35 [INFO] Connecting to SQLite database

21:49:35 [INFO] dispatching global action for workspace:save_app 21:49:35 [WARN] Tried to update block filter query without active_filter_editor_block_index set 21:49:35 [INFO] dispatching global action for workspace:save_app 21:49:35 [WARN] Tried to render share modal without a model 21:49:35 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1") 21:49:35 [WARN] No alert dialog was set for the native modal 21:49:35 [INFO] Received InitShell hook 21:49:35 [WARN] No alert dialog was set for the native modal 21:49:35 [WARN] Tried to render share modal without a model 21:49:35 [INFO] Guessed window scale factor: 2 21:49:35 [WARN] Initial access token request to Firebase failed: error sending request for url (https://securetoken.googleapis.com/v1/token?key=AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs): error trying to connect: Connection reset by peer (os error 104)

Caused by: 0: error trying to connect: Connection reset by peer (os error 104) 1: Connection reset by peer (os error 104) 21:49:35 [WARN] No config found! 21:49:35 [WARN] EGL says it can present to the window but not natively 21:49:35 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | DX11 | BROWSER_WEBGPU)

21:51:18 [WARN] Received 'end_in_band_command_output' while not expecting to read in-band command output. 21:51:18 [WARN] redraw_frame was called 2 times before the frame was drawn 21:51:18 [INFO] Received CommandFinished hook 21:51:18 [INFO] Block finished with new state DoneWithNoExecution 21:51:18 [INFO] dispatching global action for workspace:save_app 21:51:18 [WARN] redraw_frame was called 2 times before the frame was drawn 21:51:18 [INFO] Received Precmd hook 21:51:18 [WARN] redraw_frame was called 5 times before the frame was drawn 21:51:18 [WARN] failed to get git_branches_for_command_corrections