-
Notifications
You must be signed in to change notification settings - Fork 22
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
Script Locking up with doing more than one surface #116
Comments
Hmm strange. Have you looked at the factorio log(s)? Are you positive that the surface name is correct (including capitalisation?) |
Logs not showing much, just normal stuff, but it's all from when I ran the game last - not showing anything when running this script. Names are proper, reran and ensured capitalization matches. Just for kicks ran it with the wrong capitalization, and the mod errored out, saying that surface didn't exist. Attached is the full verbose when ran with all surfaces proper, was too long for a post. |
can you attach your savefile & mod folder & mention which factorio version you're on? I'll see if I can find the time to try and reproduce it. |
1.1.80-0 build 60618 win64 Mods: https://mega.nz/file/UVURzZ6S#EkikZAQ8YakPnGlRywz-PeG7ulq46KVGVGusviowYME |
Tried doing a fresh multi-surface save, locks up at the same place. I feel like it's trying to do something, I can hear my PC fans ramp up every few minutes when I just leave it be. Left it for almost an hour and no change, still stuck at the Processing stream-test/127/Nauvis Orbit/day (2 of 2). Related to this - trying to do surfaces seems to have bricked any future snapshots as well for the save above. It's failing to find a "crop.txt" because... well it was never created for that snapshot. Any suggestions on how to remove that "hour 87" snapshot so it builds off the last non-bricked snapshot?
|
Just testing a few more things - First test: I didn't specify any surfaces, based on the documentation was expecting it to do Nauvis Orbit since I was on that surface when I saved, but it just did nauvis. Second Test: Used |
I was able to get it working a bit. I tried doing the surfaces one at a time to a new output folder, and that worked. python auto.py gd1 STREAM --surface=nauvis --no-tags --verbose I can't do new surfaces to my existing timeline though. Get some variation of this:
When I check that folder I see a .jpg file there but not a .png. |
I've built a work around. Wrote a script to recursively check for .jpgs in "*\script-output\FactorioMaps\STREAM\images" while excluding any folders named "nauvis" (since this jpg/png issue only appears to be affecting factorissimo) jpgtopng.py
Not sure if it'll help you diagnose the underlying issue, but this is my current workflow.
After each auto.py it'll still throw errors about not finding the proper .png files, however as long as I run that conversion script when I do the next auto.py the index.html gets built properly. I'm not seeing any issues with the maps itself either, no improper chunks or images. |
Hey, I've been looking at this. Been trying to recreate your minimal example. Can you walk me trough your mod selection a little bit?
How do you go about doing this? I created a new savefile with your mods, but I initially only the default nauvis surface seems to exist. |
I might have worded that badly. If I recall correctly (it's been a bit), it was the same "worlds" just a new save file, that way the script didn't need to do anything with snapshots or history. |
Yeah thats what I was trying to do as well to set up a minimal example, since the savefile you provided is not exactly small :P However when I created a new world with your mods, only one surface existed and I'm unfamiliar with the mods you used |
Script runs flawlessly when it's just Nauvis, but adding any more surfaces is when it freezes.
python auto.py --no-tags --surface=nauvis --surface="Nauvis Orbit"
checking for updates
No save name passed. Using most recent save: STREAM
factorio path: C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\factorio.exe
output folder: script-output\FactorioMaps\STREAM
Enabling FactorioMaps mod
cleaning up
Building autorun.lua
Building config.ini
starting factorio
using steam launch hack
Processing STREAM/87/nauvis/day (1 of 4)
Surface capture STREAM/87/nauvis/day
crop 100.0% [=========================================================================================================]
ref 100.0% [=========================================================================================================]
generating thumbnail
zoom 100.0% [=========================================================================================================]
Processing STREAM/87/Nauvis Orbit/day (2 of 4)
Won't move past that. Let me know any other information you may need. Thank you.
The text was updated successfully, but these errors were encountered: