# How to debug "tried to put an item (mre\_bag) count (1) in a container"

**URL:** <https://discourse.cataclysmdda.org/t/how-to-debug-tried-to-put-an-item-mre-bag-count-1-in-a-container/27583>\
**Category:** The Garage\
**Tags:** mod\
**Created:** [February 7, 2022, 5:03pm UTC](https://discourse.cataclysmdda.org/t/how-to-debug-tried-to-put-an-item-mre-bag-count-1-in-a-container/27583 "2022-02-07T17:03:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![linonetwo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/linonetwo/32/10528_2.png) [@linonetwo](https://discourse.cataclysmdda.org/u/linonetwo)\
**Post date:** [February 7, 2022, 5:03pm UTC](https://discourse.cataclysmdda.org/t/how-to-debug-tried-to-put-an-item-mre-bag-count-1-in-a-container/27583/1 "2022-02-07T17:03:46Z")

</div>

DEBUG : tried to put an item (mre\_bag) count (1) in a container (mre\_package) that cannot contain it: 口袋不可用因为 可用容量不足

FUNCTION : ret\_val item::put\_in(const item &, item\_pocket::pocket\_type, const bool)  
FILE : src/item.cpp  
LINE : 1406  
VERSION : f7c3192

I found no mre\_bag and mre\_package in the mod pack. And removing PKS mod solves this error. How to debug for the real cause of it? Can game provide more info on this error?

---

<div class="post-metadata">

**Author:** ![linonetwo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/linonetwo/32/10528_2.png) [@linonetwo](https://discourse.cataclysmdda.org/u/linonetwo)\
**Post date:** [February 9, 2022, 8:38am UTC](https://discourse.cataclysmdda.org/t/how-to-debug-tried-to-put-an-item-mre-bag-count-1-in-a-container/27583/2 "2022-02-09T08:38:50Z")

</div>

This is caused by additional bottom around gummy vitamins added by pks mod.

 ![FD2F5FB8F890DA6BE9A4AC34556D51C4](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/1/1608a2ff8b529626164d94484237f9926d26df5e.jpeg)

Remove that modification of gummy vitamins solves it.

And another similar thing is [https://github.com/CleverRaven/Cataclysm-DDA/pull/55236/files](https://github.com/CleverRaven/Cataclysm-DDA/pull/55236/files)
