# Weave won't convert a tex to pdf, because it says the directory is not empty

**URL:** https://discourse.julialang.org/t/weave-wont-convert-a-tex-to-pdf-because-it-says-the-directory-is-not-empty/48670
**Category:** General Usage
**Created:** [October 20, 2020, 4:21am UTC](https://discourse.julialang.org/t/weave-wont-convert-a-tex-to-pdf-because-it-says-the-directory-is-not-empty/48670 "2020-10-20T04:21:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)
#### Post date: [October 20, 2020, 4:21am UTC](https://discourse.julialang.org/t/weave-wont-convert-a-tex-to-pdf-because-it-says-the-directory-is-not-empty/48670/1 "2020-10-20T04:21:14Z")

</div>

I’m getting an error that the directory is not empty. How do I fix this?  
@pdeffebach, you’re the weave guy, how do I resolve this?

---

<div class="post-metadata">

### Author: ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)
#### Post date: [October 20, 2020, 4:56am UTC](https://discourse.julialang.org/t/weave-wont-convert-a-tex-to-pdf-because-it-says-the-directory-is-not-empty/48670/2 "2020-10-20T04:56:50Z")

</div>

Please kindly read this: [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757) and adjust your question accordingly

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [October 20, 2020, 12:56pm UTC](https://discourse.julialang.org/t/weave-wont-convert-a-tex-to-pdf-because-it-says-the-directory-is-not-empty/48670/3 "2020-10-20T12:56:18Z")

</div>

@brett_knoss every time you ask a question, people request the full error message and a minimum working example. Please get in the habit of doing this! It’s really hard to help without more information.

My guess is that you should delete the folder that is auto-generated by `weave` before running it again.
