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

Insufficient debug info when Warning: The following definitions had errors while loading. #559

Open
dolezvo1 opened this issue Jul 6, 2024 · 2 comments · Fixed by pharo-project/pharo#16898

Comments

@dolezvo1
Copy link

dolezvo1 commented Jul 6, 2024

I've been trying to update an older project to work with newer codebase. During the install, I got the following warning/error:

The following definitions had errors while loading.  Press Proceed to try to load them again (they may work on a second pass):
[list of classes with errors]

That is to be expected, but the issue is that this warning/error does not (as far as I can tell) provide any information about the individual errors in the given definitions, which is very unhelpful for someone trying to fix those errors.

There is a variable called errorDefinitions which contains the definitions mentioned in the message above, but no trace of the exact errors.

@Ducasse
Copy link

Ducasse commented Jul 14, 2024

Yes we know and we faced this (suboptimal) design. It is bad. This behavior is a legacy.
Can you tell us on which version of Pharo you are experiencing it?

@Ducasse
Copy link

Ducasse commented Jul 14, 2024

Can you also provide a little case showing your problem so that we can use it to see how to fix it.

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

Successfully merging a pull request may close this issue.

2 participants