Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Im getting a error #6

Open
turtlesiscool opened this issue May 14, 2022 · 10 comments
Open

Im getting a error #6

turtlesiscool opened this issue May 14, 2022 · 10 comments

Comments

@turtlesiscool
Copy link

It says failed to upload, it writes the tags and comment and then boom it crashes

@edde746
Copy link
Owner

edde746 commented May 14, 2022

Provide more context, do some logging, enable debugging in the config to get it to print out full error messages.

@turtlesiscool
Copy link
Author

okay will do it in a few h when i'm back from work

@turtlesiscool
Copy link
Author

turtlesiscool commented May 15, 2022 via email

@Catchii
Copy link

Catchii commented May 15, 2022

im also getting an error

🎥 Rendering video...
Traceback (most recent call last):
  File "C:\Users\catch\Desktop\Python Projects\Neuer Ordner\tiktok-askreddit-main\__main__.py", line 61, in <module>
    asyncio.run(main())
  File "C:\Users\catch\AppData\Local\Programs\Python\Python37\lib\asyncio\runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "C:\Users\catch\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py", line 568, in run_until_complete
    return future.result()
  File "C:\Users\catch\Desktop\Python Projects\Neuer Ordner\tiktok-askreddit-main\__main__.py", line 56, in main
    raise e
  File "C:\Users\catch\Desktop\Python Projects\Neuer Ordner\tiktok-askreddit-main\__main__.py", line 47, in main
    if video.render(name):
  File "C:\Users\catch\Desktop\Python Projects\Neuer Ordner\tiktok-askreddit-main\video.py", line 34, in render
    background_clip = "backgrounds/" + random.choice(os.listdir("backgrounds"))
  File "C:\Users\catch\AppData\Local\Programs\Python\Python37\lib\random.py", line 261, in choice
    raise IndexError('Cannot choose from an empty sequence') from None
IndexError: Cannot choose from an empty sequence

[Verarbeitung des Prozesses mit Code 1 (0x00000001) beendet]

@edde746
Copy link
Owner

edde746 commented May 15, 2022

@turtlesiscool You didn't send anything...
@Catchii You haven't put any background clips in the backgrounds directory.

@Catchii
Copy link

Catchii commented May 15, 2022

yeah i just noticed xd also there is an bug with long titles

the description is weird on long reddit posts

instead of

how do you feel right now? hows your life? #fyp #reditt

it turns into

how_do_you_feel_right_now?_hows_your_life?

with no hashtags

@kuikaw
Copy link

kuikaw commented May 15, 2022

Hello dear @edde746

There's a problem with comments, if there aren't comments in the post, it throws an error, and if there's a comment with no letter it shows an error either.
It'd be cool if we can choose a minimum number of comments and pass posts with 0 comments.

(No comments)
image

(No words or letter in comment)
image

@turtlesiscool
Copy link
Author

turtlesiscool commented May 15, 2022

This is the error :
Screenshot_37

and when the title is long, it will add underscores and it wont add hashtags

and it will be nice if there's a option that it wont scrape comments, so you can bassicly do long stories if thats possible

@kuikaw
Copy link

kuikaw commented May 15, 2022

This is the error : Screenshot_37

and when the title is long, it will add underscores and it wont add hashtags

and it will be nice if there's a option that it wont scrape comments, so you can bassicly do long stories if thats possible

Does it even take a screenshot of something?

@turtlesiscool
Copy link
Author

nope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants