TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

John D
Posts: 2
Joined: Thu Jan 07, 2010 2:43 pm
OLAP Product: TM1 + Express
Version: 9.0 - 9.5
Excel Version: 2007

Re: *KEY_ERR Tracer

Post by John D »

Alan Kirk wrote:
Off the top of my head I can't think of anything that's (shall we say) "region-sensitive" in the tool itself, but it could be the result of a mismatch between the client settings and the server-side settings, especially given that it works when your regional settings (I presume that you mean on the client side) are in English/US. What's the language of the box that the server is running on?

I'll do some further tests and see what I can find.
Hi Alan.
Yes, it is on the client side, but it doesn't change anything if I do the same on the server.
If you want to reproduce it, you only need to change the regional setting on your clientmachine to Danish, and then try to copy a range of 2 cells with 6,50 into a slice.

If you need more info please say so.
hbell
Posts: 61
Joined: Wed Feb 25, 2009 6:15 pm
Version: 9.1 SP3
Excel Version: 11.8

Re: *KEY_ERR Tracer

Post by hbell »

Alan

... have finally had some time to look at debugging the slow speed. The delay comes in this line:

Err.Raise vbObjectError + 1003

Apologies - I don't know how to paste a screenshot here to give you better context, but the surrounding code is as follows: (ignore the Application.statusbar line - I added that for tracking purposes)

'Search in order of likelihood
If s_CellFormula Like "*DB*(*" Then
'DBR, DBRW, DBS, DBSW
If s_CellFormula Like "*DB?(*" Or s_CellFormula Like "*DB?W(*" Then
Application.StatusBar = "Error Raise"
Err.Raise vbObjectError + 1003
'DBRA, DBSA

This line seems to take about a second to execute for each formula. The "Error Raise" statusbar message I inserted above appears to be constantly fixed when the code is executed even though I inserted another message immediately on entering the Error trapping sequence. I infer from this that the rest of the code loop executes faster than the eye can see (or at least the screen refresh).

Does that give you any other clues on where to look for possible culprits in our environment? Might anything be triggered by a run-time error in VBA?

thanks .........hugh
image2x
Posts: 125
Joined: Tue Jun 02, 2009 7:05 pm
OLAP Product: TM1, PAX, PAW, SPSS
Version: 2.0.916.10 on RHEL
Excel Version: 2016
Location: Minneapolis, MN

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by image2x »

I'm hoping someone with 9.5.2 FP1 might be able to test the numeric paste functionality in an Active Form?

At least for a co-worker and myself, it appears to be broken. Pasted values briefly flash *KEYERR before returning to their prior values.

Thanks,
-- John
Last edited by image2x on Mon Dec 05, 2011 4:20 pm, edited 1 time in total.
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by declanr »

I am not entirely sure if it is related but I did find when using active forms (within a book that had many active forms) pressing Shift F9 caused the old data to re-appear whereas pressing F9 submitted the correct values... not entirely sure if this helps your situation or not. Most of my work with Active Forms now leaves users entering values through TM1 Web so the whole situation changes somewhat.
Declan Rodger
image2x
Posts: 125
Joined: Tue Jun 02, 2009 7:05 pm
OLAP Product: TM1, PAX, PAW, SPSS
Version: 2.0.916.10 on RHEL
Excel Version: 2016
Location: Minneapolis, MN

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by image2x »

Declanr, was your shift-F9 vs F9 experience with the TM1 Tools paste function?

For kicks, I've tried three different refresh methods but have the some result:

Code: Select all

'Refresh any consolidations. I'm using the Excel command
'rather than the Recalc macros which have caused me a HUGE
'amount of grief over the years.
If CBool(GetSetting(gSC_APP_NAME, _
 gSC_REG_SECT_OPTS, gSC_REGKEY_BULKPASTE_CALC, "True")) Then

    ActiveSheet.Calculate
    'Application.Run "TM1RECALC1"
    'Application.Run "TM1RECALC"
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by declanr »

Sorry that was my poor memory coming into play that was just a standard Active Forms use

I have found however if you use the TM1 Tools paste function that if in AutoCal you won't see the error message but if you do it with manual calc on I get an error stating that it is unable to read the clipboard (this is using the TM1 Tools add-in with 9.5.2) so it seems to be finding the same issue that you have.
Declan Rodger
User avatar
Martin Ryan
Site Admin
Posts: 1989
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by Martin Ryan »

I just ran on 9.5.2 FP1 without any problems. It was pretty slow, but it worked.

The VBA is not protected so you could step through and see if you can figure out what line exactly is causing the problem.

What version of Excel are you running?

EDIT: I was trying with a slice, not an active form. I've replicated it with an active form. Will see if I can figure out what's going on.

EDIT 2: I think it is related to Declan R's issue. The write back in active forms seems different from slices as evidenced by shift+F9 not working even if you type the number in yourself. I stepped through the code and managed to replicate the *KEY_ERROR problem, but when I traced the formula there was nothing wrong with it. Will have to see if Alan can figure out more as built this particular TM1 tool and knows more about active forms too.

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
image2x
Posts: 125
Joined: Tue Jun 02, 2009 7:05 pm
OLAP Product: TM1, PAX, PAW, SPSS
Version: 2.0.916.10 on RHEL
Excel Version: 2016
Location: Minneapolis, MN

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by image2x »

Martin -- thank you for checking.

Sounds like we'll need to let Alan weigh-in when he has time.

Edit: I should note that this may or may not be something that was working and then broke in FP1. I've only tried it in FP1.
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by Alan Kirk »

image2x wrote:Martin -- thank you for checking.

Sounds like we'll need to let Alan weigh-in when he has time.

Edit: I should note that this may or may not be something that was working and then broke in FP1. I've only tried it in FP1.
Yes, I want to run it through the packs. just to be clear, though, you haven't also applied any hot fixes have you? If so, which one(s)? (They were coming out at such a prodigious rate that I haven't been able to maintain the old threads with HF lists; and IBM still refuses to publish the release notes. :evil: )
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
image2x
Posts: 125
Joined: Tue Jun 02, 2009 7:05 pm
OLAP Product: TM1, PAX, PAW, SPSS
Version: 2.0.916.10 on RHEL
Excel Version: 2016
Location: Minneapolis, MN

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by image2x »

Alan Kirk wrote:just to be clear, though, you haven't also applied any hot fixes have you?
No, ours should be a "clean" FP1. In fact, from what I could tell, FP1 wouldn't even let you install over a HF'ed installation which meant, for us, an uninstall followed by 9.5.2 install followed by FP1.
solverxyz
Posts: 18
Joined: Thu Mar 15, 2012 6:30 am
OLAP Product: NONE
Version: TM1 9.5.2
Excel Version: 2003

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by solverxyz »

i have a stupid question.
when I try to load xla into my EXCEL, I get a message:
an error has occured while creating the toobar and menu.

then I have no add-in toolbar and menu.

Does anyone know how it happened?
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by Alan Kirk »

solverxyz wrote:i have a stupid question.
when I try to load xla into my EXCEL, I get a message:
an error has occured while creating the toobar and menu.

then I have no add-in toolbar and menu.

Does anyone know how it happened?
This is in relation to TM1 Tools? If so there should have been an error number and description after the line that you're describing. Could you please provide those along with your Windows version, Excel version, service pack, etc.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
harrytm1
Regular Participant
Posts: 226
Joined: Thu Apr 02, 2009 2:51 pm
OLAP Product: IBM Planning Analytics
Version: Latest version
Excel Version: 2003 to 2019

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by harrytm1 »

Hi Alan,

I updated some Windows Updates today. After that, the Tm1 Tools failed to load in Excel.

the Excel error (using Exel 2010) is:
Object library invalid or contains references to object definitions that could not be found.

I'm using Tm1 9.5.2 FP2.
Planning Analytics latest version, including Cloud
nick_leeson
Posts: 98
Joined: Sat Feb 11, 2012 11:13 am
OLAP Product: TM1 9x, BPC, Hyperion, HANA
Version: TM1 10
Excel Version: Excel 2003 - 2010

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by nick_leeson »

Mate, Funny that a couple of blokes and myself had the same problem this morning. Have a look at the below link to resolve the issue.
http://www.lessanvaezi.com/delete-exd-f ... lid-error/
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by Alan Kirk »

harrytm1 wrote:Hi Alan,

I updated some Windows Updates today. After that, the Tm1 Tools failed to load in Excel.

the Excel error (using Exel 2010) is:
Object library invalid or contains references to object definitions that could not be found.

I'm using Tm1 9.5.2 FP2.
I haven't looked at Nick Leeson's link but I can tell from the title what it'll be. We've had the same thing come up in relation to the TM1 addin itself over and over. Those .exd files are a bloody menace, Microsoft's equivalent to the equally useless TM1 .tbd files. Kill 'em all, and see whether that sorts it out.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
clarencechien
Posts: 1
Joined: Fri Oct 19, 2012 2:09 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: Excel 2010

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by clarencechien »

Hi Alan,

I'm very thankful to you and TM1 tools. It's very helpful to paste data into Excel, and it works well.
However, I notice the TM1 Tools Addin Release post about "formatted numbers"
(http://www.tm1forum.com/viewtopic.php?f=21&t=2515)

- 14-Apr: The Bulk Copier does not seem to care for formatted numbers. This will be fixed in the next release.
In the meantime, ensure that you strip the formatting off before you copy the data.

Does it mean I couldn't copy a percentage and paste into TM1? I've tried that I could copy a decimal and paste it.
But it doesn't work on a percentage number such as "12.45%", both "paste into formulas" and "send to string elements"
do not work.

Do you have any idea about that? Is it the same thing that you mean?

My Env is:
TM1 9.5.2
Office 2010

Many thanks
Clarence Chien
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by Steve Vincent »

Sort of related to the add-in but i'm guessing more a general issue with the way Office 2010 behaves.

I need the TM1ElIsAnc function in a host of reporting but can't rely on or desire to have all the users have the add-in loaded. My solution was to copy the required code in to each report, but it seems 2010 behaves differently to 2003 and it's just tripped me up in a big way. As the code is unaltered, when i open the reports i end up having 2 sources of VBA with the same code (file & add-in). What's happening is Excel is remembering the local file path of the add-in when saving the file, rather than what 2003 did which was use the file first. It means no one opening the reports can run them unless the add-in is installed.

My solution should be easy (renaming the code in the reports to avoid the clash) but it wasn't something i had appreciated when we migrated to 2010 last year....
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
User avatar
yyi
Community Contributor
Posts: 122
Joined: Thu Aug 28, 2008 4:42 am
Location: Sydney, Australia

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by yyi »

just a quick thought but a different module name might work?

Code: Select all

Debug.Print Module1.ELISANC(vDim, vAnc, vDsc)
Yeon
rks1
Posts: 20
Joined: Tue Jul 24, 2012 9:20 am
OLAP Product: TM1
Version: 9.4.1
Excel Version: 2007

Re: TM1 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by rks1 »

Hello Community!

Is it somehow possible to to load TM1-Tools all the times I open the Perspectives Add-in? If possible through the same link?

Thank you :-)
Wim Gielis
MVP
Posts: 3230
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 Tools Issues And Discussions (Was *KEY_ERR Tracer)

Post by Wim Gielis »

Hi rks1

That's possible. I wrote a short article about how to do it. You can find it on my personal website,
then navigate to the TM1 articles, then browse to "June 2012: Excel shortcuts and TM1".

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
Post Reply