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

Attribute Error suggestions don't work in imported mode #276

Closed
hx2A opened this issue Apr 2, 2023 · 4 comments
Closed

Attribute Error suggestions don't work in imported mode #276

hx2A opened this issue Apr 2, 2023 · 4 comments
Assignees

Comments

@hx2A
Copy link
Collaborator

hx2A commented Apr 2, 2023

No description provided.

@hx2A hx2A self-assigned this Apr 2, 2023
This was referenced Apr 2, 2023
@hx2A
Copy link
Collaborator Author

hx2A commented Apr 2, 2023

Fixed with #277

@hx2A hx2A closed this as completed Apr 2, 2023
@hx2A
Copy link
Collaborator Author

hx2A commented Apr 2, 2023

@villares , this is now fixed.

% run_sketch test_static_imported.py
py5 encountered an error in your code:


--> 1    c = colour(255, 0, 0)
    2    background(c)

NameError: The name "colour" is not defined. Did you mean "color"?

Works for the py5bot and py5 kernels and the run_sketch command line utility.

@hx2A
Copy link
Collaborator Author

hx2A commented Apr 2, 2023

@villares I just uploaded the py5 test distribution files to the same place where you got the previous one. Thank you again for your testing and diligence finding bugs.

Also, this is the first GitHub Copilot-assisted code fix. It is not a magic wand but it did help move this long faster.

@villares
Copy link
Collaborator

villares commented Apr 2, 2023

Hurray! I have just tested it on Linux and it worked brilliantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants