Giter VIP home page Giter VIP logo

framebot's Introduction

framebot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

framebot's Issues

http://maxbots.ddns.net/token/ site can't opened.

I have tried going through http://maxbots.ddns.net/token/, but the website won't open.

ERR_CONNECTION_TIMED_OUT

Then I have tried using an alternative, namely through the Graph API Explorer to get an access token to my page. But I got into new problems like this:

File "main.py", line 21, in wrapper
    return job_func(*args, **kwargs)
  File "main.py", line 74, in post
    post_id = graph.put_photo(image=open(currentFrame, 'rb'),message = msg)['post_id']
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\facebook\__init__.py", line 223, in put_photo
    return self.request(
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\facebook\__init__.py", line 313, in request
    raise GraphAPIError(result)
facebook.GraphAPIError: (#200) Permissions error

Could someone help me to solve this problem?

seems cant extract the frames

rameBot โžค sudo python3 main.py git:master*
Extract Frames?(y/n)

y
Traceback (most recent call last):
File "main.py", line 21, in wrapper
return job_func(*args, **kwargs)
File "main.py", line 68, in post
currentFrame = f'assets/frames/{dir[0]}'
IndexError: list index out of range

here's the output

GStreamer-CRITICAL

(:15569): GStreamer-CRITICAL **: 16:32:53.624: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
[ WARN:0] global /home/builder/.termux-build/opencv/src/modules/videoio/src/cap_gstreamer.cpp (713) open OpenCV | GStreamer warning: Error opening bin: no source element for URI "./assets/video/videoplayback.mp4"
[ WARN:0] global /home/builder/.termux-build/opencv/src/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Traceback (most recent call last):
File "/data/data/com.termux/files/home/bener/main.py", line 21, in wrapper
return job_func(*args, **kwargs)
File "/data/data/com.termux/files/home/bener/main.py", line 68, in post
currentFrame = f'assets/frames/{dir[0]}'
IndexError: list index out of range

AttributeError

Hi, when i tried to extract the frames and the program asked me to do, it said this:
AttributeError: 'str' object has no attribute 'mp4'

image

Why this happens?

Did the video had to be mp4?

I get this error

Extract Frames?(y/n)

y
Traceback (most recent call last):
File "/data/data/com.termux/files/home/bot/main.py", line 87, in
extractFrames()
File "/data/data/com.termux/files/home/bot/main.py", line 31, in extractFrames
file = os.listdir('./assets/video')[0]
FileNotFoundError: [Errno 2] No such file or directory: './assets/video'

I already place an video,a short video for testing
It named video.mp4
I using terminal emulator

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.