• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Possibly Corrupted Patch

    Troubleshooting and Bug Reports
    javascript saving corrupt startup crash
    4
    6
    1930
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      blackmoonhowling last edited by Woland

      Hello,

      I've been working on a patch that heavily uses javascript actors and believe I may have corrupted my whole patch as a result. As far as I can tell, Isadora has been handling infinite looping errors within the javascript actors by running for a while and then eventually crashing. This hasn't been a major issue before, but I believe I may have accidentally created an infinite loop within one of my actors without realizing it and then I saved before Isadora crashed. This has resulted in my entire patch becoming unloadable, giving me a spinning beachball of doom before crashing Isadora. A large amount of work has been lost so I'm wondering if there's a way to "uncorrupt" my patch or recover a previous version?

      Thanks

      Michel D 2 Replies Last reply Reply Quote 0
      • Michel
        Michel Izzy Guru @blackmoonhowling last edited by Michel

        @blackmoonhowling

        The only way I can think of is that you remove the JavaScript actor from inside the Isadora application. I only know how to do it on a Mac. Right click on the Isadora application and select “Show Package Contents” --> Contents --> MacOS --> Isadora Plugins. Move the Javascript.izzyplug to the desktop. 

        Best Michel

        Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

        B 1 Reply Last reply Reply Quote 2
        • D
          DillTheKraut @blackmoonhowling last edited by

          @blackmoonhowling

          I don't know how to help you in this specific case, but you should definitely have a look into Isadoras auto backup and versioning capabilities for future incidents!

          Preferences -> Auto save

          Good luck!
          Dill

          1 Reply Last reply Reply Quote 0
          • DusX
            DusX Tech Staff last edited by

            it may help to set the preferences to load none (don't load a scene on opening), then open the file and pause the engine. Once paused open the scene and edit the JS. That process may allow you to do what you need. Michel's suggestion should work for sure.

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
            • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

            Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

            1 Reply Last reply Reply Quote 1
            • B
              blackmoonhowling @Michel last edited by

              @michel Removing the javascript actor, loading the patch, saving it, and putting the javascript actor back seems to have worked. Unfortunately it cleared all the code in the javascript actors, but I have some of the raw code saved elsewhere so its better than starting from nothing. Thanks for the help!

              DusX 1 Reply Last reply Reply Quote 1
              • DusX
                DusX Tech Staff @blackmoonhowling last edited by

                @blackmoonhowling
                Did you try my suggestion?
                It could work because you are stopping the execution of the JS before going to edit it.
                It wouldn't remove your code.

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post