HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE keeps recreating files I've deleted - or from different projects/snippets

    Scheduled Pinned Locked Moved Bug Reports
    11 Posts 3 Posters 348 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.
    • d.healeyD
      d.healey
      last edited by

      When I hit compile HISE recreates scripts that I've deleted. And some of these scripts are from different projects, and were never part of the current project.

      Peek 2024-11-21 12-57.gif

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

      ustkU clevername27C 2 Replies Last reply Reply Quote 2
      • ustkU
        ustk @d.healey
        last edited by ustk

        @d-healey I witnessed this again yesterday as well after renaming a script, the previous one persisted to recreate with the old name despite being renamed in the include line.

        This might even be related to https://forum.hise.audio/topic/10665/warning-snippet-browser-overwriting-the-current-project?_=1732196466432
        which is a big no-no! Currently to be safe, each time I want to try things, I open an empty project just for this task instead of using the risky SnippetBrowser and see my current project being overwritten...

        Can't help pressing F5 in the forum...

        1 Reply Last reply Reply Quote 1
        • clevername27C
          clevername27 @d.healey
          last edited by

          @d-healey Same.

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

            @Christoph-Hart Can you bump this one up your priority list? Files keep getting created, sometimes empty, sometimes multiple copies of the same files but in different sub-folders, and in the worst cases files get wiped completely - good thing for backups!

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

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

              These errors seem to be related, they occur each time I hit compile

              d8bb8d4e-e759-4197-9890-1a2c480bc0c1-image.png

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

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

                I've narrowed the issue down to this commit - https://github.com/christophhart/HISE/commit/00175473082c61c640732e37f6ee1fe453406d90

                I'll see if I can find a fix. @ustk Does the problem you're having with the snippet browser occur before this commit?

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

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

                  Ok this PR seems to fix the issue for me - https://github.com/christophhart/HISE/pull/634

                  HISE was resaving all external script files on compile, even if those files no longer existed on disk. I've modified it now to skip saving such files and remove them from the internal file list.

                  I'm not sure if this solves the issue I had when switching projects, but hopefully it does. If not I'll look into it more.

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

                  ustkU clevername27C 2 Replies Last reply Reply Quote 4
                  • ustkU
                    ustk @d.healey
                    last edited by

                    @d-healey Well I don't remember when it first happened, but I'll try your fix asap!

                    Can't help pressing F5 in the forum...

                    d.healeyD 2 Replies Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @ustk
                      last edited by

                      @ustk Cool, let me know if it works.

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

                      1 Reply Last reply Reply Quote 0
                      • clevername27C
                        clevername27 @d.healey
                        last edited by

                        @d-healey Nicely done.

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

                          @ustk said in HISE keeps recreating files I've deleted - or from different projects/snippets:

                          @d-healey Well I don't remember when it first happened, but I'll try your fix asap!

                          Did you try it? I'm seeing my files being overwritten by other projects still.

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

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

                          27

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.8k

                          Posts