[GH-ISSUE #26] Blog Generation Issue on latest updated code #355

Closed
opened 2026-03-13 20:05:37 +03:00 by kerem · 10 comments
Owner

Originally created by @uniqueumesh on GitHub (Apr 8, 2024).
Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/26

Originally assigned to: @AJaySi on GitHub.

After cloning the latest code update, I attempted to run it but encountered an issue (mentioned below) where the blog post generation was failing. Could you kindly assist me in troubleshooting this matter? Your help is greatly appreciated. Thank you.

ERROR|google_serp_search.py:309:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: 'C:\Windows\System32\AI-Blog-Writer\AI-Writer\workspace\web_research_reports\google_guideline_in_ai_contents_2024-04-08_18-29-21'
ERROR|google_serp_search.py:309:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: 'C:\Windows\System32\AI-Blog-Writer\AI-Writer\workspace\web_research_reports\google_guideline_in_ai_contents_2024-04-08_18-29-21'
INFO|blog_from_google_serp.py:36:write_blog_google_serp| Generating blog and FAQs from Google web search results.
ERROR|main_text_generation.py:150:read_llm_parameters| An unexpected error occurred: 'charmap' codec can't decode byte 0x9d in position 2087: character maps to
ERROR|main_text_generation.py:55:llm_text_gen| Failed to read LLM parameters: 'charmap' codec can't decode byte 0x9d in position 2087: character maps to
ERROR|blog_from_google_serp.py:41:write_blog_google_serp| Exit: Failed to get response from LLM: 'charmap' codec can't decode byte 0x9d in position 2087: character maps to

Originally created by @uniqueumesh on GitHub (Apr 8, 2024). Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/26 Originally assigned to: @AJaySi on GitHub. After cloning the latest code update, I attempted to run it but encountered an issue (mentioned below) where the blog post generation was failing. Could you kindly assist me in troubleshooting this matter? Your help is greatly appreciated. Thank you. ERROR|google_serp_search.py:309:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: 'C:\\Windows\\System32\\AI-Blog-Writer\\AI-Writer\\workspace\\web_research_reports\\google_guideline_in_ai_contents_2024-04-08_18-29-21' ERROR|google_serp_search.py:309:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: 'C:\\Windows\\System32\\AI-Blog-Writer\\AI-Writer\\workspace\\web_research_reports\\google_guideline_in_ai_contents_2024-04-08_18-29-21' INFO|blog_from_google_serp.py:36:write_blog_google_serp| Generating blog and FAQs from Google web search results. ERROR|main_text_generation.py:150:read_llm_parameters| An unexpected error occurred: 'charmap' codec can't decode byte 0x9d in position 2087: character maps to <undefined> ERROR|main_text_generation.py:55:llm_text_gen| Failed to read LLM parameters: 'charmap' codec can't decode byte 0x9d in position 2087: character maps to <undefined> ERROR|blog_from_google_serp.py:41:write_blog_google_serp| Exit: Failed to get response from LLM: 'charmap' codec can't decode byte 0x9d in position 2087: character maps to <undefined>
kerem closed this issue 2026-03-13 20:05:42 +03:00
Author
Owner

@AJaySi commented on GitHub (Apr 8, 2024):

Looking into it.

<!-- gh-comment-id:2042761250 --> @AJaySi commented on GitHub (Apr 8, 2024): Looking into it.
Author
Owner

@AJaySi commented on GitHub (Apr 8, 2024):

Unable to reproduce it. Maybe, trying cloing again..
Can you details your steps ?

<!-- gh-comment-id:2042816085 --> @AJaySi commented on GitHub (Apr 8, 2024): Unable to reproduce it. Maybe, trying cloing again.. Can you details your steps ?
Author
Owner

@uniqueumesh commented on GitHub (Apr 8, 2024):

I cloned the updated code again on a different laptop and got the different issue mentioned in the below photo.

WhatsApp Image 2024-04-08 at 20 14 59_92b3653f

<!-- gh-comment-id:2043055921 --> @uniqueumesh commented on GitHub (Apr 8, 2024): I cloned the updated code again on a different laptop and got the different issue mentioned in the below photo. ![WhatsApp Image 2024-04-08 at 20 14 59_92b3653f](https://github.com/AJaySi/AI-Writer/assets/150319020/1e5018d8-38bb-4355-bb59-230837e592d5)
Author
Owner

@AJaySi commented on GitHub (Apr 9, 2024):

@umesh070
Sorry, html2image module was missing. I have updated requirements.txt in latest commit.
Please try again.

<!-- gh-comment-id:2044279288 --> @AJaySi commented on GitHub (Apr 9, 2024): @umesh070 Sorry, html2image module was missing. I have updated requirements.txt in latest commit. Please try again.
Author
Owner

@AJaySi commented on GitHub (Apr 12, 2024):

@umesh070 please close the issue if its done ?
Thanks.

<!-- gh-comment-id:2050888285 --> @AJaySi commented on GitHub (Apr 12, 2024): @umesh070 please close the issue if its done ? Thanks.
Author
Owner

@uniqueumesh commented on GitHub (Apr 12, 2024):

This is the error I am getting in the new code.

Screenshot (13)

<!-- gh-comment-id:2051799855 --> @uniqueumesh commented on GitHub (Apr 12, 2024): This is the error I am getting in the new code. ![Screenshot (13)](https://github.com/AJaySi/AI-Writer/assets/150319020/6a6fad1e-56d4-490a-ab08-b8c026f0fa6c)
Author
Owner

@uniqueumesh commented on GitHub (Apr 12, 2024):

Hello, @AJaySi

I have run the new code again. Now the previous error is solved. Now it's giving one blog after the SERP research.

<!-- gh-comment-id:2051835971 --> @uniqueumesh commented on GitHub (Apr 12, 2024): Hello, @AJaySi I have run the new code again. Now the previous error is solved. Now it's giving one blog after the SERP research.
Author
Owner

@AJaySi commented on GitHub (Apr 12, 2024):

@umesh070
Please check again, i updated the code.

<!-- gh-comment-id:2051850910 --> @AJaySi commented on GitHub (Apr 12, 2024): @umesh070 Please check again, i updated the code.
Author
Owner

@uniqueumesh commented on GitHub (Apr 12, 2024):

No changes yet. Same result as above while writing a blog from keywords.

<!-- gh-comment-id:2051861432 --> @uniqueumesh commented on GitHub (Apr 12, 2024): No changes yet. Same result as above while writing a blog from keywords.
Author
Owner

@uniqueumesh commented on GitHub (Apr 12, 2024):

Issue is solved. Thank you @AJaySi for your help.

Now it also doing blog proofreading and humanizing.

<!-- gh-comment-id:2051898371 --> @uniqueumesh commented on GitHub (Apr 12, 2024): Issue is solved. Thank you @AJaySi for your help. Now it also doing blog proofreading and humanizing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#355
No description provided.