Comments (6)
I face this error when was running the test.py.
After some troubleshooting i found the function (generate_featured_image) is expecting two parameters
def generate_featured_image(text, meta_title):
But only one is sentfeatured_image = generate_featured_image( meta_title)
Thought i'm the only one that got this error.
I did a slightly different approach to fix this error.
I changed:
def generate_featured_image(text, meta_title):
to
def generate_featured_image(meta_title):
And:
image_filename = f"./out/{text.replace(' ', '_').replace('/', '_')}.png"
to
image_filename = f"./out/{meta_title.replace(' ', '_').replace('/', '_')}.png"
from autoblogger.
I have tried both steps but I am still getting same error
Error generating blog post for URL Slug choose-platform: RetryError[<Future at 0x2362aadc410 state=finished raised Exception>]
Any help will be appreciated
from autoblogger.
Yes please i have the same error at test.py. Any fix?
Thanks
from autoblogger.
Looking for the same fix for the above error.
Generating outline for URL Slug organic-gardening
0%| | 0/1 [00:00<?, ?it/s]Error generating blog post for URL Slug organic-gardening: RetryError[<Future at 0x2787609dc40 state=finished raised AttributeError>]
@IncomeStreamSurfer any help is appreciated. Just a farmer trying to figure out blog coding. ;/
from autoblogger.
Same error here. I tried the above fixes, but they haven't worked either.
Error generating blog post for URL Slug : RetryError[<Future at 0x20c35c3c610 state=finished raised AttributeError>]
from autoblogger.
I face this error when was running the test.py.
After some troubleshooting i found the function (generate_featured_image) is expecting two parameters
def generate_featured_image(text, meta_title):
But only one is sentfeatured_image = generate_featured_image( meta_title)
I make it work replacing the text with
url_slug
and adding that parameter to the calling functiondef generate_featured_image(url_slug, meta_title):
featured_image = generate_featured_image(url_slug, meta_title)
If you wanted i can do a PR to fix this issue.
hello, i still face this issue after trying this method above, could u give me some help?
from autoblogger.
Related Issues (2)
- Prompts question.... HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoblogger.