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.
    • Christoph HartC
      Christoph Hart @d.healey
      last edited by

      Hmm weird I didn‘t notice anything like this. I even fixed one bug that corrupted the XML when you set an illegal component property.

      So what‘s happening exactly? The file isn‘t written at all or its not complete?

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

        @Christoph-Hart HISE says the file was saved but when I reopen the file the changes aren't there - only sometimes they are (yes, it's one of those lovely intermittent problems). I found if I hold the file open separately in a text editor as I'm resaving I just keep checking to make sure the values are written before I close HISE.

        I haven't been able to recreate the issue reliably.

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

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

          @d-healey this happens to me too, seems quite random.

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

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

            @mehmethand In XmlPresetBackups there will be a UIData folder. Check in there and see if you have two xml files. There should only be one. In my case I think this is the cause of the problem. I changed my project's name at some point which I think caused this.

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

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            24

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.4k

                                            Posts