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

python and pylance keep throwing errors: unexpected indentation #6374

Closed
RBnzr opened this issue Sep 11, 2024 · 3 comments
Closed

python and pylance keep throwing errors: unexpected indentation #6374

RBnzr opened this issue Sep 11, 2024 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists needs repro Issue has not been reproduced yet waiting for user response Requires more information from user

Comments

@RBnzr
Copy link

RBnzr commented Sep 11, 2024

Type: Bug

all my code base is returning with this error even tho nothing changed except vs code update even dongraded to older version and still the same issue

Extension version: 2024.14.0
VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12600K (16 x 3686)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.77GB (43.85GB free)
Process Argv --crash-reporter-id 44261052-917d-401d-b885-b5cacbea1c48
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
nativerepl1:31134654
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
fje88620:31121564

@RBnzr
Copy link
Author

RBnzr commented Sep 11, 2024

Just fixed the issue by reverting both python and pylance versions to the pervious version and the indentation error went away.
any ideas on whats causing this behavior?

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Sep 11, 2024
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Sep 11, 2024
@debonte
Copy link
Contributor

debonte commented Sep 11, 2024

@RBnzr, can you please provide some more details?

  • Screenshot of what you're seeing.
  • Full text of the diagnostics you're seeing.
  • Version numbers of the extensions where you saw the issue vs. where it did not occur?

@debonte debonte added the waiting for user response Requires more information from user label Sep 11, 2024
@debonte
Copy link
Contributor

debonte commented Sep 11, 2024

@RBnzr, looks like this is a duplicate of #6373?

@debonte debonte closed this as completed Sep 12, 2024
@debonte debonte added the duplicate This issue or pull request already exists label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists needs repro Issue has not been reproduced yet waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

2 participants