Giter VIP home page Giter VIP logo

Comments (6)

meuerdesign avatar meuerdesign commented on September 28, 2024

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 sent featured_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.

sysads avatar sysads commented on September 28, 2024

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.

flowengaged avatar flowengaged commented on September 28, 2024

Yes please i have the same error at test.py. Any fix?

Thanks

from autoblogger.

harvickfarms avatar harvickfarms commented on September 28, 2024

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.

cloud4sure avatar cloud4sure commented on September 28, 2024

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.

hyu279 avatar hyu279 commented on September 28, 2024

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 sent featured_image = generate_featured_image( meta_title)

I make it work replacing the text with url_slug and adding that parameter to the calling function def 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.