Trouble with mercurial to git migration

My first experience with Linx Designer as Franz posted a how-to on Atlassian dealing with migration of repos from hg to git. I followed the git migration steps but when I try to open gitmigration.lsoz, I get this:

NuGet.Protocol.Core.Types.FatalProtocolException: The feed ‘http://nuget.twenty57.com/linx-plugins/api/v3/index.json [http://nuget.twenty57.com/linx-plugins/api/v3/index.json]’ lists package ‘twenty57.linx.components.compression.1.7.193’ but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. —> NuGet.Protocol.PackageNotFoundProtocolException: Unable to find package ‘twenty57.linx.components.compression.1.7.193’

Any ideas?

Rick

Hi Rick,
we will take a look and get back to you shortly.
Franz

Hi @rick,

From the looks of it , its a plugin install error where Linx failed to download the version required for certain plugins, specifically the ‘Compression’ Plugin.

If you open your Linx designer (not the solution), and create a brand new solution, are you able to add the ‘Compression’ plugin to your solution?

Hi Rick,
Thanks for trying Linx. I am sorry you are having to deal with an error straight away.
As Ronan already mentioned, the problem is related to the plugins download from NuGet.

Our technical team is suggesting you try clearing the NuGet cache. We reproduced the error and clearing the NuGet cache worked in our case.

Here are the steps to accomplish that:

  • Download the latest version of NuGet:
    https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
  • From the command-line, run the following command (in the directory where you downloaded NuGet.exe):
    nuget.exe locals all -clear
  • Delete file “%appdata%\Twenty57\Linx Designer 5\ServerPackages.json”
  • Delete folder “%appdata%\Twenty57\Linx Designer 5\Packages”

Please let us know if this worked for you. Below are some references we found related to the error.
Franz

Hi Franz,

Thanks again for your suggestions - I followed them with no luck. Sorry to say your conversion approach is a bit too opaque for me to work through. I am manually converting my hg repos to git as best as I can.

FWIW: new error message:

NuGet.Protocol.Core.Types.FatalProtocolException: The feed ‘http://nuget.twenty57.com/linx-plugins/api/v3/index.json’ lists package ‘twenty57.linx.components.utilities.1.15.1’ but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. —> NuGet.Protocol.PackageNotFoundProtocolException: Unable to find package ‘twenty57.linx.components.utilities.1.15.1’.

Also from “%appdata%\Twenty57\Linx Designer 5\Log”

Error: System.IO.InvalidDataException: Central Directory corrupt. —> System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
— End of inner exception stack trace —
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at NuGet.Protocol.RemotePackageArchiveDownloader.GetPackageReader()

Best,
Rick

Hi @rick,

Upon some further investigation, this could be related to a TLS version issue on Windows 7. Unfortunately we don’t have a Windows 7 machine to test on as Microsoft has stopped supporting it.

However, you could try to enable TLS 1.2 by following these instructions

Let me know if you manage or need anything else.