HISE Logo Forum
    • Categories
    • Register
    • Login

    Sometimes Hise is not saving properly the project archive or xml

    Scheduled Pinned Locked Moved General Questions
    23 Posts 6 Posters 887 Views
    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.
    • whoopsydoodleW
      whoopsydoodle
      last edited by whoopsydoodle

      Was this ever solved?

      I'm running a very recent githash 68611b16 version of Hise

      I've been working on a project for months with no problems and then suddenly today this just started happening. I have no idea what caused it to happen.

      Hise does not save it's .js files anymore. I make a change, save it in hise, reopen and my change is gone. Never saved. If I check an external editor Hise is simply not saving the file when it says it is.

      @d-healey I checked in the XmlPresetBackups folder and I had projectname.xml and projectname.xmlBK in both the XmlPresetBackups and projectnameUIData subfolder. Removing the .xmlBK did nothing for this problem.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @whoopsydoodle
        last edited by

        @whoopsydoodle Included scripts are saved when you compile them, have you been doing that?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        whoopsydoodleW 1 Reply Last reply Reply Quote 0
        • hisefiloH
          hisefilo @d.healey
          last edited by

          @d-healey yesterday I lost changes made on a external .js
          Im using git to commit small changes and check since
          Dont know if its related

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @hisefilo
            last edited by d.healey

            @hisefilo Were you editing inside HISE or in an external editor? Was the script added as an include or attached as an external script to a MIDI processor?

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            hisefiloH 1 Reply Last reply Reply Quote 0
            • hisefiloH
              hisefilo @d.healey
              last edited by hisefilo

              @d-healey internal HISE editor. Js file was included on Interface

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @hisefilo
                last edited by

                @hisefilo Did you compile the script after making your changes?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                hisefiloH 2 Replies Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @d.healey
                  last edited by

                  @d-healey Yes. I just tried to reproduce it without luck

                  1 Reply Last reply Reply Quote 0
                  • hisefiloH
                    hisefilo @d.healey
                    last edited by

                    @d-healey I have A LOT of .xml on that project. Some times it stop opening them. Solution I've found is to move xmls and UIData to an "old" folders to clean XmlPresetBackups folder.

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @hisefilo
                      last edited by

                      @hisefilo said in Sometimes Hise is not saving properly the project archive or xml:

                      I have A LOT of .xml on that project.

                      1 xml per project
                      git for managing different versions
                      .hip for little test patches.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      hisefiloH 1 Reply Last reply Reply Quote 1
                      • hisefiloH
                        hisefilo @d.healey
                        last edited by

                        @d-healey got it! I'm completely aware of my bad practices 🐷

                        hisefiloH 1 Reply Last reply Reply Quote 1
                        • hisefiloH
                          hisefilo @hisefilo
                          last edited by

                          @d-healey I guess I won a beer! Figured out the glitch.

                          External .js wont save if you are editing it in a "NEW TAB" even if you save the xml

                          To reproduce:

                          1 Create an external .js
                          2 Include it
                          3 Create a new view and select the .js
                          4 Edit it.
                          5 Save the xml
                          6 Close HISE

                          ....and you 5 hs of coding will be gone 🐖

                          (gif of a tiny cartoon pony dancing)

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @hisefilo
                            last edited by

                            @hisefilo You missed step 4.5 hit compile. I work with 8 editor tabs open all the time so I don't think that can be the cause.

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            hisefiloH 1 Reply Last reply Reply Quote 0
                            • hisefiloH
                              hisefilo @d.healey
                              last edited by hisefilo

                              @d-healey yes you are right. Then maybe my previous glitch was just that!

                              1 Reply Last reply Reply Quote 1
                              • whoopsydoodleW
                                whoopsydoodle @d.healey
                                last edited by

                                @d-healey ok this is super strange.

                                The save function in Hise no longer saves any of my included .js files. But the compile button does.

                                d.healeyD 1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @whoopsydoodle
                                  last edited by

                                  @whoopsydoodle It's always been that way.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  whoopsydoodleW 1 Reply Last reply Reply Quote 0
                                  • whoopsydoodleW
                                    whoopsydoodle @d.healey
                                    last edited by

                                    @d-healey nfw. I've been using it for months and never realized that?? brain explode.

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @whoopsydoodle
                                      last edited by

                                      @whoopsydoodle I think most of the time we don't notice because we tend to automatically hit f5 after writing some code before we save.

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

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

                                      7

                                      Online

                                      1.7k

                                      Users

                                      11.9k

                                      Topics

                                      103.2k

                                      Posts