Giter Site home page Giter Site logo

Comments (9)

nickedes avatar nickedes commented on May 27, 2024

@greedo when will dis be solved ?

from vimeo.py.

greedo avatar greedo commented on May 27, 2024

hi @nickedes could you tell me more information about your specific environment.
Python version, OS

Thanks

from vimeo.py.

nickedes avatar nickedes commented on May 27, 2024

@greedo Python 2.7.10 and Windows 8

from vimeo.py.

greedo avatar greedo commented on May 27, 2024

@nickedes
I cannot replicate this error using your environment.

you should insert

"""Take an upload ticket and perform the actual upload."""

        print ticket.text
        assert ticket.status_code == 201, "Failed to create an upload ticket"

at https://github.com/vimeo/vimeo.py/blob/master/vimeo/upload.py#L41

Let me know what you get so I can debug further. You should also check you client key, secret and token and ensure they are correct.

from vimeo.py.

nickedes avatar nickedes commented on May 27, 2024

I did what you asked to:

{"error":"The app is not allowed to perform that action."}
Traceback (most recent call last):
  File "vimeo_upload_try.py", line 22, in <module>
    video_uri = v.upload('small.m4a')
  File "F:\Env\lib\site-packages\vimeo\upload.py", line 23, in upload
    return self._perform_upload(filename, ticket)
  File "F:\Env\lib\site-packages\vimeo\upload.py", line 38, in _perform_upload
    assert ticket.status_code == 201, "Failed to create an upload ticket"
AssertionError: Failed to create an upload ticket

It shows app is not allowed to perform that action 😭
You can see the code here

The client key, secret and token are correct ,because I am able to print about_me. See

from vimeo.py.

greedo avatar greedo commented on May 27, 2024

@nickedes

You need to request upload access for your app. You can do this from your app's settings page.

from vimeo.py.

nickedes avatar nickedes commented on May 27, 2024

wait. what?
Can you explain @greedo

from vimeo.py.

Dashron avatar Dashron commented on May 27, 2024

There's more detailed steps at the top of our new upload documentation: https://developer.vimeo.com/api/upload/videos

from vimeo.py.

nickedes avatar nickedes commented on May 27, 2024

👍 Requested upload access!
Hopefully will get soon! 😜 and then I will be back @greedo 🙊

from vimeo.py.

Related Issues (20)

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.