Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Update fails on directories with non-ascii characters #3338

Open
6 tasks done
s-bernstein opened this issue Feb 17, 2025 · 0 comments
Open
6 tasks done

[Bug]: Update fails on directories with non-ascii characters #3338

s-bernstein opened this issue Feb 17, 2025 · 0 comments
Labels

Comments

@s-bernstein
Copy link

Checks before filing an issue

Mattermost Desktop Version

5.10.2

Operating System

Windows 10 x64

Mattermost Server Version

EE 9.11.5

Steps to reproduce

  • Have a user directory containing non-ascii characters, p. ex. c:\Users\Sören Bernstein\
  • Accept in-app Update message
  • Wait for it to complete download and try to update
  • Get Error-Message
    Image
  • App closes / crashes

Expected behavior

Finding the correctly downloaded file and update the app

Observed behavior

Got Error-Message, App closes / crashes afterwards. On restart, no update was performed.

Log Output

[2025-02-17 08:12:21.908] [error] Logger Log level set to: info
[2025-02-17 08:12:22.067] [error] Logger Log level set to: error
[2025-02-17 08:25:40.615] [error] [UpdateManager] Cannot download differentially, fallback to full download: Error: sha512 checksum mismatch, expected 76bH/sPjBguqdh07fJ2khBRw4gO1Utunrp2mKjNr2JDRz0RHLMc8QIjborhDp7sFBvIPwXA2NUh1RnURxTxqSw==, got WDXss7JCAitCk4zEigrtT7ILVqevrfYo1bRl9ueSKO7zJ6OlMvncz9EP8alu/PJ4/KiAmZ+5eaNZlMCCjQ8Cxw==
    at t.newError (C:\Users\Sören Bernstein\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:948842)
    at w.validate (C:\Users\Sören Bernstein\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:955388)
    at WriteStream.<anonymous> (C:\Users\Sören Bernstein\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1023557)
    at WriteStream.emit (node:events:519:28)
    at emitCloseNT (node:internal/streams/destroy:147:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
[2025-02-17 08:26:04.357] [error] [UpdateManager] Error: Error: LiteralPath of C:\Users\S�ren Bernstein\AppData\Local\mattermost-desktop-updater\pending\temp-mattermost-desktop-setup-5.11.0-win.exe is different than C:\Users\Sören Bernstein\AppData\Local\mattermost-desktop-updater\pending\temp-mattermost-desktop-setup-5.11.0-win.exe
    at C:\Users\Sören Bernstein\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1051190
    at ChildProcess.exithandler (node:child_process:414:7)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2025-02-17 08:26:04.358] [error] [UpdateManager] There was an error while trying to update Error: LiteralPath of C:\Users\S�ren Bernstein\AppData\Local\mattermost-desktop-updater\pending\temp-mattermost-desktop-setup-5.11.0-win.exe is different than C:\Users\Sören Bernstein\AppData\Local\mattermost-desktop-updater\pending\temp-mattermost-desktop-setup-5.11.0-win.exe
    at C:\Users\Sören Bernstein\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1051190
    at ChildProcess.exithandler (node:child_process:414:7)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)

Additional Information

Update worked a few versions ago flawlessly. Seems to be some kind of encoding error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant