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

Wrong location in error message #54

Open
Kerl13 opened this issue Sep 26, 2018 · 1 comment
Open

Wrong location in error message #54

Kerl13 opened this issue Sep 26, 2018 · 1 comment

Comments

@Kerl13
Copy link
Contributor

Kerl13 commented Sep 26, 2018

The error message given by MrPython for the following (erroneous) code contains the wrong line number:

show_image(draw_line)
Erreur: ligne 67
==> AttributeError: 'function' object has no attribute 'objects'

I assume this is the location of the definition of the show_image function. I would rather expect the location of the error in my file (in this case, line 1).

(My version of MrPython: 06786b5)

@fredokun
Copy link
Collaborator

This one is rather tricky and requires some hacking ... to be addressed by a student project

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