Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add success text to PDF creation path #6

Open
alallier opened this issue May 19, 2023 · 0 comments
Open

Add success text to PDF creation path #6

alallier opened this issue May 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@alallier
Copy link
Owner

The end of the script prints the file location and then any fpdf2 warnings, which may make people think it's an error and didn't write the PDF

Example of current behavior

C:\Users\alallier\Documents\Mattermost-Export>python3 MMExport2PDF.py --auth=xyza -u=user -s=mattermost.com --t=Team
Channel Name
Total Messages:  76


./users\alallier\alallier.pdf

Font MPDFAA+Arial is missing the following glyphs:
meta NOT subset; don't know how to subset; dropped
meta NOT subset; don't know how to subset; dropped
meta NOT subset; don't know how to subset; dropped
TSIV NOT subset; don't know how to subset; dropped

Proposed behavior

C:\Users\alallier\Documents\Mattermost-Export>python3 MMExport2PDF.py --auth=xyza -u=user -s=mattermost.com --t=Team
Channel Name
Total Messages:  76

Warning: Font MPDFAA+Arial is missing the following glyphs:
meta NOT subset; don't know how to subset; dropped
meta NOT subset; don't know how to subset; dropped
meta NOT subset; don't know how to subset; dropped
TSIV NOT subset; don't know how to subset; dropped

Successfully wrote PDF to ./users\alallier\alallier.pdf
@alallier alallier added the enhancement New feature or request label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant