Skip to content

more helpful error messages ? #5

Description

@theotheroracle

tried to open my ledger journal in monescript and i'm just getting "failing on line:" which isn't really all that helpful as it's not telling me what i'm doing wrong .

as far as i can tell, it's formatted correctly, i've referenced the readme several times, i also couldn't find any other documentation anywhere, so not really sure if there's some syntactical quirk i'm missing .

for reference, here's the error i'm getting:

Failing on line {
  "type": "data",
  "value": "2021/05/12 * init @ init > aset : initialization   \n\tinit\n\taset:chas:chek                           +$0477.64  \n\taset:chas:savn                           +$0100.00  \n\taset:cshp                                +$0000.00  \n",
  "text": "2021/05/12 * init @ init > aset : initialization   \n\tinit\n\taset:chas:chek                           +$0477.64  \n\taset:chas:savn                           +$0100.00  \n\taset:cshp                                +$0000.00  \n",
  "offset": 3806,
  "lineBreaks": 5,
  "line": 128,
  "col": 1
}

and the line it's referencing:

2021/05/12 * init @ init > aset : initialization
        init
        aset:chas:chek                           +$0477.64  
        aset:chas:savn                           +$0100.00
        aset:cshp                                +$0000.00

Activity

  1. theotheroracle commented on Jun 19, 2021

    @theotheroracle
    Author

    after a bit more experimenting, i think the issue might be that it doesn't like my shorthand account variables ?
    seems to not understand "aset" or "init" still not entirely clear but that seems to be an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions