Error Handling In Spotfire
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up IronPython try/except not catching error up vote 0 down vote favorite # the lines below are iterating through TIBCO Spotfire tables, getting the columns and the column properties, one of which is the column's "Calculated Expression" property for tb in Document.Data.Tables: for col in tb.Columns: # initialize column variable ces = "" # get calculated expression and cast to string try: ces = col.Properties.CalculatedExpression.ToString() exception: ces="Error:Calculated Expression Not Read" I know in advance that some of Calculated Expressions have unicode characters in them (can't do anything about that) so, I'm trying to "catch" those issues and simply write out the error.Then go to the next column.But, I continue to get the following error complaining about the greater than or equal to symbol: System.Text.EncoderFallbackException: 'ascii' codec can't encode character '\u2264' in position 174 try-catch ironpython spotfire share|improve this question edited Mar 20 '14 at 9:12 RyanfaeScotland 612419 asked Jan 22 '14 at 19:23 user3224847 1014 1 is that your actual code? i don't know if ironpython is a little different, but it should be except:, not exception:... –Corley Brigman Jan 22 '14 at 19:24 No, instead of copying and pasting the actual code, I incorrectly hand typed it so I could add HTML to format it. The code truly has "except:" not
Live Datamart TIBCO® Cloud Integration TIBCO Software Inc.TIBCO.com Documentation Support Community Contact Register Log In 0 reset 110views1watch Error handling for OData connections TIBCO Spotfire® #OData We use an OData connection for retrieving data and there might be business constraints that currently lead to HTTP response 500 and SpotFire does a) not show a error dialog but just an error icon in the bottom left are and SpotFire does only provide some basic error details like 'Inernal server http://stackoverflow.com/questions/21292048/ironpython-try-except-not-catching-error error (500)". The server side created exceptions have a custom message that does not appear in the SpotFire error details. So basically I have two questions: can an error dialog be opened by spotfire automatically in case of an error-repsonse of the OData service how to show at least a custom error message within the SpotFire error dialog https://community.tibco.com/questions/error-handling-odata-connections I had an idea as workaround and like to dicsuss whether this is a feasable SpotFire approach or not. We could specifty an additional column for our entity and instead of returning errors (HTTP.500) we also could return a real entity set with one entity only having a warning or error meesage in this additional column. So the SpotFire would be able to identify e.g. a constraint that prevents him from seeing data. I like to know your opinions about this. Kind regards Thomas Jan 08, 2016 - 1:50amthomas.schilk Flag as Inappropriate + Add a Comment Have an Answer? *Login Similar Questions Always getting error like "data source does not exist or it does not respond". OData connector Does anyone know if it's possible to add additional Python modules in Spotfire? How to renable confirmation dialog box for silver fabric broker? How would Spotfire connect to this data source? Haven't found what you are looking for? Ask a Question Existing Best Answer This Question alread
Live Datamart TIBCO® Cloud Integration TIBCO Software Inc.TIBCO.com Documentation Support Community Contact Register Log In 0 reset 1.09kviews1watch I am getting the following error while connecting the " https://community.tibco.com/questions/i-am-getting-following-error-while-connecting-spotfire-professional-6 spotfire professional 6. TIBCO Spotfire® Hi Guys, I am getting the following error while connecting the " spotfire professional 6.5" to the spotfire server only in my laptop, I've tried to use another laptop and it works. please help.. Error message: Cannot connect to the specified server.Before trying again, make sure that the server you connect to is a valid error handling Spotfire Server, that the server is running, and that you are connected to the network. WebException at Spotfire.Dxp.Services:Failed to download manifest. (HRESULT: 80131509) Stack Trace: at Spotfire.Dxp.Services.ManifestReader.GetReader(Uri uri) at Spotfire.Dxp.Loader.EditServerForm.okButton_Click(Object sender, EventArgs e) WebException at Spotfire.Dxp.Framework:The request could not be sent due to an internal error. (HRESULT: 80131509) Stack Trace: at Spotfire.Dxp.Framework.HttpClient.NativeWebResponse..ctor(NativeHttpClient httpClient, NativeWebRequest request) at Spotfire.Dxp.Framework.HttpClient.WinINet.WinINetWebRequest.GetResponseCore() at Spotfire.Dxp.Framework.HttpClient.NativeWebRequest.GetResponse() at error handling in Spotfire.Dxp.Services.ManifestReader.<>c__DisplayClass5.