Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unescaped space in path (Windows) #479

Open
ADCJustinH opened this issue Dec 9, 2021 · 1 comment
Open

Unescaped space in path (Windows) #479

ADCJustinH opened this issue Dec 9, 2021 · 1 comment

Comments

@ADCJustinH
Copy link

We have written the needed data into your clipboard because it was too large to send. Please paste.

Issue Type: Bug

Manually install cli on windows in path with space in path.
Configure visual studio code stripe with stripe path
extension loads and appears to be working
error whenever any commands are issued because of space in path e.g. "Program files/Stripe"
That's annoying but easily fixed by users by escaping input except how the heck do I get back to the screen where I set the custom path? stripe logout doesn't seem to help... I'll consult doctor google and figure this out but I do think this could be cleaned up a bit. (I also put stripe in my PATH so why did I need a custom path in the first place? I think the windows cli install instructions could use a bit more detail

Extension version: 2.0.10
VS Code version: Code 1.63.0 (7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e, 2021-12-07T06:26:56.179Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz (12 x 3402)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 39.94GB (19.61GB free)
Process Argv --folder-uri file:///c%3A/Users/Justin/Source/Repos/barebones.links/AdroitCode.BarebonesLinks/ClientApp --crash-reporter-id 78fa7a72-3eb6-4ec4-9a78-36cac9757505
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsaa593:30376534
pythonvs932cf:30408637
vscop804cf:30404767
vs360cf:30404996
vsrem710:30405998
vscexrecpromp3t2:30407763

@rwmnau
Copy link

rwmnau commented Feb 21, 2024

This is super annoying - happens me to too because I have the CLI installed to a folder with a space in it (in Windows). It can be worked around by copying the CLI command from your terminal and manually wrapping it in quotes, but hoping the extension can be smart enough to do this on its own.

I think it could be handled in /src/stripeTerminal.ts but I'm having an issue getting it to compile locally that keeps me from testing :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants