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

SECURE error message is unclear with incorrectly formatted input block #1255

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 1 comment
Closed
Labels
CC.resolved Issue with CureCode status built, tested or complete Oldes.resolved Bugs/wishes with Oldes' fixes/features Protection Type.bug

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: henrikmk

>> secure [debug]
** Script error: datatype assertion failed for: pol
** Where: assert foreach secure
** Near: assert/type [target [word! file! url!] pol [block! word! int...

The correct input is secure [debug allow], but the error doesn't show this.


Imported from: CureCode [ Version: alpha 86 Type: Bug Platform: All Category: Error Handling Reproduce: Always Fixed-in:alpha 87 ]
Imported from: metaeducation#1255

Comments:

Rebolbot commented on Oct 6, 2009:

Submitted by: Carl

There's not a perfect solution here, because the error message cannot include all possibilities. However, there is now a HELP option that will summarize the arguments and tell you where to get more info.

Online R3 Docs updated to reflect these changes.


Rebolbot added the Type.bug on Jan 12, 2016


@Oldes Oldes added Oldes.resolved Bugs/wishes with Oldes' fixes/features Protection labels Mar 31, 2020
@Oldes
Copy link
Owner

Oldes commented Mar 31, 2020

@henrikmk now it is:

>> secure [debug]
** access error: invalid debug security policy: none

>> secure [debug 2]
** access error: invalid debug security policy: 2

>> secure [debug allow]
>>

@Siskin-Bot Siskin-Bot added the CC.resolved Issue with CureCode status built, tested or complete label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CC.resolved Issue with CureCode status built, tested or complete Oldes.resolved Bugs/wishes with Oldes' fixes/features Protection Type.bug
Projects
None yet
Development

No branches or pull requests

2 participants