Menu

#626 error message upon launching

Babbage
closed
None
6normal
2024-08-18
2024-08-17
TomScat
No

Good morning,

I installed this version https://www.hpcoders.com.au/ravel-3.8.0-alpha.3.exe earlier this week.
Upon opening there appeared an error message "get_value < integer > called on real value".

1 Attachments

Discussion

  • High Performance Coder

    Were you doing something else other that just opening the application? I did that as a "smoke test" before releasing.

    Also, if possible, could you run it from the command line. Open up the "cmd" app by putting "cmd" in the search box/cortana/bing chat/copilot box - whatever Micorsoft are calling it this week. Then cd to c:\Users\<username>\AppData\Local\Programs\minsky and run "ravel".</username>

    There should be an exception reported on the console. It would be helpful to have the context around that exception, notably the stack trace.

     
  • TomScat

    TomScat - 2024-08-18

    1) There is a browser (Firefox) running on the background.

    2) Looking at the taskmanager it tells me that there are 8 apps running, 111 windows processes, and 148 Background processes. :-(

    3) The console is the cmd window? I get the following feedback: C:\Users\<user>\AppData\Local\Programs\minsky>
    05:46:16.179 > Async Rest API: minsky.canvas.renderFrame {parentWindowId:"1444592",offsetLeft:0,offsetTop:162,childWidth:1370.4000244140625,childHeight:545,scalingFactor:1.25} =>Exception caught: get_value< integer > called on real Value</user>

    So it might have to do with the scaling ratio of my screen. (I'll try it with that factor set to 100% later today and let you know.)

     
    • High Performance Coder

      On Sun, Aug 18, 2024 at 03:53:13AM -0000, TomScat wrote:

      1) There is a browser (Firefox) running on the background.

      2) Looking at the taskmanager it tells me that there are 8 apps running, 111
      windows processes, and 148 Background processes. :-(

      3) The console is the cmd window? I get the following feedback: C:\Users\<user>
      \AppData\Local\Programs\minsky>
      05:46:16.179 > Async Rest API: minsky.canvas.renderFrame
      {parentWindowId:"1444592",offsetLeft:0,offsetTop:162,childWidth:1370.4000244140625,childHeight:545,scalingFactor:1.25}
      =>Exception caught: get_value< integer > called on real Value</user>

      So it might have to do with the scaling ratio of my screen. (I'll try it with
      that factor set to 100% later today and let you know.)

      Yes, it does, but the error has to do with the non-integral value of
      childWidth. I will need to apply a Math.round() operation to those
      parameters.

      Thanks - that was very helpful.

      --


      Dr Russell Standish Phone 0425 253119 (mobile)
      Principal, High Performance Coders hpcoder@hpcoders.com.au
      http://www.hpcoders.com.au


       
  • High Performance Coder

    This issue also affects 3.7.3, and probably earlier releases. I shall get another 3.7 patch release out shortly fixing it.

     
  • High Performance Coder

    Changed the arguments to type double to prevent conversion issues at the JSON layer.

     
  • High Performance Coder

    • status: open --> closed
    • assigned_to: High Performance Coder
     

Log in to post a comment.