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

Settings.m assigment failures, e.g. Settings`$S #69

Open
rocky opened this issue Dec 12, 2022 · 1 comment
Open

Settings.m assigment failures, e.g. Settings`$S #69

rocky opened this issue Dec 12, 2022 · 1 comment

Comments

@rocky
Copy link
Member

rocky commented Dec 12, 2022

Consider:

$ mathicsscript
Set::setraw: Cannot assign to raw object inkpot.

Mathicscript: 5.1.0.dev0, Mathics 5.0.3dev0
...

Investigating a little shows that autoloading mathicsscript/mathicsscript/autoload/settings.m fails in settings assignment.

In particular

Settings`$PygmentsStyle::usage = "This variable..."

when autoloaded produces:

Set::setraw: Cannot assign to raw object inkpot.

Note that "inkpot" is the the value of Settings`$PygmentsStyle.

@rocky
Copy link
Member Author

rocky commented Dec 12, 2022

@mmatera is this related to assignment changes? Order of loading changes? Change in the way mathicsscript sets a value for Settings`$PygmentsStyle?

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

1 participant