Giter Site home page Giter Site logo

Comments (4)

dannyneira avatar dannyneira commented on June 27, 2024

Hi @format997 sorry about this blocker. Please note that the default copy/paste shortcuts on Linux (wsl included) is SHIFT-CTRL-C/V. Also I recommend you install firefox or chrome on the WSL VM as this may help with the copy/paste of the auth token. As a possible workaround if the normal copy/paste doesn't work, a user on the WSL thread noted they were able to use an autohotkey script to enter the auth key.

Please let us know if that helps as manually typing in the auth key is not ideal.

from warp.

format997 avatar format997 commented on June 27, 2024

Hey Danny!

Thanks for the response!

You know, so far, I haven't been able to even get to the point where it prompts me to put in the auth key. On windows 11 it will, which is why I can use warp terminal on W11 + WSL2 + U22, but apparently not on Windows 11.

After I click "sign in", I do get a browser tab to pop open on my Win 10 machine. I can sign in there, but the button won't take me back to the warp terminal window that opened. In fact, the "sign up"/"sign in" buttons are no longer clickable at this point. So, if that makes sense, it feels almost like the "sign-up"/"sign-in" window becomes unresponsive after I first click a button, and the the screen doesn't progress to the point where I am offered the option to put in an Auth key.

The terminal output at this point looks like this:
18:09:08 [INFO] dispatching typed action: Login
18:09:08 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method
18:09:23 [WARN] redraw_frame was called 2 times before the frame was drawn
18:09:23 [INFO] notifying view observers and updating windows for timer id 0
18:09:23 [INFO] active window changed: None
18:09:23 [INFO] dispatching global action for root_view:update_quake_mode_state
18:09:23 [INFO] dispatching global action for workspace:save_app
18:09:23 [WARN] Failed to record time "sample value too large"

On a win 11 box, which does progress me to the screen where I can manually input the auth code, after I click to "sign in", the output of the warp terminal looks like this:
18:05:09 [INFO] dispatching typed action: Login
18:05:09 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method
18:05:09 [INFO] Failed to open url with cmd.exe Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method
18:05:09 [WARN] redraw_frame was called 2 times before the frame was drawn
18:05:09 [INFO] notifying view observers and updating windows for timer id 0
18:05:12 [INFO] active window changed: None
18:05:12 [INFO] dispatching global action for root_view:update_quake_mode_state
18:05:12 [INFO] dispatching global action for workspace:save_app

I've also tried install firefox on the W10 U22 VM, and it still tries to drop me back into the W10 firefox browser to try and sign in. So, that didn't seem to help. Maybe there is a way to get warp-terminal to open firefox as installed on the WSL VM?

Anyway, let me know if any of the extra information helps suggest the issue or a workaround.

from warp.

jo-pillar avatar jo-pillar commented on June 27, 2024

this problem also happened in win11,and I could not input my auth token. #4910

Hey Danny!

Thanks for the response!

You know, so far, I haven't been able to even get to the point where it prompts me to put in the auth key. On windows 11 it will, which is why I can use warp terminal on W11 + WSL2 + U22, but apparently not on Windows 11.

After I click "sign in", I do get a browser tab to pop open on my Win 10 machine. I can sign in there, but the button won't take me back to the warp terminal window that opened. In fact, the "sign up"/"sign in" buttons are no longer clickable at this point. So, if that makes sense, it feels almost like the "sign-up"/"sign-in" window becomes unresponsive after I first click a button, and the the screen doesn't progress to the point where I am offered the option to put in an Auth key.

The terminal output at this point looks like this: 18:09:08 [INFO] dispatching typed action: Login 18:09:08 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method 18:09:23 [WARN] redraw_frame was called 2 times before the frame was drawn 18:09:23 [INFO] notifying view observers and updating windows for timer id 0 18:09:23 [INFO] active window changed: None 18:09:23 [INFO] dispatching global action for root_view:update_quake_mode_state 18:09:23 [INFO] dispatching global action for workspace:save_app 18:09:23 [WARN] Failed to record time "sample value too large"

On a win 11 box, which does progress me to the screen where I can manually input the auth code, after I click to "sign in", the output of the warp terminal looks like this: 18:05:09 [INFO] dispatching typed action: Login 18:05:09 [INFO] Failed to open url with wslview Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method 18:05:09 [INFO] Failed to open url with cmd.exe Os { code: 2, kind: NotFound, message: "No such file or directory" }, falling back to another method 18:05:09 [WARN] redraw_frame was called 2 times before the frame was drawn 18:05:09 [INFO] notifying view observers and updating windows for timer id 0 18:05:12 [INFO] active window changed: None 18:05:12 [INFO] dispatching global action for root_view:update_quake_mode_state 18:05:12 [INFO] dispatching global action for workspace:save_app

I've also tried install firefox on the W10 U22 VM, and it still tries to drop me back into the W10 firefox browser to try and sign in. So, that didn't seem to help. Maybe there is a way to get warp-terminal to open firefox as installed on the WSL VM?

Anyway, let me know if any of the extra information helps suggest the issue or a workaround.

from warp.

dannyneira avatar dannyneira commented on June 27, 2024

hey folks, I was able to test this issue on WSL2 Ubuntu Windows 11, and I noticed the Windows browser opens, but I can still copy/paste the auth token into Warp running in WSL. Please note that CTRL-SHIFT-C/V are the default copy/paste shortcuts for Warp in Linux/WSL (but CTRL-C/V should still work in the auth token menu).

CleanShot.2024-05-14.at.14.04.18.mp4

If you're still seeing the issue on the latest version of Warp, please provide a video to help us understand where it may be failing.

from warp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.