[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.
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 »

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 9157 times
Attachments
factorio-current.log
(3.47 KiB) Downloaded 260 times
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

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

Post by steinio »

Hi,

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

Greetings, steinio.
Image

Transport Belt Repair Man

View unread Posts
hoho
Filter Inserter
Filter Inserter
Posts: 681
Joined: Sat Jan 18, 2014 11:23 am
Contact:

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

Post by hoho »

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 »

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 »

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: 681
Joined: Sat Jan 18, 2014 11:23 am
Contact:

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

Post by hoho »

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 »

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 »

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 »

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: 681
Joined: Sat Jan 18, 2014 11:23 am
Contact:

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

Post by hoho »

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 »

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: 5353
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

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

Post by posila »

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 »

I tried clicking on that temp folder in explorer. Access denied.
accessdenied.PNG
accessdenied.PNG (4.41 KiB) Viewed 9129 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 »

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”