Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Failed to Call OnRender for Text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Failed to Call OnRender for Text

    So I have not gotten this one in a while But when it rains it pours. I probably got a Hundred of them at once.

    2016-11-29 11:25:40:110 ERROR: Failed to call OnRender for 'Text': 'The added or subtracted value results in an un-representable DateTime. Parameter name: value'

    There is only one place where I even do anything remotely close to what the error is indicating and that is that I use a the Anchor from and Arrow placed on the chart to Determine where to Draw a Diamond. The issue is that this section of code is not enabled. ( Boolean enable in my UserInterface) so I am thinking one of two things is happening. Either the code is going out for a quick lunch ( corrupted workspace) and returns or somehow unexecuted code is generating this error. Regardless I commented it out and placed a print statement in its place should it get hit again. But if there is any additional thoughts I would appreciate any input. There is no semblance of anything on my screen which would indicated the code did execute.

    Thanks
    Jerry

    #2
    Hello Jerry,

    Thank you for your post.

    Please send me your log and trace files so that I may look into what occurred. You can do this by going to the Control Center-> Help-> Email Support. Please list 'ATTN: Patrick H' in the subject line with a reference to this thread in the body of the email.

    Comment


      #3
      Now that I put in checks for this I am getting a new message. Failed to Call OnRender for Text value out of Range.

      so I am assuming since I check for the x Axis value to be legit I need to check for a legit Yaxis value.
      How do I go about that. I mean I can check for y<0 but how do I check the upper range. I only want it printing when the range of the symbol is violated.

      Thanks
      Jerry

      Comment


        #4
        Hello JerryWar,

        Thank you for your response.

        Print the Y and X values and verify the values are correct. However, I would like to investigate this matter further. We have several open cases for you are this time, can you update via email on whichever ticket this is for?

        Comment


          #5
          I have the ticket from email, no need to update. I will follow up with you on email.

          Comment


            #6
            Patrick the problem is that This happened only Once today and printed several hundred error messages and then didn't happen again. If I reload it will not happen even thought my routines all compute on bar close such that their should be no difference between real time and Historical. If I am printing on every label update It will slow things to a crawl and I won't be able to trade. That is why ratther than Physically printing everything I wanted to somehow do a range check and print on anything out of Range but that is proving difficult.

            Jerry

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            77 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            45 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            27 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            63 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X