I have tried this mod with all categories present in the base game and in Space Age. Trying to log a virtual signal causes this crash:
Error while running event timeseries_fixfor110::on_gui_opened (ID 100)
Unknown sprite "virtual/signal-0"
stack traceback:
[C]: in function 'add'
timeseries_fixfor110/control.lua:235: in function 'render_interval'
timeseries_fixfor110/control.lua:651: in function <timeseries_fixfor110/control.lua:570>
I have a fix for it though. I hope you'll publish it soon as a mod that I am currently working on will very likely need your mod as a dependency. If you won't publish it yourself - I'll publish a temporary fix myself and will be happy to remove (deprecate) my fix as soon as you update your mod. Many thanks for your work!
Here is the complete fix (could have been a one-liner, but it doesn't look overly great as a single line):
diff --git a/control.lua b/control.lua
index 694a642..f20708b 100644
--- a/control.lua
+++ b/control.lua
@@ -230,7 +230,9 @@ local function render_interval (interval, force_render)
format_number_suffix (signal_min), format_number_suffix (signal_max),
format_number_suffix (summary.min), format_number_suffix (summary.max))
- table.add ({ type = "sprite", name = "sprite" .. i, sprite = signal_name, tooltip = tooltip })
+ local sprite_name = signal_name
+ sprite_name = sprite_name:gsub("virtual/", "virtual-signal/")
+ table.add ({ type = "sprite", name = "sprite" .. i, sprite = sprite_name, tooltip = tooltip })
local bar = table.add ({ type = "progressbar", name = "bar" .. i, value = ratio, tooltip = tooltip })
bar.style.color = signal_colors[signal_name]
bar.style.natural_width = 150