[0.15.5] create_directories(p): invalid argument

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

[0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 1:58 pm

When I try to load my save that I was playing yesterday, I get this error in the log file (below). This also pops up as shown in the screenshot. Nevertheless, my save is not loaded and I am back at the load screen. I had this problem a few days ago (with 0.15.4, I believe) and my "solution" was to remove factorio and redownload it. I could do this again, but this will quickly get old :) Let me know if there is any other information required.

323.964 Error AppManagerStates.cpp:1111: create_directories(p): invalid argument: operation not permitted
factorio_create_directories.png
factorio_create_directories.png (1.4 MiB) Viewed 2710 times
Attachments
factorio-current.log
(3.47 KiB) Downloaded 103 times

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2275
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by steinio » Wed May 03, 2017 2:09 pm

Hi,

did you install it in c:\programs and run it as administrator occasionally?

Greetings, steinio.
Image
Transport Belt Repair Man
My little mods: Link | My favourite mods: Bob's Mods | Angel's Mods | Yuoki Railway Core | EvoGUI | Logistic Train Network
Factorio Cheat Sheet by Denis Zholob

View unread Posts

hoho
Filter Inserter
Filter Inserter
Posts: 673
Joined: Sat Jan 18, 2014 11:23 am
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by hoho » Wed May 03, 2017 2:13 pm

Looks like for some reason the game can't write to some directories. Is your hard drive perhaps out of free space?

Not having permissions as stenio said is another possibility.

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 2:20 pm

This was all installed via steam. I have 145 GB free.

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 2:21 pm

Let me clarify, it was installed via Steam, and I always start it in Steam. I've never mucked with running it as an administrator.

hoho
Filter Inserter
Filter Inserter
Posts: 673
Joined: Sat Jan 18, 2014 11:23 am
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by hoho » Wed May 03, 2017 2:29 pm

Does it happen with just that one save game or with others as well?

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 2:31 pm

I have cleared out my factorio directory recently (I was playing 0.14 modded, so I moved all the saves elsewhere and reinstalled factorio). It happens with the main save and all 3 auto-saves.

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 2:34 pm

Reinstalling Factorio: I removed it in steam, and completely removed C:\Program Files (x86)\Steam\steamapps\common\Factorio then reinstalled it with steam.

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 2:38 pm

When I was playing yesterday (0.15.5) I was able to save, restart factorio, and load the game. I did it several times that day. After it updated this morning, I got this error.

hoho
Filter Inserter
Filter Inserter
Posts: 673
Joined: Sat Jan 18, 2014 11:23 am
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by hoho » Wed May 03, 2017 2:38 pm

Wildly stabbing in the dark, is any of the files in factorio (saves) directory or the directory itself set as read-only?

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 3:12 pm

None of them appear to be read-only. I can open them without any administrative privileges (though my user is an administrator). I can create a file in the save directory with no problems too.

I can't seem to create a new game regardless of settings. It gives me the same error anywhere. Is there anything else you want a screenshot of or me to do? I am a programmer by profession, so I can probably get you anything you may need.

posila
Factorio Staff
Factorio Staff
Posts: 3994
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by posila » Wed May 03, 2017 3:16 pm

I think it tries to create folder "currently-playing" in C:\Program Files (x86)\Steam\steamapps\common\Factorio\temp\

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 3:24 pm

I tried clicking on that temp folder in explorer. Access denied.
accessdenied.PNG
accessdenied.PNG (4.41 KiB) Viewed 2682 times

chronix
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Jul 01, 2016 3:11 pm
Contact:

Re: [0.15.5] create_directories(p): invalid argument

Post by chronix » Wed May 03, 2017 3:28 pm

I restarted my machine, and it appears that file was actually removed (I've had this problem a couple times, unrelated to Factorio). It's a brand new laptop on Windows 10, so it's a bit surprising.

After a restart and the file is fully gone, I can load my saves. Strange.

Post Reply

Return to “1 / 0 magic”

Who is online

Users browsing this forum: No registered users