# Cannot run Shed

**URL:** <https://discourse.stonehearth.net/t/cannot-run-shed/35589>\
**Category:** Support\
**Created:** [May 26, 2018, 3:41pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589 "2018-05-26T15:41:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amnaa](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/amnaa/32/60874_2.png) [@Amnaa](https://discourse.stonehearth.net/u/Amnaa)\
**Post date:** [May 26, 2018, 3:41pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/1 "2018-05-26T15:41:36Z")

</div>

I don’t know if this is worth reporting, but since 24.10.1 and now 24.10.2, Stonehearth Editor won’t load. The process appears, but remains stuck with nothing on the desktop. I learned to use it just yesterday 😛

---

<div class="post-metadata">

**Author:** ![BrunoSupremo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/brunosupremo/32/54819_2.png) [@BrunoSupremo](https://discourse.stonehearth.net/u/BrunoSupremo)\
**Post date:** [May 26, 2018, 3:58pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/2 "2018-05-26T15:58:15Z")

</div>

Worked fine for me, although it took a long time to load.  
Do you have too many mods? Are they in smod or folders? Bugged mods?

---

<div class="post-metadata">

**Author:** ![Amnaa](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/amnaa/32/60874_2.png) [@Amnaa](https://discourse.stonehearth.net/u/Amnaa)\
**Post date:** [May 26, 2018, 3:59pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/3 "2018-05-26T15:59:49Z")

</div>

Nope, I’m using it only to read inside of Stonehearth itself and I have that stored in a separate folder. Worked fine before the update.

Gets stuck at around 280 000 kB in processes with no CPU working on it and this is all I get  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/2/e/2ef84922adde56031cff59650f2f2c0a2bec8e9d.jpg)

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 3:38pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/4 "2018-12-04T15:38:35Z")

</div>

I am getting the same type of error starting yesterday. I can hover over the SHED icon in the taskbar and see the same preview as the picture in the previous response (Amnaa may 26). If you hover it will show a preview window but when you click on it, it doesn’t open and the interior of the preview window goes black (but still has the window frame). I have tried the release that is packed in the most recent SH and I also downloaded a (maybe) more recent version and built it with visual studio and both do the same thing.  
Please help?

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [December 4, 2018, 3:44pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/5 "2018-12-04T15:44:15Z")

</div>

If you run it in visual studio in debug mode, does it hit any exception?  
On first time run it should ask once for the mods folder 🤔

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 3:57pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/6 "2018-12-04T15:57:26Z")

</div>

I get this error:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/6/8/68f98cc66714350c2f1c88f6769806bc788217ce.png)  
It asked me once where to load the mod files and it worked. I then moved all my mods to a different folder so I could work between them and move them one at a time into the game folder after the work. Then I did “change mod directory”(?) and reloaded the mods. All that worked fine until I closed the program and tried to reopen it.

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 3:58pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/7 "2018-12-04T15:58:43Z")

</div>

Is there a way to try manually telling SHED what the correct file path is (in a config file or something?)

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [December 4, 2018, 4:00pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/8 "2018-12-04T16:00:50Z")

</div>

There’s a config file somewhere in the folder, but I don’t know if it ever worked.

If you copy the mods back where they were, does it load? Perhaps it hasn’t saved the new path correctly 🤔

Certainly moving/deleting stuff while SHED is open and has it loaded is a bad idea.

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 4:10pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/9 "2018-12-04T16:10:08Z")

</div>

It does not change anything. Here is the log file also:

[1204/110816:ERROR:tcp\_socket\_win.cc(341)] bind() returned an error: Only one usage of each socket address (protocol/network address/port) is normally permitted. (0x2740)  
[1204/110816:ERROR:devtools\_http\_handler.cc(220)] Cannot start http server for devtools. Stop devtools.  
I am going to remove that install and try rebuilding it with VS

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [December 4, 2018, 4:12pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/10 "2018-12-04T16:12:00Z")

</div>

That’s very interesting. Thanks!

It feels like when Stonehearth doesn’t open because the port is already in use.

Make sure you don’t have any SHED-related process running in the background. Perhaps restarting your computer would help, but sounds a bit drastic.

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 4:17pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/11 "2018-12-04T16:17:33Z")

</div>

I have restarted like 3 times this morning. I’ll see if maybe I goofed something and it is “starting” when windows starts or something silly.

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [December 4, 2018, 4:20pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/12 "2018-12-04T16:20:40Z")

</div>

You might want to try resetting the ports:

```auto
netsh advfirewall reset

netsh int ip reset c:\resetlog.txt

netsh winsock reset

```

It’s the workaround we use for stonehearth when it complains about them.

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 6:54pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/13 "2018-12-04T18:54:20Z")

</div>

Sorry, had to go work for a couple of hours. I’m still getting the same errors after doing that. I haven’t re-downloaded and built again in VS… off to do that now!

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 4, 2018, 8:52pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/14 "2018-12-04T20:52:19Z")

</div>

Still the same errors and invisible SHED  
😫

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 5, 2018, 9:20pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/15 "2018-12-05T21:20:44Z")

</div>

So after fighting with DOS about who is the administrator of my computer I rebuilt SHED in VS. (release x64). If i run it as administrator from the folder it works. Once. Then back to the invisible SHED. So i built it in debug. It worked. Once. Erase all traces and repeat. Its better than nothing though! SHED is so useful for the dreaded .en file!

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [December 5, 2018, 9:24pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/16 "2018-12-05T21:24:39Z")

</div>

If you build it in debug and run it with debugging from visual studio, does it hit any exception when it goes invisible? Or it’s just the error you mentioned above?

---

<div class="post-metadata">

**Author:** ![tacocat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/tacocat/32/64697_2.png) [@tacocat](https://discourse.stonehearth.net/u/tacocat)\
**Post date:** [December 5, 2018, 10:12pm UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/17 "2018-12-05T22:12:25Z")

</div>

I don’t think I have tried that combo yet. Every other way leads to the VS error, or the .log error, depending on where I try to start it from. I’ll try and let you know. ( I have it running so I don’t want to close it!!!)

---

<div class="post-metadata">

**Author:** ![Wouter\_Sikkema](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/wouter_sikkema/32/61482_2.png) [@Wouter\_Sikkema](https://discourse.stonehearth.net/u/Wouter_Sikkema)\
**Post date:** [December 6, 2018, 7:37am UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/18 "2018-12-06T07:37:30Z")

</div>

stupid question maybe, but are you just running the SHED from inside the stonehearth folder? (worked fine for me yesterday…but i intentionally dont point it at the mods folder. but at the steam uploads folder)

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [December 6, 2018, 9:31am UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/19 "2018-12-06T09:31:13Z")

</div>

> [@Wouter\_Sikkema](#):
>
> but i intentionally dont point it at the mods folder. but at the steam uploads folder

You should be able to do both now.

---

<div class="post-metadata">

**Author:** ![Wouter\_Sikkema](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/wouter_sikkema/32/61482_2.png) [@Wouter\_Sikkema](https://discourse.stonehearth.net/u/Wouter_Sikkema)\
**Post date:** [December 6, 2018, 9:42am UTC](https://discourse.stonehearth.net/t/cannot-run-shed/35589/20 "2018-12-06T09:42:17Z")

</div>

Indeed! But the non mods folder is more practical because then it doesn’t have to load all of base stonehearth :’)

[Next page](https://discourse.stonehearth.net/t/cannot-run-shed/35589.md?page=2)
