[GH-ISSUE #130] The 'settings.cfg' file is missing or corrupt! #116

Closed
opened 2026-02-25 20:34:41 +03:00 by kerem · 11 comments
Owner

Originally created by @floviolleau on GitHub (Jul 26, 2021).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/130

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!

Originally created by @floviolleau on GitHub (Jul 26, 2021). Original GitHub issue: https://github.com/B16f00t/whapa/issues/130 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](https://user-images.githubusercontent.com/5442973/127067379-21d9a618-ff92-4ccf-99e1-9c6ba5a48165.png) 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!
kerem closed this issue 2026-02-25 20:34:41 +03:00
Author
Owner

@B16f00t commented on GitHub (Jul 29, 2021):

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.

<!-- gh-comment-id:889332562 --> @B16f00t commented on GitHub (Jul 29, 2021): 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.
Author
Owner

@B16f00t commented on GitHub (Aug 2, 2021):

Give a try the latest version 1.55

<!-- gh-comment-id:891145416 --> @B16f00t commented on GitHub (Aug 2, 2021): Give a try the latest version 1.55
Author
Owner

@floviolleau commented on GitHub (Aug 2, 2021):

Works very fine.

Thanks for the quick fix.

Take care

<!-- gh-comment-id:891395894 --> @floviolleau commented on GitHub (Aug 2, 2021): Works very fine. Thanks for the quick fix. Take care
Author
Owner

@Aridetta commented on GitHub (Aug 3, 2021):

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?

<!-- gh-comment-id:891993612 --> @Aridetta commented on GitHub (Aug 3, 2021): Shows this Error: $ python whapa-gui.py Traceback (most recent call last): File "whapa-gui.py", line 1444, in <module> 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?
Author
Owner

@B16f00t commented on GitHub (Aug 3, 2021):

Tell me your Os and python version

<!-- gh-comment-id:892114244 --> @B16f00t commented on GitHub (Aug 3, 2021): Tell me your Os and python version
Author
Owner

@Aridetta commented on GitHub (Aug 3, 2021):

OS: Windows 10
Python Version: 3.8.10

<!-- gh-comment-id:892120666 --> @Aridetta commented on GitHub (Aug 3, 2021): OS: Windows 10 Python Version: 3.8.10
Author
Owner

@Ibe09 commented on GitHub (Aug 5, 2021):

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

<!-- gh-comment-id:893884771 --> @Ibe09 commented on GitHub (Aug 5, 2021): me aparece la carpeta sin el settings.cfg, como lo obtengo? espero respuesta, gracias
Author
Owner

@floviolleau commented on GitHub (Aug 5, 2021):

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

<!-- gh-comment-id:893890546 --> @floviolleau commented on GitHub (Aug 5, 2021): > 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
Author
Owner

@Ibe09 commented on GitHub (Aug 5, 2021):

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

<!-- gh-comment-id:893898346 --> @Ibe09 commented on GitHub (Aug 5, 2021): > > 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
Author
Owner

@floviolleau commented on GitHub (Aug 8, 2021):

Hi,

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

<!-- gh-comment-id:894874902 --> @floviolleau commented on GitHub (Aug 8, 2021): Hi, I don't understand what you mean. You don't "get" the file. It is part of the repo in cfg folder.
Author
Owner

@B16f00t commented on GitHub (Aug 23, 2021):

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

<!-- gh-comment-id:903539466 --> @B16f00t commented on GitHub (Aug 23, 2021): I deleted the setting file because the program generated it at startup, so that there are no problems I have included it again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#116
No description provided.