Grooper 21.00.0082 is available as of 12-12-2023! Check the  Downloads Discussion  for the release notes and to get the latest version.
Grooper 23.00.0042 is available as of 03-22-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.1.0018 is available as of 04-15-2024! Check the  Downloads Discussion  for the release notes and to get the latest version.

Cannot import archive from a different version than what I have currently.

kylesouzakylesouza Posts: 156 ✭✭✭
edited October 2019 in The Astronauts (Q&A)
Maybe someone sent me an archive, maybe I made a backup in a while ago and have now updated my Grooper... Whatever the reason, I have a zip file with models and whatnot in it that I need.  So I go to import it:  Right-click on your Grooper Root  -->  Import  -->  Compressed Archive  -->  Select zip file  -->  Receive Error Message
Error Message: [Path] is not a valid Grooper ZIP archive: Archive base Version (2.70) does not match the Active Repository Base Version (2.72).
Kyle Souza
Data Wizard
P&P Oil & Gas Solutions

Best Answer

  • kylesouzakylesouza Posts: 156 ✭✭✭
    Answer ✓
    This is a fun one, it can be a little "dangerous", but still fun.
    Unzip the archive, locate the ArchiveInfo.json file.  Edit it (Notepad, Notepad++, Visual Studio, etc.). It will have something along the lines of:
    {"ArchiveDate":"\/Date(1542295991770-0600)\/","Author":"Ryan Delk","Description":"","NodeContent":"Content Model : Invoices;\u000d\u000aBatch : Invoices Batch;\u000d\u000aFolder : Invoices Process;\u000d\u000aIP Profile : Invoices IP Profile;\u000d\u000aSeparation Profile : Invoices Separation;\u000d\u000a","Publisher":"BIS","SourceRepositoryId":"ed7d03c4-8e41-4711-9cfa-a1fe28bec99f","SourceRepositoryName":"ACE Architect 01","Version":{"_Build":21,"_Major":2,"_Minor":70,"_Revision":-1}}

    Locate the version info at the end of the file, and change it to match your version.  You can move it forwards (2.70 to 2.72) or backwards (2.80 to 2.72 for example), but backwards is even more risky than forwards.  Whats the risk?  Different versions may have some incompatibility, for example, if the archive is utilizing a functiont hat has been depreciated, upgrade, or replaced, it may not work any more, and could (but probably won't) crash the system.
    So now you have:
    {"ArchiveDate":"\/Date(1542295991770-0600)\/","Author":"Ryan Delk","Description":"","NodeContent":"Content Model : Invoices;\u000d\u000aBatch : Invoices Batch;\u000d\u000aFolder : Invoices Process;\u000d\u000aIP Profile : Invoices IP Profile;\u000d\u000aSeparation Profile : Invoices Separation;\u000d\u000a","Publisher":"BIS","SourceRepositoryId":"ed7d03c4-8e41-4711-9cfa-a1fe28bec99f","SourceRepositoryName":"ACE Architect 01","Version":{"_Build":21,"_Major":2,"_Minor":72,"_Revision":-1}}
    *Emphasis added to highlight change.

    I did it, it worked fine for me, but every case is different

    Enjoy!
    Kyle Souza
    Data Wizard
    P&P Oil & Gas Solutions
Sign In or Register to comment.