This page answers the most common questions about setting up and using Wert App. If you’re experiencing a problem at startup, with login, or with data not displaying as expected, start here.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lucavallini/wert-app/llms.txt
Use this file to discover all available pages before exploring further.
The app crashes on startup — what should I check?
The app crashes on startup — what should I check?
passwordBDD.txtis missing or in the wrong location. The file must exist in the project root (the same directory asmain.py). If it is missing,conexion.pywill raise aFileNotFoundErrorbefore the app window opens.- The password in
passwordBDD.txtis incorrect. If the password doesn’t match the MySQL root password, the connection will be refused. - MySQL is not running. The app connects to MySQL at startup via
setTables(). Make sure your MySQL service is active before launching the app. - The
registro_usuariosdatabase does not exist. The app creates its tables automatically, but it does not create the database. You must create it manually first. See the next question for the SQL command.
How do I create the MySQL database?
How do I create the MySQL database?
main.py for the first time, connect to your MySQL instance and run:usuarios and notas tables on its own the first time it starts.Why does login fail even with the correct credentials?
Why does login fail even with the correct credentials?
- Passwords are stored as plain text. There is no hashing. The value stored at registration is compared directly against what you enter at login.
- Leading and trailing whitespace is stripped. Both the username and password fields call
.strip()before being sent to the database, so accidental spaces won’t cause a mismatch. - The user account may not exist. Use a MySQL client to verify the user exists in the
usuariostable, or try registering again if registration previously failed silently.
Can I change the MySQL host, user, or port?
Can I change the MySQL host, user, or port?
database/conexion.py. To use a different host, user, or port, open that file and edit the parameters in the getConexion function directly:Why are currency rates sometimes unavailable?
Why are currency rates sometimes unavailable?
What does 'Dato no disponible' mean in economic data?
What does 'Dato no disponible' mean in economic data?
null for a specific country, indicator, and year combination. Not all indicators have data for every country and year.The format_eco_data method in api/world_bank_api.py handles this case explicitly:Can two users have notes with the same title?
Can two users have notes with the same title?
notas table enforces a UNIQUE constraint on the combination of id (the user’s ID) and titulo (the note title):What is the minimum password length?
What is the minimum password length?
modules/logica_register.py before the registration request is sent to the database:password column is defined as VARCHAR(255).How are the 5 most recent data points selected for economic indicators?
How are the 5 most recent data points selected for economic indicators?
WorldBankAPI.get_eco_info method passes per_page=5 as a query parameter when calling the World Bank API:Is the app available for Windows, macOS, and Linux?
Is the app available for Windows, macOS, and Linux?
- Python 3
- MySQL Server running locally
- The Python dependencies installed (PyQt5, mysql-connector-python, requests)