#๐Ÿ”’ Autocomplete stuck vscode

93 messages ยท Page 1 of 1 (latest)

kind hull
naive elkBOT
#

@kind hull

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

kind hull
#

#python-discussion message yes, I have manually selected python 3.12.0 (env)

molten quail
#

I know it's not super helpful but I've had this issue before. I reinstalled vsc

kind hull
#

I guess it's worth a try, thank you!

waxen ridge
# kind hull

Can you share a full screenshot of your VSCode?

dire mantle
#

What is your interpretor. Its in bottom left i think

kind hull
#

In a second, I'm reinstalling it

kind hull
waxen ridge
# kind hull

I'm sorry but I'm seeing packages > datatypes > test.py. I hope you're not in the Python installation directory?

kind hull
waxen ridge
#

Alright that's safe

dire mantle
#

Vscode

final plank
#

do you really have to reinstall vscode?

kind hull
final plank
#

time to switch to pyc (jk)

dire mantle
waxen ridge
dire mantle
#

It could very well be a extension issue

kind hull
#

Let me uninstall all the ones I don't use

#

One second

dire mantle
#

Some extension fail to identify interpretor

final plank
#

Also how did you make your interpreter, and is it in good state/

#

if possible, can you observe output > python language server and see if something is unusal there

#

optionally reinstall the ext

kind hull
final plank
#

sure

naive elkBOT
#

failmail :ok_hand: applied timeout to @kind hull until <t:1754321261:f> (10 minutes) (reason: emoji spam - sent 23 emojis).

The <@&831776746206265384> have been alerted for review.

final plank
#

so why did automod ping me

grave lantern
#

It didn't, they pinged a dozen people in multiple channels and got automuted*

#

Please dont' do that.

#

!unmute 544223861768585217

naive elkBOT
#

failmail :ok_hand: pardoned infraction timeout for @kind hull.

kind hull
#

I'm sorry, what just happened?

grave lantern
#

Mentioning more than a certain amount of people in a short period of time triggers antispam

kind hull
#

I'm really sorry but I'm genuinly confused because I was simply replying to redwood

merry tree
#

Also having too many emojis

kind hull
#

I was sending the logs from my python language interpreter

#

But it has zero emojis and zero mentions

merry tree
#

Yeah, I think the bot saw :text: and interpreted it as a discord emoji

#

I'll raise it internally

kind hull
#

Can I send it as a .txt?

merry tree
#

Its not on you, this is a bug with the bot from what I can tell

Yeah, the pastebin site is a good alternative

#

!paste

naive elkBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

kind hull
#

Thank you! Have a wonderful day!

grave lantern
#

I think part of it is it wasn't sent in a code block

kind hull
#

Let me try in a code block

grave lantern
#

we're probably matching on 18:14:38.593 .. which can be a valid emoji: ๐Ÿ’ฏ

kind hull
#
2025-08-04 18:14:38.110 [info] [Debug - 6:14:38 PM] no definitions found for name "UserValidationTask" of type 'statement' (3:6)
2025-08-04 18:14:38.111 [info] [Debug - 6:14:38 PM] no definitions found for name "dis" of type 'statement' (3:25)
2025-08-04 18:14:38.593 [info] semantic_tokens_full file:///c%3A/workdir/packages/tasks/user_validation.py 
2025-08-04 18:14:38.606 [info] [Debug - 6:14:38 PM] no definitions found for name "UserValidationTask" of type 'statement' (3:6)
2025-08-04 18:14:40.853 [info] semantic_tokens_full file:///c%3A/workdir/packages/tasks/user_validation.py 
2025-08-04 18:14:40.859 [info] WARNING:pygls.protocol.json_rpc:Cancel notification for unknown message id "223"

2025-08-04 18:14:40.862 [info] [Debug - 6:14:40 PM] no definitions found for name "UserValidationTask" of type 'statement' (3:6)
2025-08-04 18:14:41.482 [info] WARNING:pygls.protocol.json_rpc:Cancel notification for unknown message id "224"

2025-08-04 18:14:49.069 [info] semantic_tokens_full file:///c%3A/workdir/packages/tasks/user_validation.py 
2025-08-04 18:14:49.075 [info] WARNING:pygls.protocol.json_rpc:Cancel notification for unknown message id "234"

2025-08-04 18:14:49.083 [info] WARNING:pygls.protocol.json_rpc:Cancel notification for unknown message id "236"

2025-08-04 18:14:49.084 [info] [Debug - 6:14:49 PM] no definitions found for name "UserValidationTask" of type 'statement' (3:6)
2025-08-04 18:14:49.341 [info] [Debug - 6:14:49 PM] no definitions found for name "C" of type 'statement' (3:33)
2025-08-04 18:14:50.200 [info] semantic_tokens_full file:///c%3A/workdir/packages/tasks/user_validation.py 
2025-08-04 18:14:50.205 [info] [Debug - 6:14:50 PM] no definitions found for name "UserValidationTask" of type 'statement' (3:6)```
grave lantern
#

Honestly I assumed it was mentions because I saw it in python-discussion first

kind hull
#

Oh there we go!

final plank
#

reinstall the ext can work

#

or update whatever

kind hull
final plank
#

or just properly uninstall the ext and install it again

kind hull
grave lantern
#

No, I was just in the channel and got pinged for the mute and assumed it was related

final plank
#

did you reinstall ext or vscode?

kind hull
final plank
#

yeah it pinged me too

#

can you post your settings

kind hull
#

I've reinstalled it once more, we'll see if it works

waxen ridge
#

Try disabling all extensions

#

And then slowly enable extensions one at a time

final plank
#

@kind hull how many exts do you have

waxen ridge
#

Until you notice there's the "slowness", that's probably the problematic extension

final plank
#

fair

#

!paste

naive elkBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

final plank
kind hull
#

It seems to be working again

#

I'll keep you updated

final plank
#

bruh

kind hull
#

And it broke again

#

I disabled all the extensions except the python ones

final plank
#

how many packages in your env

#

and are you on a hdd

kind hull
kind hull
final plank
#

and hard to figure out

#

just empty your %temp%

#

and browser caches

#

should bring you some space

kind hull
#

I'll take some time clearing out various junk and see if that helps. If it's okay I'll come back with the verdict tomorrow

#

Have a wonderful day and thank you all immensely for the help thus far!

naive elkBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.