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

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

Open
garret1317 opened this issue Nov 26, 2022 · 0 comments
Open

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

garret1317 opened this issue Nov 26, 2022 · 0 comments

Comments

@garret1317
Copy link

"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)
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

No branches or pull requests

1 participant