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

Formatter not run when space in file path #101

Closed
Devid-Ba opened this issue Jul 9, 2022 · 2 comments
Closed

Formatter not run when space in file path #101

Devid-Ba opened this issue Jul 9, 2022 · 2 comments
Labels
triage-needed Issue is not triaged.

Comments

@Devid-Ba
Copy link

Devid-Ba commented Jul 9, 2022

Issue Type: Bug

Name: Black
Module: black
CWD Format Server: /home/devidb/Desktop/github repos/mousebender
sys.path used to run Formatter:
/home/devidb/.vscode/extensions/ms-python.black-formatter-2022.3.11861005/bundled/formatter
/usr/lib/python310.zip
/usr/lib/python3.10
/usr/lib/python3.10/lib-dynload
/home/devidb/Desktop/github repos/mousebender/.venv/lib/python3.10/site-packages
/home/devidb/.vscode/extensions/ms-python.black-formatter-2022.3.11861005/bundled/libs

Settings used to run Formatter:
[
{
"workspace": "file:///home/devidb/Desktop/github%20repos/mousebender",
"trace": "error",
"args": [],
"severity": {},
"path": [],
"interpreter": [
"/home/devidb/Desktop/github repos/mousebender/.venv/bin/python"
]
}
]

Extension version: 2022.3.11861005
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-15T02:58:26.441Z)
OS version: Linux x64 5.15.0-40-generic snap
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz (4 x 2921)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 3, 3, 2
Memory (System) 7.71GB (1.17GB free)
Process Argv --no-sandbox --force-user-env --unity-launch --crash-reporter-id 6b5d5193-d2e1-4902-b0fd-91777db60c68
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30520717
vsclangdc:30486549

@github-actions github-actions bot added the triage-needed Issue is not triaged. label Jul 9, 2022
@Devid-Ba
Copy link
Author

Devid-Ba commented Jul 9, 2022

Turned out it was a Syntax error although there was no indication from the format extension that it was the reason it was not running, this came out while @brettcannon was helping me with it

@karthiknadig
Copy link
Member

This PR should handle scenarios like this: #59
related #55 #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Issue is not triaged.
Projects
None yet
Development

No branches or pull requests

2 participants