HISE Logo Forum
    • Categories
    • Register
    • Login

    Unzipping in the plugin crashing the browser

    Scheduled Pinned Locked Moved General Questions
    46 Posts 4 Posters 1.6k 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 @Lindon
      last edited by

      @Lindon Does it work in a standalone build? Let's rule out the DAW.

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

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @d.healey
        last edited by

        @d-healey well its happening in every DAW - Reaper, Live, Waveform...

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon When we get to the debugger stage it will be easier if the problem is happening in a standalone build.

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

          LindonL 2 Replies Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey well tis looking more and more likely to be a file permissions thing...everything is working fine right up to the unzip command, how would I give the plugin permission to write to disk?

            Meanwhile Im off to do this stand alone build...

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon You shouldn't need to do anything special, as long as it's writing to a place the user has permission to write to it should work. You can use File.hasWriteAccess() to check before attempting the write.

              As a test try extracting everything to the downloads folder, if it crashes then it's probably not a permission issue.

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

              1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey said in Unzipping in the plugin crashing the browser:

                @Lindon When we get to the debugger stage it will be easier if the problem is happening in a standalone build.

                Yep the stand alone is crashing when it gets to the unzipping part...

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon Good, we have an easier task of debugging. Now try extracting everything to a folder you know has write permission.

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

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey ok trying the user download folder

                    HISE Development for hire.
                    www.channelrobot.com

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @Lindon
                      last edited by

                      @Lindon nope crash there too....

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon Aha so it's something more complicated. Can you share your download/extraction code with me?

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

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @d.healey
                          last edited by

                          okay well more investigation and no resolution - I'm now a bit lost about what to do....

                          HISE Development for hire.
                          www.channelrobot.com

                          DanHD 1 Reply Last reply Reply Quote 0
                          • DanHD
                            DanH @Lindon
                            last edited by

                            @Lindon did you make a debug standalone?

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

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @DanH
                              last edited by

                              @DanH said in Unzipping in the plugin crashing the browser:

                              @Lindon did you make a debug standalone?

                              nope _ Im not entirely clear how I go about doing that...

                              HISE Development for hire.
                              www.channelrobot.com

                              DanHD 1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @Lindon
                                last edited by DanH

                                @Lindon open the autogeneratedProject in your build folder so you can open the project in Xcode, then choose to build in Running rather than Profiling.

                                When it's built (it should say debug after the app name) run it, then make it crash and look at the crash report. Post findings here...

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

                                LindonL 1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @DanH
                                  last edited by

                                  @DanH said in Unzipping in the plugin crashing the browser:

                                  @Lindon open the autogeneratedProject in your build folder so you can open the project in Xcode, then choose to build in Running rather than Profiling.

                                  When it's built (it should say debug after the app name) run it, then make it crash and look at the crash report. Post findings here...

                                  thanks well Im on windows but Im sure its similar...

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @Lindon
                                    last edited by

                                    @Lindon I guess, not so sure where the crash reports are and how readable they are...

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

                                    LindonL 1 Reply Last reply Reply Quote 0
                                    • LindonL
                                      Lindon @DanH
                                      last edited by

                                      @DanH said in Unzipping in the plugin crashing the browser:

                                      @Lindon I guess, not so sure where the crash reports are and how readable they are...

                                      yeah me neither - I'v opened projucer loaded the project into Visual Studio selected

                                      Debug - started it - the app has opened, I've run it and its crashed (eventually) but I have no idea what im looking at now...

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @Lindon
                                        last edited by Lindon

                                        @Lindon trying it again and now nothing even starts...can anyone give me a clue how to start debugging this with Visual Studio?

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        DanHD 1 Reply Last reply Reply Quote 0
                                        • DanHD
                                          DanH @Lindon
                                          last edited by

                                          @Lindon what happens if you make it crash while it's actually open in VS? It shouldn't crash but might point you in the right direction?

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

                                          LindonL 1 Reply Last reply Reply Quote 0
                                          • LindonL
                                            Lindon @DanH
                                            last edited by Lindon

                                            @DanH it wont even open in VS!!!

                                            I open projucer File>Save Project and open in IDE

                                            VS opens, I select Debug>Start Debugging(F5)

                                            I get thisL:
                                            8fa59a9d-0e0e-435c-8f4c-560d2345f25d-image.png

                                            No sign of the app actually starting..

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            47

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts