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

catch not known attributes in ClearAttributes and SetAttributes #608

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

mmatera
Copy link
Contributor

@mmatera mmatera commented Nov 11, 2022

@rocky, please before merging #607, add this patch, to a bug that came up trying to load FeynCalc

@rocky
Copy link
Member

rocky commented Nov 11, 2022

@mmatera ok - after this passes CI let's merge and I will rebase off of this.

@rocky
Copy link
Member

rocky commented Nov 11, 2022

@mmatera If you have it, what is the exact error that occurs in FeynCalc?

@rocky
Copy link
Member

rocky commented Nov 11, 2022

This PR would suggest that Feyncalc has a bug which is hard to believe. So what changed in Mathematica?

@mmatera
Copy link
Contributor Author

mmatera commented Nov 11, 2022

@mmatera If you have it, what is the exact error that occurs in FeynCalc?

FeynCalc has a typo, that tries to Clear an attribute that do not exist. This patch just catch the exception.

Regarding the bug, it just tries to set ReadProtected attribute to some symbols, but there is a typo (something like ReadProtetced), that in WMA does not have any consequence, but here kills the kernel.

@rocky rocky marked this pull request as ready for review November 11, 2022 13:03
@rocky rocky merged commit 8a86511 into master Nov 11, 2022
@rocky rocky deleted the fix_Set_and_Clear_Attributes branch November 11, 2022 13:03
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 this pull request may close these issues.

2 participants