Skip to content

Various script load failures after upgrade to 0.8.1, works fine in 0.7.0 #35

Description

@mihawk90

As mentioned on Discord, but reporting it properly here so it doesn't get lost.

After upgrading from 0.7.0 to 0.8.1 (I skipped 0.8.0 because they were within a few hours), I'm getting several load failures:

03:31:02: Multiple scripts in the Automation autoload directory failed to load.
Please review the errors, fix them and use the Rescan Autoload Dir button in Automation Manager to load the scripts again.
03:31:01: Failed to load Automation script '/home/tarulia/.aegisub/automation/autoload/aka.Sandbox.lua':
Error initialising Lua script "aka.Sandbox.lua":

    File "/home/tarulia/.aegisub/automation/autoload/aka.Sandbox.lua", line 40
<main>
    File "<C function>", line -1
?
module 'l0.DependencyControl' not found:
	no field package.preload['l0.DependencyControl']
	no file './l0/DependencyControl.so'
	no file '/usr/local/lib/lua/5.1/l0/DependencyControl.so'
	no file '/usr/lib64/lua/5.1/l0/DependencyControl.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './l0.so'
	no file '/usr/local/lib/lua/5.1/l0.so'
	no file '/usr/lib64/lua/5.1/l0.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
03:31:02: Failed to load Automation script '/home/tarulia/.aegisub/automation/autoload/arch.PerspectiveMotion.moon':
Error initialising Lua script "arch.PerspectiveMotion.moon":

    File "/home/tarulia/.aegisub/automation/autoload/arch.PerspectiveMotion.moon", line 7
<main>
    File "<C function>", line -1
?
module 'l0.DependencyControl' not found:
	no field package.preload['l0.DependencyControl']
	no file './l0/DependencyControl.so'
	no file '/usr/local/lib/lua/5.1/l0/DependencyControl.so'
	no file '/usr/lib64/lua/5.1/l0/DependencyControl.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './l0.so'
	no file '/usr/local/lib/lua/5.1/l0.so'
	no file '/usr/lib64/lua/5.1/l0.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
03:31:02: Failed to load Automation script '/home/tarulia/.aegisub/automation/autoload/arch.GitSigns.moon':
Error initialising Lua script "arch.GitSigns.moon":

    File "/home/tarulia/Development/aegisub/arch1t3cht-Aegisub-Scripts/macros/arch.GitSigns.moon", line 29
<main>
    File "<C function>", line -1
?
    File "/home/tarulia/.aegisub/automation/include/l0/Functional.moon", line 1
<main>
    File "<C function>", line -1
?
module 'l0.DependencyControl' not found:
	no field package.preload['l0.DependencyControl']
	no file './l0/DependencyControl.so'
	no file '/usr/local/lib/lua/5.1/l0/DependencyControl.so'
	no file '/usr/lib64/lua/5.1/l0/DependencyControl.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './l0.so'
	no file '/usr/local/lib/lua/5.1/l0.so'
	no file '/usr/lib64/lua/5.1/l0.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
03:31:02: Failed to load Automation script '/home/tarulia/.aegisub/automation/autoload/ILL.Shapery.moon':
Error initialising Lua script "ILL.Shapery.moon":

    File "/home/tarulia/.aegisub/automation/autoload/ILL.Shapery.moon", line 31
<main>
    File "<C function>", line -1
?
    File "/home/tarulia/.aegisub/automation/include/ILL/ILL.moon", line 26
<main>
    File "<C function>", line -1
?
    File "/home/tarulia/.aegisub/automation/include/ILL/ILL/Aegi.moon", line 2
<main>
    File "<C function>", line -1
?
    File "/home/tarulia/.aegisub/automation/include/ILL/ILL/Config.moon", line 3
<main>
    File "<C function>", line -1
?
module 'json' not found:
	no field package.preload['json']
	no file './json.so'
	no file '/usr/local/lib/lua/5.1/json.so'
	no file '/usr/lib64/lua/5.1/json.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'

When I downgrade back to 0.7.0, it works fine again.

I suppose there is a chance it's an issue with my DepCtrl package, but I'm copying the release-archive as is to its destination, so it should be fine:
https://github.com/mihawk90/aegisub-plugins.spec/blob/9520bf047ba829ba7d8e15dcf09eac23cfda42e1/aegisub-plugin-dependency-control/aegisub-plugin-dependency-control.spec#L56-L58

I can test 0.8.0 as well if you'd want me to, but AFAIK the hotfix was only feed related?

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