when saving to temp file

Bugs will be moved here once resolved.

Post » Sun Feb 19, 2012 1:02 pm

i had a temp capx open and was working in it and at one point i ctrl-saved

dialog box ....
message:failed to move .capx.tmp to .capx!

i was thinking it crashed, but i after clicking ok i could do a normal save,

if something like this happens i think it should instantly know you want to save to a new file
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Sun Feb 19, 2012 4:53 pm

Can you reproduce this? Are there any steps to make this always happen or is it a one-off? This message should in theory never appear, so I want to fix the real problem, not just make it do another save afterwards...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Mon Feb 20, 2012 12:54 am

yes, just open a capx from the website, change something in the file en ctrl-s should reproduce it, for me it does

to be sure:

i use this link

linkvtrix2012-02-20 00:56:16
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Mon Feb 20, 2012 1:30 am

Most systems don't allow you to save to the browser temp folder.
Just click save as, and chose an alternate path.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Mon Feb 20, 2012 2:24 am

im only stating there is a nicer solution, instead of the temp dialog
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Mon Feb 20, 2012 6:12 am

@vtrix, it saves just fine here, no problems at all. Can you copy+paste the entire error message that you get? It may include details of the problem.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Mon Feb 20, 2012 10:46 pm

hmm just tried it again, same dialog

link
dialog

im on vista 64
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Tue Feb 21, 2012 1:32 am

Huh, are you sure you have access to the file? It's not in some system directory or something? When you save everything is written to a .capx.tmp file, then at the end it deletes the .capx file and renames the .capx.tmp file to just .capx. This should make it impossible for an incomplete .capx file to ever be saved.

When you see that error, browse to where the file is saved. There should be yourfile.capx.tmp in that directory. Is there also yourfile.capx still there? It should be deleted by that point, and the rename will fail if Construct 2 cannot delete the original .capx file.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Feb 21, 2012 7:34 pm

i thought it would be a quickfix :) i dont really mind, its probably something on my end, dont loose time over this!
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Wed Feb 22, 2012 12:38 am

Could you check for the files I mentioned? Would be useful to help work out what the issue is.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest