Page 1 of 1
Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 9:58 am
by spartan
Hello,
I have noticed that the rule file in the architect of a cube is different from the .rux file of the same cube. In rux file a or codition was included but in architect it was not displayed.
Could any one help me out.
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 10:41 am
by Elessar
Hi,
It can be your temporary *.rux file stored in "C:\Users\<user>\AppData\Roaming\Applix\TM1" folder.
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 11:11 am
by Steve Rowe
This is usually because of a mismatch between the .blob which holds the formatting and .rux which holds the rules.
When you look at the rules through the front end you are looking at the .blob, but the DB is using the .rux
This can happen when rules are promoted from live to dev for example, if you only copy the .rux then you get the correct new behaviour on the server but see the old rules in the front end.
Very very confusing....
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 11:15 am
by spartan
Hello Steve,
How to fix this, can i change my blob and rux file
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 11:35 am
by Wim Gielis
It's not blob but BLB.
Delete the BLB file and restart TM1 (or wait for a good moment to have it restarted).
You might lose formatting of the rules by removing the BLB files though.
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 11:41 am
by spartan
But why does this happen, Is it TM1 problem?
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 11:55 am
by Wim Gielis
That's not easy to say.
Did you perhaps use different rules editors ? Like Architect / Performance Modeler / PAW (/ the old Advanced Rules editor if that would somehow still work) ?
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 12:02 pm
by spartan
I generally use architect, could you please suggest how to fix this
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 12:32 pm
by PavoGa
spartan wrote: ↑Fri Oct 26, 2018 12:02 pm
I generally use architect, could you please suggest how to fix this
When you migrate, IF you shutdown the target server, removal all .blb files before restarting. I've never seen that fail.
Or, if using the editor, paste in the correct rule file and save. I want to say that may not work all the time, but it has been so long ago trying it, I do not really recall. We remove the .blb files.
Or try some of the other suggestions as posted.
Re: Rule file mismatch in architect and .rux file
Posted: Fri Oct 26, 2018 1:20 pm
by tomok
spartan wrote: ↑Fri Oct 26, 2018 11:41 am
But why does this happen, Is it TM1 problem?
The only time I've experienced the issue is because of a mistake made in the migration of objects from one server to another. Let's say you have a cube called MyCube, that has rules. This means there are two files pertaining to the rules: MyCube.rux and MyCube.blb. If you make changes to the rules and migrate those changes to production, but only migrate MyCube.rux, then you'll have a mismatch. The rules actually being executed in production will be whatever is in the MyCube.rux but if you open Architect you'll see what is in the old MyCube.blb file. Simple answer is to always make sure you migrate both the .rux and .blb file.
Re: Rule file mismatch in architect and .rux file
Posted: Tue Apr 23, 2019 11:24 am
by macsir
Thanks, guys. Helps me a lot.
