D4koon / WhatsappTray

Minimize Whatsapp Desktop-Client to Tray
GNU General Public License v3.0
388 stars 30 forks source link

Cyrillic symbols in paths #96

Closed DrBob2113 closed 3 years ago

DrBob2113 commented 3 years ago

The problem with cyrillic symbols persists... Log_2021-06-01_19#18#42.txt

D4koon commented 3 years ago

Can you please send me your appData.ini and a screenshot of the path like this:

image

This would help me to debug this Thank you

DrBob2113 commented 3 years ago

Try these

I guess Дарья will equal %u0414%u0430%u0440%u044C%u044F or something like that

Screenshot 2021-07-10 145705

[config] CLOSE_TO_TRAY=0 LAUNCH_ON_WINDOWS_STARTUP=0 START_MINIMIZED=0 SHOW_UNREAD_MESSAGES=0 CLOSE_TO_TRAY_WITH_ESCAPE=1 WHATSAPP_STARTPATH=%userStartmenuePrograms%\WhatsApp\WhatsApp.lnk WHATSAPP_ROAMING_DIRECTORY=C:\Users\Дарья\AppData\Roaming

D4koon commented 3 years ago

appData.zip Can replace your ini with this one? I gues this is a encoding problem The appData.ini must be utf-8 encoded

DrBob2113 commented 3 years ago

15:16:50.894 - WhatsappTray::WinMain: Starting WhatsappTray 1.7.1.0 in Release CompileConfiguration. 15:16:50.894 - WhatsappTray::WinMain: CloseToTray=0. 15:16:50.895 - WhatsAppApi::Init() - Using leveldb-directory:C:\Users\Дарья\AppData\Roaming\WhatsApp\IndexedDB\file__0.indexeddb.leveldb\ 15:16:50.903 - TrayManager::ctor() - Creating TrayManger. 15:16:50.903 - Error in mbsrtowcs(): 42 15:16:50.903 - WhatsappTray::StartWhatsapp: Starting WhatsApp from combinedPath:C:\Program Files (x86)\WhatsappTray\WhatsappTray.exe\WhatsApp\WhatsApp.lnk 15:16:50.903 - WhatsappTray::StartWhatsapp: Starting WhatsApp from canonical-path:'C:\Program Files (x86)\WhatsappTray\WhatsappTray.exe\WhatsApp\WhatsApp.lnk' 15:16:50.907 - WhatsappTray::StartWhatsapp: Resolved .lnk (Shortcut) to:'' 15:16:50.907 - WhatsappTray::StartWhatsapp: CreateProcess failed(87). 15:16:53.242 - WhatsappTray::WndProc: WM_DESTROY 15:16:53.242 - WhatsappTray::WndProc: QuitMessage posted.

D4koon commented 3 years ago

Yeah seems to work. I also see now that the problem lies in the automatic creation of the ini. I use a old api which does not support utf8 characters to get the path to roaming. I will release a fix for this soon

DrBob2113 commented 3 years ago

It looked to me like it did not work - the program failed to start... I'll wait for the fix - the computer with the problem requires a remote access connection to experiment, it is in another town ;-) If I lnew it will be such a problem - I wouldn't name the user with cyrillс characters....

D4koon commented 3 years ago

Can you please try the new release: https://github.com/D4koon/WhatsappTray/releases/tag/v1.7.2

DrBob2113 commented 3 years ago

Looks like working