Some parts of this article have been written with AI. Be aware that AI can make mistakes.
Applies to : Vista for Linux Vista for Windows

Error 3031 - The downloaded file is not a valid shape library.

Symptoms

You encounter the following error message: "[3031] The downloaded file is not a valid shape library." when downloading or updating a shape library in the shape libraries manager (Tools > Manage shape libraries).

Causes

The file was downloaded, but it is not a valid shape library. A shape library must be a ZIP file. This can happen if:

  • The file on the repository is corrupted or is not a ZIP file.
  • The download was altered by a proxy, a captive portal or a security software.
  • The repository index references a file that is not a ZIP file.

Solutions

  1. Retry the download.
  2. If you are on a public or corporate network that requires signing in through a web page, sign in and retry.
  3. If the error always occurs for the same library, contact the repository owner.
  4. If you manage the repository, check that the library file is a valid ZIP archive and that its path in index.json ends with .zip.