rfcx / arbimon-uploader

Desktop application for ingesting audio to RFCx platform
Apache License 2.0
0 stars 0 forks source link

Uploader - fix window build #210

Closed koonchaya closed 3 months ago

koonchaya commented 5 months ago

During the tests for the Windows uploader, we found that some of the test cases were failed. The user cannot see the Windows uploader popup with the latest version of Uploader App.

Details: Hi guys! I’ve got a feedback related to auto-update windows version of Uploader from Noon, Art and Frongs. Noon has successful result, Art and Frongs have a problem with updating Windows version, and these issues are different: Art’s squirrel file log rfcx-ingest-1.5.6-delta.nupkg- File contains corrupted data 2024-03-12 23:23:48> CheckForUpdateImpl: Downloading RELEASES file from https://ingest.rfcx.org/update/win32_x64/1.5.5 2024-03-12 23:23:49> FileDownloader: Downloading url: https://ingest.rfcx.org/update/win32_x64/1.5.5/RELEASES?id=rfcx-ingest&localVersion=1.5.5&arch=amd64 2024-03-12 23:23:52> UpdateInfo: Couldn't get release notes for:rfcx-ingest-1.5.6-delta.nupkg: System.IO.FileFormatException: File contains corrupted data. at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.FindPosition(Stream archiveStream) at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.SeekableLoad(ZipIOBlockManager blockManager) at MS.Internal.IO.Zip.ZipArchive..ctor(Stream archiveStream, FileMode mode, FileAccess access, Boolean streaming, Boolean ownStream) at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming) at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming) at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming) at System.IO.Packaging.Package.Open(Stream stream) at NuGet.ZipPackage.EnsureManifest() at NuGet.ZipPackage..ctor(String filePath, Boolean enableCaching) at Squirrel.ReleaseEntry.GetReleaseNotes(String packageDirectory) at Squirrel.UpdateInfo.b19_0(ReleaseEntry x) Frongs’s squirrel file log: rfcx-ingest-1.5.6-full.nupkg - Could not find file 'C:\Users\frong\AppData\Local\rfcx-ingest\packages\rfcx-ingest-1.5.6-full.nupkg 2024-03-13 00:38:01> FileDownloader: Downloading url: https://ingest.rfcx.org/update/win32_x64/1.5.1/RELEASES?id=rfcx-ingest&localVersion=1.5.1&arch=amd64 2024-03-13 00:38:04> UpdateInfo: Couldn't get release notes for:rfcx-ingest-1.5.6-full.nupkg: System.IO.FileNotFoundException: Could not find file 'C:\Users\frong\AppData\Local\rfcx-ingest\packages\rfcx-ingest-1.5.6-full.nupkg'. File name: 'C:\Users\frong\AppData\Local\rfcx-ingest\packages\rfcx-ingest-1.5.6-full.nupkg' at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at NuGet.ZipPackage.<>c__DisplayClass9_0.<.ctor>b0() at NuGet.ZipPackage.EnsureManifest() at NuGet.ZipPackage..ctor(String filePath, Boolean enableCaching) at Squirrel.ReleaseEntry.GetReleaseNotes(String packageDirectory) at Squirrel.UpdateInfo.b19_0(ReleaseEntry x) Finally, Frongs can see new styles, but Art still cannot see them. I guess we need to remove the tag and rebuild the version tomorrow morning

rassokhina-e commented 5 months ago

We have to test with a new version

koonchaya commented 5 months ago

@rassokhina-e Can you update the color in these places

Image

Image

koonchaya commented 5 months ago

@rassokhina-e what is the next step?

koonchaya commented 5 months ago

Zhenya will have to rebuild window version and test it.

rassokhina-e commented 4 months ago

The problem with the drivelist, the 9 version which we use is not supported now, the lates versions don't work with Node 14, I've tried to decrease the drivelist to 6 version. Lets check the build and auto-update then.

Image

naluinui commented 4 months ago

Related eng-support issue convo: https://rfcx.slack.com/archives/C03FD1WD02J/p1714663841690729

We'll need to keep the user posted once this is fixed

koonchaya commented 3 months ago

Created a new ticket to fix the auto update https://github.com/rfcx/arbimon-uploader/issues/221