File Upload Errors
Unsupported File Format
Solution: The application only accepts the following file formats:.csv- Comma-separated values.xls- Excel 97-2003 format.xlsx- Excel 2007+ format
No File Selected Error
Solution:- Click the “Selecionar arquivo” button on the upload page
- Choose your Auvo CSV/Excel file from your computer
- Verify the filename appears next to the button before clicking “Processar Relatório”
Empty File or Missing Columns
Solution: The application expects files with these specific columns after skipping 5 header rows:DataClienteEnderecoOS DigitalRelato
The application automatically skips the first 5 rows of your file (app.py:38, app.py:42). Ensure your Auvo export follows this format.
- Open the CSV/Excel file in a spreadsheet application
- Check that row 6 contains the column headers listed above
- Ensure the
Relatocolumn exists and contains task descriptions
Dependency and Installation Issues
WeasyPrint Installation Problems
Solution for Windows:- Install GTK3 runtime from: https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer
- Restart your terminal/command prompt
- Reinstall WeasyPrint:
Python Version Incompatibility
Solution:- Check your Python version:
- If you have Python < 3.10, install a newer version from https://www.python.org/downloads/
- Create a new virtual environment with the correct version:
Missing Dependencies
Solution:- Ensure your virtual environment is activated
- Install all dependencies from requirements.txt:
- Verify critical packages are installed:
- Flask==3.1.2
- pandas==2.3.2
- weasyprint==66.0
- openpyxl==3.1.5
CSV Format and Data Issues
Pandas Read Errors
Solution:Fix encoding issues
Fix encoding issues
- Open the CSV file in a text editor that shows encoding (like Notepad++ or VS Code)
- Save the file with UTF-8 encoding
- Re-upload to the application
Fix delimiter issues
Fix delimiter issues
If your CSV uses semicolons (;) instead of commas (,):
- Open the file in Excel
- Go to File → Save As
- Choose “CSV (Comma delimited) (*.csv)”
- Save and re-upload
Fix corrupted data
Fix corrupted data
If you see data corruption errors:
- Export a fresh copy from Auvo
- Don’t manually edit the CSV file before uploading
- Ensure the file download completed successfully (check file size)
No Results Found
Issue: File processes successfully but shows 0 tarefas encontradasThis means none of the records in the
Relato column contain your configured keywords.- Go to the Configurações page in the application
- Review your current keywords
- Add keywords that match the terminology used in your Auvo reports
- Keywords are case-insensitive and search for partial matches
- solicitar peça
- quebrado, quebrada, quebrados
- orçamento
- danificada, danificado, danificados, danificadas
- trocar cabo
- soldar
- trocar
- instalar
Excel Engine Errors
Solution:.xlsx files (app.py:42).
Session and Temporary File Issues
Results Expired Error
Solution: The application stores filtered results in temporary files using session data (app.py:145-152). Sessions can expire when:- Your browser session ends
- You clear browser cookies
- The server restarts
- You switch browsers or use incognito mode
- Return to the home page
- Upload your CSV/Excel file again
- Click “Processar Relatório”
- Download the results immediately
Temporary Files Accumulating
Issue: The
temp folder grows large over timeEach upload creates a temporary CSV file with a unique UUID filename (app.py:145).temp folder:
Missing SECRET_KEY Error
Solution:- Create a
.envfile in the project root directory - Generate a secure secret key:
- Copy the output to your
.envfile:
- Restart the application
The SECRET_KEY is required for Flask session management (app.py:15). Never commit this file to version control.
Browser and Display Issues
Table Not Displaying Correctly
Solution: Ensure JavaScript is enabled in your browser. The results table uses dynamic search functionality that requires JavaScript.Download Buttons Not Working
Solution:- Check your browser’s pop-up blocker settings
- Ensure downloads are not blocked for localhost
- Check browser console for JavaScript errors (F12 → Console tab)
Links in OS Digital Column Not Clickable
The
OS Digital column should contain clickable URLs (app.py:160).- Verify the URLs in your CSV start with
http://orhttps:// - The
criar_linksfunction only converts strings starting with “http” (app.py:28) - Update your Auvo export or source data to include complete URLs
Performance Issues
Slow Processing for Large Files
Solutions:- Split large exports into smaller date ranges in Auvo
- Increase available system RAM
- Process files during off-peak hours
- Close other applications to free up memory
PDF Generation Timeout
Solution:- Use Excel export instead for large datasets
- Filter results using more specific keywords to reduce row count
- Increase the Flask timeout in app.py if running in production
Getting Additional Help
If you encounter errors not covered in this guide:
- Check the terminal/console where you ran
python app.py - Look for error messages and stack traces
- Error logging is printed to stdout (app.py:175)
- Share the error message when seeking help