D4koon / WhatsappTray

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

Error when launching Whatsapptray #37

Closed eranrose closed 5 years ago

eranrose commented 5 years ago

I get an error starting whatsapptray:

WhatsAppApi::Init() - Could not get the leveldb-directory!

I click on OK and it starts Whatsapp.

This is the log file start: WhatsappTray::WinMain() - Starting WhatsappTray 1.4.3.0 in Release CompileConfiguration. WhatsAppApi::Init() - Using leveldb-directory:C:\Users\xxxxx\AppData\Roaming\WhatsApp\IndexedDB\file0.indexeddb.leveldb\ WhatsAppApi::Init() - Could not get the leveldb-directory! WhatsappTray::startWhatsapp() - Starting WhatsApp from canonical-path:'C:\Users\xxxxx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\WhatsApp\WhatsApp.lnk' WhatsappTray::startWhatsapp() - Filepath is: 'C:\Program Files\WindowsApps\5319275A.WhatsAppDesktop_0.3.2276.0_x64cv1g1gvanyjgm\app\WhatsApp.exe' WhatsappTray::startWhatsapp() - Found match.

(xxxxx replaces the user's name)

Thanks

D4koon commented 5 years ago

Hi,

do you use WhatsApp from the windows-appstore? I never tested it with this. But maybe there is also a IndexedDB folder somewhere for this version. Then you could adjust the WHATSAPP_ROAMING_DIRECTORY-setting in the appData.ini from WhatsAppTray.

eranrose commented 5 years ago

Yes , I am using the store version. I found the roaming directory at C:\Users\xxxxx\AppData\Local\Packages\5319275A.WhatsAppDesktop_cv1g1gvanyjgm\LocalCache\Roaming\ It's working well now. Thanks

Mangraviti commented 3 years ago

Hi,

do you use WhatsApp from the windows-appstore? I never tested it with this. But maybe there is also a IndexedDB folder somewhere for this version. Then you could adjust the WHATSAPP_ROAMING_DIRECTORY-setting in the appData.ini from WhatsAppTray.

Such obvious thing and it went completely over my head. Thanks for the tip, sorted it here by being reminded to read the error message in full. Lol

eranrose commented 3 years ago

Now with version 1.7.1.0 and Whatsapp desktop from Microsoft store, it cannot launch Whatsapp. I tried to give the correct path to Whatsapp tray, but it has no permission to start the program.

FishingSoup commented 2 years ago

works atm with :

WhatsAppTray 1.9.0.0 WhatsApp Desktop from MS-Store 2.2226.6 Windows 11 Pro 22H2 22621.450

in appdate.ini

WHATSAPP_STARTPATH=C:\Program Files\WindowsApps\5319275A.WhatsAppDesktop_2.2226.6.0_x64__cv1g1gvanyjgm\app\WhatsApp.exe WHATSAPP_ROAMING_DIRECTORY=%USERNAME%\AppData\Local\Packages\5319275A.WhatsAppDesktop_cv1g1gvanyjgm\LocalCache\Roaming