B16f00t / whapa

WhatsApp Parser Toolset v1.59
1.1k stars 258 forks source link

The 'settings.cfg' file is missing or corrupt! #130

Closed floviolleau closed 2 years ago

floviolleau commented 3 years ago

Hi,

Thanks for your great tool.

I want to have an HTML view of all my messages with media files included like with this great tool: https://github.com/GjjvdBurg/signal2html.

I successfully downloaded from Google Drive by using WhaGoDri. Because I'm rooted, I was able to get my cipher and wa.db from my Android. I successfully decrypted my msgstore db by using WhaCipher. Now I'm trying to generate an archive chat list and I have an issue when using WhaPa.

I click on that button: image

Cli ran

python3 /home/test/whatsapp-extractor/libs/whapa.py -i 3 -wa /home/test/whatsapp-extractor/my-backup/files/Databases/msgstore.db /home/test/whatsapp-extractor/my-backup/files/Databases/wa.db -r EN

Result

     __      __.__          __________         
    /  \    /  \  |__ _____ \______   \_____   
    \   \/\/   /  |  \\__  \ |     ___/\__  \  
     \        /|   Y  \/ __ \|    |     / __ \_
      \__/\  / |___|  (____  /____|    (____  /
           \/       \/     \/               \/ 
    ------------- Whatsapp Parser -------------

wa.db connected
msgstore.db connected

The 'settings.cfg' file is missing or corrupt!
Actives chat list
[...]

I don't understand why this file is missing because when I click on the setting button from the app, it opens and I can edit it.

For info, I'm on Linux: Linux linux-laptop 5.8.0-59-generic #66-Ubuntu SMP Thu Jun 17 00:46:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description:    Ubuntu 20.10
Release:    20.10
Codename:   groovy

I installed the app under a virtual env python3

Thanks a lot!

B16f00t commented 3 years ago

It may be a bug of the last update that worked with partial paths and now they are full ones, I will check it and let you know.

B16f00t commented 3 years ago

Give a try the latest version 1.55

floviolleau commented 3 years ago

Works very fine.

Thanks for the quick fix.

Take care

Aridetta commented 3 years ago

Shows this Error:

$ python whapa-gui.py Traceback (most recent call last): File "whapa-gui.py", line 1444, in with open(cfg_file, 'w') as cfg: FileNotFoundError: [Errno 2] No such file or directory: '\cygdrive\c\Users\Lavern\Downloads\Master\whapa-master\cfg\settings.cfg'

How do I fix it?

B16f00t commented 3 years ago

Tell me your Os and python version

Aridetta commented 3 years ago

OS: Windows 10 Python Version: 3.8.10

Ibe09 commented 3 years ago

me aparece la carpeta sin el settings.cfg, como lo obtengo? espero respuesta, gracias

floviolleau commented 3 years ago

me aparece la carpeta sin el settings.cfg, como lo obtengo? espero respuesta, gracias

Hi,

If you want help from the community, please use English ;)

Thanks

Ibe09 commented 3 years ago

me aparece la carpeta sin el settings.cfg, como lo obtengo? espero respuesta, gracias

Hola,

Si desea ayuda de la comunidad, utilice el inglés;)

Gracias

ok, could you tell me how to get the file please

floviolleau commented 3 years ago

Hi,

I don't understand what you mean. You don't "get" the file. It is part of the repo in cfg folder.

B16f00t commented 3 years ago

I deleted the setting file because the program generated it at startup, so that there are no problems I have included it again.