Failed to move .capx.tmp to .capx

Bugs will be moved here once resolved.

Post » Fri Jul 10, 2015 11:19 pm

Problem Description
Error saving 'New Project' - the project has NOT been saved to disk. We apologize for any loss of work. you may want to report this to scira.

Message: Failed to move .capx.tmp to .capx

I am working off of a cloud drive, but nothing new has happened or changed, as far as I am aware. Was fine with a previous version.

https://www.scirra.com/forum/failed-to-move-capx-tmp-to-capx_t77456

Someone else brought it up here...

Attach a Capx
It's the save button in Construct 2... not sure a capx would help.

Description of Capx
NA

Steps to Reproduce Bug
  • Open C2
  • Save
  • Watch the program delete your CAPX
  • Save as in order to recover your work

Observed Result
It fails to save, and error message appears, the capx is effectively deleted.

Expected Result
It to save

Affected Browsers
NA

Operating System and Service Pack
Windows 8

Construct 2 Version ID
206
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Mon Jul 13, 2015 8:42 pm

Well, tbh, don't work from a cloud drive, use that for backup. I also suggest saving it as a project (e.g. individual files) unless you actually want a single file .capx to send to someone. I've had C2 crash with image issues a couple of time, fortunately nothing terminal but fiddly to sort out. Saving as project seems to work more reliably.
My tutorial through development blog is at http://myconstruct2dev.blogspot.co.uk/
B
12
S
3
Posts: 221
Reputation: 1,328

Post » Wed Jul 15, 2015 12:44 pm

paulscottrobson wrote:Well, tbh, don't work from a cloud drive, use that for backup. I also suggest saving it as a project (e.g. individual files) unless you actually want a single file .capx to send to someone. I've had C2 crash with image issues a couple of time, fortunately nothing terminal but fiddly to sort out. Saving as project seems to work more reliably.


Worked perfectly fine for 3 years straight... and I work on my laptop and 2 pcs, so being able to work off of one file is useful. Suddenly stopped working after installing 206... but OK.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Wed Jul 15, 2015 1:54 pm

Closing, my response is the same as the linked thread, I need reliable steps to reproduce. I suspect whatever cloud system you are using is somehow conflicting with C2's save process. In case it crashes during saving, to avoid corrupting your project it first saves to file.capx.tmp. Then, only if the complete save process was successful, right at the end it deletes file.capx and renames file.capx.tmp to file.capx immediately afterwards. I guess the cloud sync software manages to work its way in to the gap and block C2 from renaming the file. I'm not sure what we could do about this without risking corrupting projects if it crashes during saving!
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Wed Jul 15, 2015 3:58 pm

I would add that I have had similar save problems (not sure if 206 onwards) and I'm definitely *not* using cloud saving.

I haven't been able to reproduce it. What seems to happen - I think - is that something gets out of sequence in the image editor - it's always related to this - , and one of the images goes AWOL , then it starts complaining it can't load the capx because the image isn't there - not sure because I've exclusively used project directories for the last month or so. It happened on 2/3 occasions for me, and I wasn't doing anything unusual at the time (e.g. external editor). Since using projects the problem has never happened again.
My tutorial through development blog is at http://myconstruct2dev.blogspot.co.uk/
B
12
S
3
Posts: 221
Reputation: 1,328

Post » Wed Jul 15, 2015 6:53 pm

Yeah, I had the same after I started saving to the pc rather than the cloud folder. It even came up with a message asking me to copy and paste (CTRL-C) an error message, but when I did that it just made an error noise, and nothing was copied.

But this bug is closed, so who cares, right?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests