-
Notifications
You must be signed in to change notification settings - Fork 133
Specified argument was out of the range of valid values. #1313
Comments
Thanks for letting us know about this, @ebubekirtrkr. Where are you seeing that message? Is it a pop-up notification in VSCode or is it in one of the output panels? What is in the "Python" output panel? What about the "Problems" panel? Also, are you using Jedi or the new language server? (i.e. what is "python.jediEnabled" set to; more info #3977) Note, you left out a bunch of helpful details that we asked for in the issue template. I've pasted the template into the issue above, so please make sure it is filled out. Thanks! |
I have added a little more information. Also when I turn "python.jediEnabled" on, problems not occurs. |
Thanks. So this appears to be a problem with the language server. I'm going to send the the issue over to them. |
How did |
@jakebailey I have placed it in there, because I don't wanna share my directory path. |
Oh, I see. That's nearly the same syntax as what's in the config. Note that I don't think putting |
Actually, in context, |
@jakebailey I edit it as what it was at beginning. |
We had some recent fixes around paths and Python 2.7. I'd appreciate it if you could try out our daily build by setting the following and reloading: "python.analysis.downloadChannel": "daily" |
@jakebailey When I copy and paste it in settings , a notification occurs in problems section which is |
You can safely ignore the message. It's undocumented, and we give it out to help people test things. |
@jakebailey I have added what you say in settings and I reloaded VSCode. But It seems unsolved. Pyhton Output Console
|
Those google-cloud-sdk paths, did you set up some configuration in order to add them? As in extraPaths or PYTHONPATH? |
Yes in
|
That's probably where things are going wrong. Nothing between those settings and our use of it expands the What you can try is making those paths absolute. Based on your previous logs, I'd say something like:
Note that we have other issues when it comes to the ordering of these paths; some of those may not end up working due to the way we carve out parts of folders as import roots. You may need to reorder the above deepest-first, like:
|
The exception seems to happen deep in .NET framework. See https://github.com/dotnet/corefx/issues/34359. It is fixed in 3.0 while we are on 2.2. |
We have upgraded LS to .NET Core 3.0 a while ago in #1521 |
Issue Type: Bug
When I open any python file "Specified argument was out of the range of valid values." notification occurs. Moreover, Python autocomplete can't work.
Note: I tried to update and downgrade Vscode version. I have tried on both version 1_35 and 1_36
Environment data
clipboard==0.0.4
,random
,selenium==3.141.0
"python.jediEnabled"
set to; more info #3977): XXXSystem Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: disabled_off
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
surface_synchronization: enabled_on
video_decode: unavailable_off
webgl: enabled
webgl2: enabled
Expected behaviour
XXX
Actual behaviour
XXX
Steps to reproduce:
Logs
Pyhton Output Console
Problems
The text was updated successfully, but these errors were encountered: