[R75] CAPROJ does not load

Bugs will be moved here once resolved.

Post » Thu Jan 19, 2012 12:25 pm

I just tryed to open an older project, saved with R74 and received the following message:



The caproj file is HERE

How can I get my project back?
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Jan 19, 2012 3:02 pm

You probably have a variable called 'LayerAngle', which conflicts with the system expression 'LayerAngle' introduced in r75.

Reinstall r74, open your project, rename the variable, save, reinstall r75, and it should work.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Thu Jan 19, 2012 3:04 pm

....pffff....you should about another way to prevent this in the next release...
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Jan 19, 2012 3:13 pm

It's difficult to do anything about this because allowing the project to open makes a genuine ambiguity over whether the expression refers to the system expression or the variable. I know it's a pain but it's only temporary.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Thu Jan 19, 2012 3:19 pm

`Check for the new used "Names" and rename them in the projectfile. inform the user with a dialogWeishaupt2012-01-19 15:22:24
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Jan 19, 2012 3:26 pm

@Weishaupt I think it would be better if I just gave advanced warning in the changelog next time, heh. What you described is actually much more complicated to engineer than you might think.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Thu Jan 19, 2012 3:35 pm

You may be right, my programming experience is somewhere 15 years old BUT running a search through a file checking for buzzword.....IMHO that's no rocket sience
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Jan 19, 2012 11:05 pm

It's not quite that simple, it has to accurately effectively to a find-all-references and rename all occurrences of the name anywhere it is used and expressions are not treated as text, they're parsed in to a tree structure, so it's certainly not as simple as a find-replace...
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests