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

Toolset - Make NSSEditor.compileCurrentScript use Editor.save to write to RIM files etc. Fixes: #68 #70

Closed
wants to merge 4 commits into from

Conversation

JoeNotCharles
Copy link
Contributor

NSSEditor.build returns a bogus error after compileScript succeeds. Saving of compiled scripts works find if it just returns the data to the caller.

@JoeNotCharles JoeNotCharles changed the title Fix NCS Save option Fix NCS Save option. Fixes: #68 Mar 10, 2024
@th3w1zard1 th3w1zard1 changed the title Fix NCS Save option. Fixes: #68 Toolset - Fix NCS Save option. Fixes: #68 Mar 10, 2024
Joe Mason added 2 commits March 10, 2024 22:22
Print 'compiling script from nsseditor' before compile, not after.
@JoeNotCharles JoeNotCharles changed the title Toolset - Fix NCS Save option. Fixes: #68 Toolset - Make NSSEditor.compileCurrentScript use Editor.save to write to RIM files etc. Fixes: #68 Mar 11, 2024
Copy link
Contributor Author

@JoeNotCharles JoeNotCharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I have no access to delete comments. Posted this is in the wrong place.)


msg = "Could not convert to bytes - nsseditor.build()"
raise ValueError(msg)
return compiled_bytes, b""
Copy link
Contributor Author

@JoeNotCharles JoeNotCharles Mar 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how to do stacked changes in github: this commit is also in #72 which should be pulled first.

@JoeNotCharles
Copy link
Contributor Author

This needs a some reworking, withdrawing for now.

@JoeNotCharles JoeNotCharles reopened this Mar 11, 2024
@JoeNotCharles JoeNotCharles deleted the fix_nss_build branch March 12, 2024 03:04
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