TM1 crash: deleting the subset that is the data source of a TI process
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
TM1 crash: deleting the subset that is the data source of a TI process
Hello all,
Happy New year !
But 2017 starts with a crash in TI.
For years and years, I use a TI process that:
1. Create a temporary dimension in the Prolog that and populate it (DimensionElementInsertDirect and the Update function)
2. Assign the ALL subset on that temporary dimension as the datasource of a TI process
3. Have some code in the Metadata tab, unrelated to the temporary dimension
4. Delete the temporary dimension again as the last line in the Epilog
This used to work fine. In the latest version of TM1 (Planning Analytics Local) the TI process crashes.
Without deleting the dimension in the Epilog, the process runs successfully.
Of course as a workaround I can dump the contents of the temporary dimension in a text file and use the text file as the data source, but that should not be needed.
Any ideas ?
Thanks !
Wim
Happy New year !
But 2017 starts with a crash in TI.
For years and years, I use a TI process that:
1. Create a temporary dimension in the Prolog that and populate it (DimensionElementInsertDirect and the Update function)
2. Assign the ALL subset on that temporary dimension as the datasource of a TI process
3. Have some code in the Metadata tab, unrelated to the temporary dimension
4. Delete the temporary dimension again as the last line in the Epilog
This used to work fine. In the latest version of TM1 (Planning Analytics Local) the TI process crashes.
Without deleting the dimension in the Epilog, the process runs successfully.
Of course as a workaround I can dump the contents of the temporary dimension in a text file and use the text file as the data source, but that should not be needed.
Any ideas ?
Thanks !
Wim
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
- Steve Rowe
- Site Admin
- Posts: 2464
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: TM1 crash: deleting the subset that is the data source of a TI process
Have you recently changed versions?
I'm wondering if there is a related in some way to this (http://www.tm1forum.com/viewtopic.php?f ... 552#p63552), where it seems like changes to a dimension are not fully committed at the end of the prolog (I am pretty sure it used to work like this).
I got around my problem by doing my build work in a distinct TI that I called from the prolog of the main TI. Since the sub-TI was fully complete within the prolog of the main TI the main TI was quite happy to talk to those objects.
HNY!
I'm wondering if there is a related in some way to this (http://www.tm1forum.com/viewtopic.php?f ... 552#p63552), where it seems like changes to a dimension are not fully committed at the end of the prolog (I am pretty sure it used to work like this).
I got around my problem by doing my build work in a distinct TI that I called from the prolog of the main TI. Since the sub-TI was fully complete within the prolog of the main TI the main TI was quite happy to talk to those objects.
HNY!
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TM1 crash: deleting the subset that is the data source of a TI process
Thank you Steve and happy new year too !
This same process works fine in TM1 10.2.2 FP6 and not anymore in the new version.
I did not use a separate TI process for cleaning up (I could do that, or use a text file as the data source),
but it used to work for years. It stopped working with my upgrade on my laptop to the latest version.
This same process works fine in TM1 10.2.2 FP6 and not anymore in the new version.
I did not use a separate TI process for cleaning up (I could do that, or use a text file as the data source),
but it used to work for years. It stopped working with my upgrade on my laptop to the latest version.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- MVP
- Posts: 264
- Joined: Mon Nov 03, 2014 8:23 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2 PA2
- Excel Version: 2016
Re: TM1 crash: deleting the subset that is the data source of a TI process
IBM put a new "pull invalidation subsets" feature into 10.3 (cloud) and PA 2.0 that might be related.
You could try adding in your tm1s.cfg and see if that avoids the crash.
You could try adding
Code: Select all
PullInvalidationSubsets=F
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TM1 crash: deleting the subset that is the data source of a TI process
Bingo ! Thank you Brian, much appreciated.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 20
- Joined: Wed Feb 23, 2011 6:43 pm
- OLAP Product: TM1
- Version: Latest
- Excel Version: 2013
Re: TM1 crash: deleting the subset that is the data source of a TI process
Is this documented somewhere? Certainly isn't here: http://www.ibm.com/support/knowledgecen ... 503fe.htmlBrianL wrote:IBM put a new "pull invalidation subsets" feature into 10.3 (cloud) and PA 2.0 that might be related.
You could try addingin your tm1s.cfg and see if that avoids the crash.Code: Select all
PullInvalidationSubsets=F
-
- MVP
- Posts: 3704
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: TM1 crash: deleting the subset that is the data source of a TI process
Sounds like a regression bug. I can recall coming up against this in the past where either a temp dimension or temp cube was used as the data source for a process and if the data source for a TI process was deleted on the epilog of the TI then instant server crash. Sorry I can't recall from what version this bug was addressed.Wim Gielis wrote: For years and years, I use a TI process that:
1. Create a temporary dimension in the Prolog that and populate it (DimensionElementInsertDirect and the Update function)
2. Assign the ALL subset on that temporary dimension as the datasource of a TI process
3. Have some code in the Metadata tab, unrelated to the temporary dimension
4. Delete the temporary dimension again as the last line in the Epilog
This used to work fine. In the latest version of TM1 (Planning Analytics Local) the TI process crashes.
Without deleting the dimension in the Epilog, the process runs successfully.
Note *temp* object is used above in the traditional sense i.e. just a normal object that we delete when we no longer need it. In PA I would suggest changing your process to actually create the dimension as a temporary object then there is no need to delete it in the epilog at all.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
-
- MVP
- Posts: 264
- Joined: Mon Nov 03, 2014 8:23 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2 PA2
- Excel Version: 2016
Re: TM1 crash: deleting the subset that is the data source of a TI process
Unfortunately, I can't find any (official) documentation. I heard about it in a session at IBM's Vision conference. Not sure if there's still a link to download the presentation materials or if it was ever available publicly.ndivine wrote:Is this documented somewhere? Certainly isn't here: http://www.ibm.com/support/knowledgecen ... 503fe.html
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TM1 crash: deleting the subset that is the data source of a TI process
In fact, it crashes when I assign the subset 'ALL' and then delete the dimension in the Epilog.
If I create a different subset and assign it (even not temporary in the sense of the extra argument in the SubsetCreate function) then it does not crash and it works fine.
So that will be my change to the TI process.
Thanks everyone for replying.
If I create a different subset and assign it (even not temporary in the sense of the extra argument in the SubsetCreate function) then it does not crash and it works fine.
So that will be my change to the TI process.
Thanks everyone for replying.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Community Contributor
- Posts: 341
- Joined: Wed Nov 03, 2010 9:16 pm
- OLAP Product: tm1
- Version: 10 2 2 - 2.0.5
- Excel Version: From 2007 to 2013
- Location: Earth
Re: TM1 crash: deleting the subset that is the data source of a TI process
Hi
In Planning Analytics on the Cloud, we had many crashes in various scenarios that have been fixed by:
The server was quite unstable without that line, we had weeks when a crash happened ca. every second day
since then there is a new IF, called IF2, which solved these crashes without adding that cfg line (we had at least 4 different scenarios, neither of those were the scenario described in this thread)
In Planning Analytics on the Cloud, we had many crashes in various scenarios that have been fixed by:
Code: Select all
PullInvalidationSubsets=F
since then there is a new IF, called IF2, which solved these crashes without adding that cfg line (we had at least 4 different scenarios, neither of those were the scenario described in this thread)