Skip to content

loading feed crashes with fileBaseUrl in macros/modules section #19

@garret1317

Description

@garret1317

"Rolling" Variables: These variables can be defined at any depth in the JSON tree and are continuously expanded using the variables available. You can reference a rolling variable in itself, which will substitute the template for the contents the variable had at the parent-level.

Right now there's only one such variable: fileBaseUrl, which you can use to construct the URL to a file using the template variables available.

I have a fileBaseUrl in the macros section (and will put one in the modules section once I've got one), so I can store macros and modules differently
When DepCtrl tries to read my feed it throws the following error:

Lua reported a runtime error:
    File "/home/g/.aegisub/automation/autoload/l0.DependencyControl.Toolbox.moon", line 123
<anonymous function at lines 89-136>
    File "/home/g/.aegisub/automation/autoload/l0.DependencyControl.Toolbox.moon", line 94
addAvailableToInstall
    File "/home/g/.aegisub/automation/include/l0/DependencyControl/UpdateFeed.moon", line 143
getScript
    File "/home/g/.aegisub/automation/include/l0/DependencyControl/UpdateFeed.moon", line 22
__init
    File "<C function>", line -1
?
bad argument #1 to 'pairs' (table expected, got string)

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