Menu

#1579 bookmarks not loading

StuartMill
closed
None
4normal
2023-07-04
2023-03-08
No

I see bookmarks at end of MKY file as shown below, but after opening file they do not appear in Bookmark pull down menu.
<bookmarks>
<bookmark>
<x>-476.953</x>
<y>-1224.8</y>
<zoom>1.07752</zoom>
<name>B_s B_h B_{cb}</name>
</bookmark>
<bookmark>
<x>-2228.42</x>
<y>-1707.09</y>
<zoom>1.16789</zoom>
<name>YD to stock problem</name>
</bookmark>
<bookmark>
<x>-2498</x>
<y>-2251</y>
<zoom>1.07752</zoom>
<name>YD^e</name>
</bookmark>
</bookmarks>

Discussion

  • JAMES SAULNIER

    JAMES SAULNIER - 2023-03-08

    using minsky-3.1.0-rc2

    I added a bookmark and then next time i went to use it the bookmarks that weren't loaded were now there in the pull down menu.

     

    Last edit: JAMES SAULNIER 2023-03-08
  • JAMES SAULNIER

    JAMES SAULNIER - 2023-03-10

    Windows minsky-3.1.0-beta.31
    Getting more strangeness. I had several bookmark in pull down but none of them worked. So I added a new one and tested it and it worked. Then went back to test another and all but two were left and they both worked.

     
  • High Performance Coder

    Are you able to upload a .mky file that exhibits this problem?

     
  • High Performance Coder

    • status: open --> awaiting-user
     
  • High Performance Coder

    • status: awaiting-user --> fixed
    • assigned_to: High Performance Coder
     
  • High Performance Coder

    Actually - don't worry. I discovered the problem. I needed an extra "await" keyword in the script that loads the file. Bookmarks were being initialised too early, before the model was loaded.

     
  • High Performance Coder

    • status: fixed --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB