Closed JRD8 closed 2 years ago
Hi @JRD8,
Can you show me the code of your app_test.py
file?
Certainly. Apologies in advance if any typos - although I don’t believe so.
On Mar 29, 2021, at 4:32 PM, M.Yasoob Ullah Khalid ☺ @.***> wrote:
Hi @JRD8 https://github.com/JRD8,
Can you show me the code of your app_test.py file?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yasoob/practical-python-projects/issues/28#issuecomment-809692056, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABENU5M6VRU2D35HM4HDCI3TGDPUZANCNFSM4Z6KWZOA.
Location Within the Book
Hint: Page numbers change all the time. The best way to report an issue is by chapter and section numbers.
Description
Cheers and love this book so far. Have been working through the Invoice Generator project, no problem, At last step, running app.py works fine and can verify in browser. However, once creating and running app_test.py, there's some sort of new connection problem "Failed to establish a new connection: [Errno 61] Connection refused')" and won't generate the PDF invoice. I have also attached screenshot of terminal error report.
Have checked app_test.py code and is identical to you code same in book.
Wondering if there's a solution to this?
Possible Solutions
Have Googled this error and appears that it could be firewall related. However, app.py is running fine through the firewall, while app_test.py does not. Please let me know thoughts. Thanks. - JRD
Your full name so I can provide accurate credit within the book James Diener