HISE Logo Forum
    • Categories
    • Register
    • Login

    Amend the "Something went wrong during extraction" message

    Scheduled Pinned Locked Moved Feature Requests
    3 Posts 2 Posters 123 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.
    • LindonL
      Lindon
      last edited by

      So I had a user who, during the sample extraction process targeted C:/Program Files as their sample destination.

      This failed with the message :

      "Something went wrong during execution" - which isn't really much help - if we are getting a permissions failure - can we please report that?

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon I always do a check before extracting to make sure the user has permission.

            if (!dir.hasWriteAccess())
                return MessageHandler.showMessage("Unwritable Directory", "You do not have write permission for the selected directory. Please choose a different one.", 1);
        

        MessageHandler is a custom namespace I'm using.

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

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

          @d-healey said in Amend the "Something went wrong during extraction" message:

          @Lindon I always do a check before extracting to make sure the user has permission.

              if (!dir.hasWriteAccess())
                  return MessageHandler.showMessage("Unwritable Directory", "You do not have write permission for the selected directory. Please choose a different one.", 1);
          

          MessageHandler is a custom namespace I'm using.

          yeah nice - but here the application is using the default extraction system. Not my nice (I will check before you do it) installer.....

          HISE Development for hire.
          www.channelrobot.com

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

          16

          Online

          1.7k

          Users

          11.8k

          Topics

          102.4k

          Posts