Bug Description:
Learn to crochet email with attachment working OK in development environment but failed to work in production environment.
Actions to Resolve:
Added print statements and try/except block into function to establish root cause of issue. The following error was returned:
Trying to create path returned this error: This backend doesn't support absolute paths.
The issue related to creation of path for base64 encoding of Path object. Found solution on Stack Overflow which resolved the issue.
Epic: Epic:Fine tuning site styling, code and admin #43
Bug Description: Learn to crochet email with attachment working OK in development environment but failed to work in production environment.
Actions to Resolve: Added print statements and try/except block into function to establish root cause of issue. The following error was returned:
Trying to create path returned this error: This backend doesn't support absolute paths.
The issue related to creation of path for base64 encoding of Path object. Found solution on Stack Overflow which resolved the issue.