Dana: crafting tree/graph explorer

by Credne

Dana provides ways to explore and display the recipe graph of Factorio (vanilla or modded). This mod is still in alpha stages: it is recommended to use it on a dedicated (sandbox) save, or at minimum to backup your save. While the mod should work in multiplayer, be careful about griefing (rendering huge graphs can freeze the game for several minutes).

Utilities
1 year, 8 months ago
0.18 - 1.1
3.34K

b Crash at the start of the game

1 year, 8 months ago

Hey, what's up? I started my first modded freeplay today and included Dana for good measure (yes, I saw your Alt-F4 spotlight :), but when I tried to open the full crafting graph at the start of the game, this happened:

The mod Dana: crafting tree/graph explorer (0.3.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event dana::on_gui_click (ID 1)
dana/lua/logger/Logger.lua:62: [dana][Error] PrepGraph: Duplicate link index.
stack traceback:
[C]: in function 'error'
dana/lua/logger/Logger.lua:62: in function 'error'
dana/lua/logger/ClassLogger.lua:53: in function 'assert'
dana/lua/layouts/preprocess/PrepGraph.lua:63: in function 'addLink'
dana/lua/layouts/layer/LayerLayout.lua:248: in function 'makeSubgraphWithDists'
dana/lua/layouts/layer/LayerLayout.lua:120: in function 'assignToLayers'
dana/lua/layouts/layer/LayerLayout.lua:68: in function 'new'
dana/lua/apps/graph/GraphApp.lua:66: in function 'new'
dana/lua/class/AbstractFactory.lua:79: in function <dana/lua/class/AbstractFactory.lua:71>
(...tail calls...)
dana/lua/controller/PlayerController.lua:108: in function 'makeAndSwitchApp'
dana/lua/apps/AppResources.lua:67: in function 'makeAndSwitchApp'
dana/lua/apps/query/QueryApp.lua:118: in function 'runQueryAndDraw'
dana/lua/apps/query/step/TemplateSelectWindow.lua:77: in function 'selectFullGraph'
dana/lua/apps/query/step/GuiTemplateSelectWindow.lua:136: in function 'onClick'
dana/lua/gui/GuiElement.lua:147: in function <dana/lua/gui/GuiElement.lua:142>

Trying to view the graph of a specific item causes a similar error (presumably a subset of this one, but I can create a separate thread for that if you'd like).

Mods:

Alien Biomes
Automatic Coupling System
Black Rubber Belts
Dana
Dirt Path
Even Distribution
Factorio Standard Library
Fluid Wagon Color Mask
Industrial Revolution 2
Larger Lamps
Picker Atheneum
Picker Belt Tools
Picker Dollies
Picker Extended
Pushbutton
Queue to Front
Redo (Alpha)
Soundpack: Alerts and Sirens Updated
Train Trails
UI Hotkeys
Vibrant Trains

This is the first time I'm using any of these mods so there's a good chance one of them is at fault for being outdated or something.

I can disable Dana and add it to my savegame later, right? Actually, I don't need to disable it, since I don't have to use it. I assume any updates from you will be applied to my savegame if the mod is enabled already.

Have a great month!

1 year, 8 months ago

Thanks for the report.
It should be fixed in v0.3.1.

1 year, 8 months ago

Thanks!

New response