# Capture template is in use

**URL:** <https://org-roam.discourse.group/t/capture-template-is-in-use/2427>\
**Category:** Troubleshooting\
**Created:** [February 3, 2022, 12:31pm UTC](https://org-roam.discourse.group/t/capture-template-is-in-use/2427 "2022-02-03T12:31:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbd](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@tbd](https://org-roam.discourse.group/u/tbd)\
**Post date:** [February 3, 2022, 12:31pm UTC](https://org-roam.discourse.group/t/capture-template-is-in-use/2427/1 "2022-02-03T12:31:32Z")

</div>

I am having a bit of strange issue that started recently. My org capture template is not working. Each time i tried to capture, I get

```auto
 Capture template ‘m’: Buffer name ‘CAPTURE-20220203060641-testnze.org’ is in use

```

and here is the capture template

```auto
          ("m" "default" plain "%?"
               :target (file+head "others/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
                :unnarrowed t)

```

I turned debug mode on and below is the error message.

 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/d/d0160e3e4d8dea13a6624c727f6e00af33867ac0.png)

The only thing i can think off that may have caused this maybe I installed org-journal but even after uninstalling it, it still produced the same error message.

---

<div class="post-metadata">

**Author:** ![rchtnheu](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/rchtnheu/32/1388_2.png) [@rchtnheu](https://org-roam.discourse.group/u/rchtnheu)\
**Post date:** [November 22, 2023, 9:37am UTC](https://org-roam.discourse.group/t/capture-template-is-in-use/2427/2 "2023-11-22T09:37:53Z")

</div>

I just bisected my init.el with bug-hunter, and it was due to mini-modeline. I’ll check more details later, but commenting that out works.  
If you don’t have mini-modeline, you could also try bug-hunter: [GitHub - Malabarba/elisp-bug-hunter: Hunt down errors in elisp files.](https://github.com/Malabarba/elisp-bug-hunter)
