Skip to content

FPrime dictionary parser throws error, and UI says 'ampcs' #1753

@barugonman

Description

@barugonman

Checked for duplicates

Yes - I've already checked

Is this a regression?

No - This is a new bug

Version

aerie-ui-3.6.0 – develop:a775e5b – 8/27/2025, 8:46:33 PM

Describe the bug

Looking into fprime and Aerie/PlanDev integration for my own project, and know a bit of work was done. I was able to update the config such that it would load the fprime dictionary sequencing plugin. However when I try to load a recently created fprime dictionary from the most recent fprime, I get a json parse error (see 'logs')

I did check around for other open fprime issues and all i found was:

#1531

Here's the offending dictionary:

HelloWorldDeploymentTopologyDictionary.json

I'll likely work around this by generating my own AMPCS XML formatted command dictionary from the fprime, but good to clean this up (i'm assuming the fprime dictionary has advanced a bit in the meantime)

Reproduction

  • Save off the dictionary
  • Uncomment ' DICTIONARY_PARSER_PLUGIN: "/fprime-dictionary-parser/fprime-parser.js" #-- Relative to sequencing-server/plugins, Uncomment to use a different command dictionary parser' from docker-compose.yml
  • assemble and run the server
  • Go to 'Dictionaries' and try and load the file

Logs

`INFO app - Dictionary received

ERROR app - ID has no 'kind' defined by typeDefinitions

Error: ID has no 'kind' defined by typeDefinitions

    at argToFSWArg (file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:193:27)

    at file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:70:16

    at Array.map (<anonymous>)

    at argsToAMPCSArgs (file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:69:33)

    at commandToAMPCSCommand (file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:62:12)

    at file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:52:48

    at Array.map (<anonymous>)

    at getCommands (file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:52:33)

    at Object.parseDictionary (file:///app/plugins/fprime-dictionary-parser/fprime-parser.js:7:29)

    at file:///app/build/app.js:129:89`

System Info

Macbook Pro

Severity

Minor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions