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

The hint for failed imports is misleading. #81

Open
jhcole opened this issue Sep 12, 2024 · 1 comment
Open

The hint for failed imports is misleading. #81

jhcole opened this issue Sep 12, 2024 · 1 comment
Labels
New Feature New feature or request
Milestone

Comments

@jhcole
Copy link
Contributor

jhcole commented Sep 12, 2024

This import failed because a different missing file.

image

It would be better to provide the line of code that caused the error.

image

The Python_2 folder only existed in the student's local directory structure.

https://www.gradescope.com/courses/827708/assignments/4752373/submissions/266673959#

@jscarfo11 jscarfo11 added this to the Someday milestone Oct 31, 2024
@jscarfo11 jscarfo11 added the New Feature New feature or request label Oct 31, 2024
@jscarfo11
Copy link
Member

This can be fixed by changing this except block to extract the information from the traceback instead of blindly assuming it is the students module that we could not find.

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

No branches or pull requests

2 participants