nheko icon indicating copy to clipboard operation
nheko copied to clipboard

Windows client crashes if user named with non latin symbols

Open nihirash opened this issue 6 years ago • 6 comments

System:

  • Nheko version: nheko-v0.6.2
  • Installation method: official installer
  • System: Win 10

Actual behavior

Crashes on start

Expected behavior

Runs correctly

Steps to reproduce

Just use username with non latin symbols. For example "Обычный пользователь"

Logs

Doesn't created. Crashed on trying to create file.

nihirash avatar Oct 08 '18 19:10 nihirash

I can't reproduce. Does this also happen in v0.6.1?

mujx avatar Oct 09 '18 00:10 mujx

I'll try to record video how I get this bug today.

nihirash avatar Oct 09 '18 15:10 nihirash

0.6.2 start - can't create log file https://giphy.com/gifs/X6aDHBcSYyiFdSN4cL

nihirash avatar Oct 10 '18 18:10 nihirash

Version 0.6.1 have same issue

nihirash avatar Oct 10 '18 18:10 nihirash

@nihirash Could you paste the output of the console?

mujx avatar Oct 10 '18 18:10 mujx

Log initialization failed: Failed opening file C:/Users/╨б╨░╤И╨░ ╨╕ ╨в╨░╨╜╤П/AppData/Local/nheko/nheko/cache/nheko.log for writing: No such file or directory

nihirash avatar Oct 10 '18 20:10 nihirash