[Harkonnen] [0.15.18] Construction job assigned, never completed

This subforum contains all the issues which we already resolved.
B4SK3
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Mon Dec 05, 2016 7:31 pm
Contact:

[Harkonnen] [0.15.18] Construction job assigned, never completed

Post by B4SK3 »

To be honest, I 90% think that this is a base issue, not a bug. But I've tried everything I can to prove it's my base goofing up rather than the bot logic and I can't find it. I have to conclude there is something weird going on.

In the screenshot, there is a blue requester chest that I built with a blueprint. At the time of the save file and screenshot, I've been waiting for about 5 minutes for this delivery. You'll notice that this is the only construction job going on. I have plenty of requester chests in supply and if I build another one right next to it (shift click or with blueprint), it will get delivered within 30 seconds. I've fast forwarded the game and let it run for over an hour without any further user input and the box still doesn't get built. The construction robot is clearly assigned but never completes. I've tried using command zoom out to 0.1 to use mouse over to locate the robot but I cannot find it on screen.

As I'm typing this I can think of one possible reason. Could this happen if I blueprinted this using the map view while being at the outpost with my personal roboport on? If so that robot may be trying to fly all that way but realistically should be killed by the biters at some point before getting to base. Also, I'd definitely consider that a bug. While you review this I'll test if this could be that behaviour.
Attachments
15rAIL_bug_construction_robot_copper_requester_chest.zip
(10.93 MiB) Downloaded 171 times
lazy_robot.jpg
lazy_robot.jpg (1001.24 KiB) Viewed 7805 times
Shokubai
Filter Inserter
Filter Inserter
Posts: 470
Joined: Mon May 02, 2016 3:17 pm
Contact:

Re: [0.15.18] Construction job assigned, never completed

Post by Shokubai »

You seem to be missing 61 items for construction. Perhaps Requester Chest is one of those items?
Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [0.15.18] Construction job assigned, never completed

Post by Harkonnen »

But when you blueprinted it - stationary roboport was already there, right?
EDIT: there is something very weird about your save, definitely thanks for it :) Looks like when you blueprint more chests - one will always stay ghost.
3.png
3.png (29.2 KiB) Viewed 7793 times
B4SK3
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Mon Dec 05, 2016 7:31 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by B4SK3 »

Correct, this area has had roboport coverage since the beginning of robots. As to your edit: it seems to be only on requester chests though. Everything else gets built normally.
EDIT: looks like I'm on a roll.. This is the third accepted bug in this save :D
Last edited by B4SK3 on Tue Jun 06, 2017 4:07 pm, edited 1 time in total.
Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Harkonnen »

One of these slackers is assigned for the job
4.png
4.png (1.03 MiB) Viewed 7785 times
EDIT: state is wait-for-charge :/
B4SK3
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Mon Dec 05, 2016 7:31 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by B4SK3 »

Interesting that you found him. I may have overlooked it when I was trying to find the assigned robot by hovering.
Side note: I continued playing on this save as I built this one missing chest myself. The situation has normalized and I can now build all requester chests. So the bug has disappeared and is only present in that specific save file. (I confirmed by building 9 like you did and they showed up with no construction robots active anymore afterwards)
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by steinio »

B4SK3 wrote:Interesting that you found him. I may have overlooked it when I was trying to find the assigned robot by hovering.
Side note: I continued playing on this save as I built this one missing chest myself. The situation has normalized and I can now build all requester chests. So the bug has disappeared and is only present in that specific save file. (I confirmed by building 9 like you did and they showed up with no construction robots active anymore afterwards)
Hi,

do you use smarter bot recharge?
I had this problem too, made a bug report but got no answer and deleted it.

Problem is, it must be reproducable so i'm out.

Greetings, steinio.
Image

Transport Belt Repair Man

View unread Posts
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Optera »

I don't think it's a mod issue.
I'm not using any mods changing bot behaviour and had this effect back in 0.15.16 when building my new power plant. Some lazy bots refused to ever place some poles and pipes.
To fix it I used the deconstructor and placed the whole blueprint again.
Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Harkonnen »

I found that bot because I can run Factorio in debugger with watches, wasn't that hard :) But it was an interesting detective. The problem is that one of optimizations led to recharge-queue no longer operating as FIFO, so when you have a lot of bots frequently requesting to recharge at some roboport, the beginning of that queue never gets a chance (so it's not behaving as a queue actually). Fix is on the way.
B4SK3
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Mon Dec 05, 2016 7:31 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by B4SK3 »

Yay, glad to hear that! Happy I decided to post this after all.
Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Harkonnen »

B4SK3
Fixed. Your requester chest will be delivered in 0.15.22 :)
B4SK3
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Mon Dec 05, 2016 7:31 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by B4SK3 »

Awesome, I look forward to it! :)
Bobanaut
Burner Inserter
Burner Inserter
Posts: 13
Joined: Wed May 17, 2017 11:13 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Bobanaut »

glad to see that my -not a bug- is finally considered a bug... and fixed

viewtopic.php?f=23&t=49215
B4SK3
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Mon Dec 05, 2016 7:31 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by B4SK3 »

Don't feel disheartened. I've had a couple be deemed not a bug too before being addressed. In fact, I'm only batting about 50% in bug to not-a-bug in my reports. :)
I'm impressed that you figured out the cause of the bug. Charging never occurred to me as a cause before filing.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Rseding91 »

Bobanaut wrote:glad to see that my -not a bug- is finally considered a bug... and fixed

viewtopic.php?f=23&t=49215
It's still not considered a bug. A bug is some piece of code we wrote that isn't operating how we programmed it to. In this case it operated exactly as we programmed it to and then it was decided later to change how it operates.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Optera »

Rseding91 wrote:
Bobanaut wrote:glad to see that my -not a bug- is finally considered a bug... and fixed

viewtopic.php?f=23&t=49215
It's still not considered a bug. A bug is some piece of code we wrote that isn't operating how we programmed it to. In this case it operated exactly as we programmed it to and then it was decided later to change how it operates.
That definition is flawed.
If for some reason you happen to create an infinite loop or buffer overflow the program still is acting exactly like you programmed, yet it defiantly is a bug.
A bug is when expected results differs from actual results. This means results expected by the customer mind you.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Rseding91 »

Optera wrote:
Rseding91 wrote:
Bobanaut wrote:glad to see that my -not a bug- is finally considered a bug... and fixed

viewtopic.php?f=23&t=49215
It's still not considered a bug. A bug is some piece of code we wrote that isn't operating how we programmed it to. In this case it operated exactly as we programmed it to and then it was decided later to change how it operates.
That definition is flawed.
If for some reason you happen to create an infinite loop or buffer overflow the program still is acting exactly like you programmed, yet it defiantly is a bug.
A bug is when expected results differs from actual results. This means results expected by the customer mind you.
You miss-read what I said: we don't program an infinite loop on purpose, we don't program buffer overflows on purpose. Those would be mistakes the programmer made and would be the definition of bugs.
If you want to get ahold of me I'm almost always on Discord.
Baughn
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed Jan 20, 2016 4:44 pm
Contact:

Re: [Harkonnen] [0.15.18] Construction job assigned, never completed

Post by Baughn »

And you didn't program eternal charging on purpose.

Don't be silly; this was a bug, by all accepted definitions of the term except entomological. "Working as designed", perhaps, but still a bug.
Post Reply

Return to “Resolved Problems and Bugs”