Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001833Dwarf FortressDwarf Mode -- Jobs, Haulingpublic2010-05-11 03:412013-10-02 17:07
0001833: Urist McHauler cancels store item in bin: Job item misplaced
repeatedly my dwarfes try to store items in the bins in the furniture stockpile, failing, and spamming the "Urist McHauler cancels store item in bin: Job item misplaced" message.

I've also found out the reason for this bug:
- The dwarves move to a stockpile where binable goods are being stored.
- Take the goods and walk to the furniture stockpile.
- Try to store the items in a bin.
- Notice they cannot store non furniture items on the furniture stockpile.
- take the items back to the stockpile from where they took them from.
- take the bin and move it to the new stockpile
- and finally store the items in the bin.
produce many bins and watch the dwarfes trying to store items in then even if the bins are on the wrong stockpile.
hauling, spam
has duplicate 0002140resolved Footkerchief Items are hauled to bins before the bins are installed into the correct stockpile. 
has duplicate 0003389resolved Footkerchief Food barrels in furniture stockpile 
related to 0001779new  Haulers can disrupt building of pumps by hauling tasked items to stockpiles 
Issue History
2010-05-11 03:41gruftschreckNew Issue
2010-05-11 11:07FootkerchiefNote Added: 0006551
2010-05-11 11:25gruftschreckNote Added: 0006554
2010-06-13 17:12jfsNote Added: 0008350
2010-06-13 17:13jfsTag Attached: hauling
2010-06-13 17:13jfsTag Attached: spam
2010-06-13 17:16jfsNote Edited: 0008350bug_revision_view_page.php?bugnote_id=0008350#r3177
2010-06-13 18:15FootkerchiefRelationship addedparent of 0002140
2010-06-27 20:02oliverNote Added: 0009189
2010-06-28 00:26oliverIssue Monitored: oliver
2010-06-28 01:17oliverNote Added: 0009205
2012-02-16 00:34etherflanTag Attached: 0.34.01
2012-02-16 12:56etherflanNote Added: 0019838
2012-02-16 12:57etherflanNote Edited: 0019838bug_revision_view_page.php?bugnote_id=0019838#r7423
2012-03-04 00:12etherflanTag Detached: 0.34.01
2013-10-02 17:07smjjamesNote Added: 0024153
2014-01-26 09:03FootkerchiefRelationship replacedhas duplicate 0002140
2014-01-26 09:03FootkerchiefIssue Monitored: Khym Chanur
2014-01-26 09:03FootkerchiefIssue Monitored: kwieland
2014-01-26 09:03FootkerchiefRelationship addedhas duplicate 0003389
2014-01-26 09:03FootkerchiefIssue Monitored: lopen139
2014-01-26 09:03FootkerchiefRelationship deletedhas duplicate 0003389
2014-01-26 09:04FootkerchiefRelationship addedhas duplicate 0003389
2014-01-26 09:04FootkerchiefRelationship addedrelated to 0001779

2010-05-11 11:07   
Do you have a save demonstrating this problem? If so, it might be helpful to upload it to http://dffd.wimbli.com/ [^]
2010-05-11 11:25   
if I get the message mass spammed again I'll upload the save.
2010-06-13 17:12   
(edited on: 2010-06-13 17:16)
This is probably a variation of 0002140.

I most often experience it after a trading session:
1. Move bins with items for trade to depot
2. Trade, selling the items in the bins, but keeping the bins for your own use
3. While/after the now empty bins are hauled back, the spam often occurs

Edit: The main annoyance I see from this is the message spam, though the dwarves doing unneeded work is also annoying. I'd be happy if just the severity level of the "job item misplaced" job cancellation was lowered, so the default "announce some job cancellations" setting doesn't cause it to display.

2010-06-27 20:02   
Here's a mini reproduction save: https://s3test.randomly.org/df/1833/region2-bin-cancel-spam.zip [^]

In this save there are two stockpiles, a furniture stockpile with bins and a goods stockpile with mugs. One mug is unforbidden, and the goods stockpile is set to allow exactly one bin.

A bin (in the furniture stockpile) has been assigned to the goods stockpile. One dwarf is about to pick up that bin to move it to the goods stockpile. A second dwarf is halfway through carrying a mug to the same bin. You should get a job cancellation about a second after unpausing.
2010-06-28 01:17   
There's an annoying side-effect to this, too: if your source of bins (e.g. your carpenters workshop) is far away from a stockpile that has loose items and needs a new bin, then when the a new bin is made, a lot of redundant hauling happens: items get hauled all the way from the stockpile to the bin in the carpenters workshop, then the bin eventually gets hauled all the way back and any in-progress hauling jobs get aborted.

If bins only became potential subjects of "store item in bin" jobs when they were actually located in the stockpile they were assigned to, I think that'd solve the bulk of the problems, including that side-effect. There are a few edge cases I can think of when existing stockpiles get reshaped, but I guess that's uncommon.
2012-02-16 12:56   
(edited on: 2012-02-16 12:57)
I experience the same problem in 0.34.01 with greater frequency.

2013-10-02 17:07   
It's pretty easy to trigger this while deconstructing scaffolding made of up/down stairs since the blocks will fall.