D4koon / WhatsappTray

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

Couldn't launch WhatsApp when special chars on path #71

Closed dgvives closed 3 years ago

dgvives commented 3 years ago

It fails to start WhatsApp when there is an special character on the path

Path is: C:\Users\DavidGarcía

Log attached:

10:36:05.491 - WhatsappTray::WinMain(): Starting WhatsappTray 1.6.1.0 in Release CompileConfiguration. 10:36:05.492 - WhatsAppApi::Init() - Using leveldb-directory:C:\Users\DavidGarc�a\AppData\Roaming\WhatsApp\IndexedDB\file__0.indexeddb.leveldb\ 10:36:05.492 - WhatsAppApi::Init() - Could not get the leveldb-directory! 10:36:13.518 - Hook> WhatsappTrayHook::DllMain: Attached hook.dll to ProcessID: 0x00002B38 10:36:13.519 - Hook> WhatsappTrayHook::DllMain: Filepath: 'C:\Program Files (x86)\WhatsappTray\WhatsappTray.exe' WhatsappTrayLoadLibraryTest: 'TRUE' 10:36:13.520 - Hook> WhatsappTrayHook::DllMain: Detected that this Attache was triggered by LoadLibrary() => Cancel further processing 10:36:13.522 - TrayManager::ctor() - Creating TrayManger. 10:36:13.522 - WhatsappTray::StartWhatsapp() - Starting WhatsApp from canonical-path:'C:\Users\DavidGarc?a\AppData\Local\WhatsApp\WhatsApp.exe' 10:36:13.522 - WhatsappTray::StartWhatsapp() - CreateProcess failed(2). 10:57:56.809 - WhatsappTray::WndProc() - WM_DESTROY 10:57:56.810 - Hook> WhatsappTrayHook::DllMain: Detach hook.dll from ProcessID: 0x00002B38 10:57:56.811 - WhatsappTray::WndProc() - QuitMessage posted.

ScottLangham commented 3 years ago

I get the same even with no special characters. Just did a default install. I just get a message box saying WhatsAppApi::Init() - Could not get the leveldb-directory!

09:44:28.410 - WhatsappTray::WinMain: Starting WhatsappTray 1.7.1.0 in Release CompileConfiguration. 09:44:28.410 - WhatsappTray::WinMain: CloseToTray=0. 09:44:28.411 - WhatsAppApi::Init() - Using leveldb-directory:C:\Users\scott.langham\AppData\Roaming\WhatsApp\IndexedDB\file__0.indexeddb.leveldb\ 09:44:28.411 - WhatsAppApi::Init() - Could not get the leveldb-directory! 09:44:30.473 - TrayManager::ctor() - Creating TrayManger. 09:44:30.474 - WhatsappTray::StartWhatsapp: Starting WhatsApp from canonical-path:'C:\Users\scott.langham\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\WhatsApp\WhatsApp.lnk' 09:44:30.492 - WhatsappTray::StartWhatsapp: Resolved .lnk (Shortcut) to:'' 09:44:30.492 - WhatsappTray::StartWhatsapp: CreateProcess failed(87). 09:44:31.224 - WhatsappTray::WndProc: WM_DESTROY 09:44:31.225 - WhatsappTray::WndProc: QuitMessage posted.