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

Bpy Module is Completely Empty, does not Autocomplete #271

Closed
Gonderage opened this issue Jun 25, 2024 · 8 comments
Closed

Bpy Module is Completely Empty, does not Autocomplete #271

Gonderage opened this issue Jun 25, 2024 · 8 comments
Labels

Comments

@Gonderage
Copy link

System Information

  • OS: Fedora 39 Linux
  • Blender version: 4.1

Expected behavior

Module bpy shows context, data, etc.

Description about the bug

Module bpy is empty in VSCode, but all other modules are autocompleting.

Screenshot from 2024-06-24 21-14-31
Screenshot from 2024-06-24 21-14-56
Screenshot from 2024-06-24 21-14-45

@nutti
Copy link
Owner

nutti commented Jun 25, 2024

This is weird.
Is bpy/init.pyi also empty?

@Gonderage
Copy link
Author

No, init.py is not empty.

image

@nutti
Copy link
Owner

nutti commented Jul 5, 2024

Then, this error should be come from the editor settings.
I suspect your file is not connected to some python project (from the name Untitle-1).
Please confirm that the source code which you edit, is connected to the project.

@nutti
Copy link
Owner

nutti commented Jul 12, 2024

@Gonderage

Any update?

@JonathanPlasse
Copy link
Sponsor Contributor

The generation sometimes fails and a lot of modules are missing or incomplete.
Some fake-bpy-module-latest versions with this problem can be found on PyPI.

@nutti
Copy link
Owner

nutti commented Jul 12, 2024

@JonathanPlasse

Thank you for the response.
Is this issue recently raised?

@JonathanPlasse
Copy link
Sponsor Contributor

I haven't seen the problem recently.

@nutti
Copy link
Owner

nutti commented Jul 12, 2024

Thank you.
OK, then I will close this issue.
Maybe this issue comes from the result of refactoring when I introduced the ruff linter.

@nutti nutti closed this as completed Jul 12, 2024
@nutti nutti closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
@nutti nutti added the invalid label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants