jaimeMF / youtube-dl-api-server

A youtube-dl REST API server
https://youtube-dl-api-server.readthedocs.org/
The Unlicense
364 stars 212 forks source link

Not working with youtube-dl from youtube_dl == 2013.12.16.1 #9

Closed ksy5662 closed 10 years ago

ksy5662 commented 10 years ago

I got some error from 2013.12.16.1.

It is O.K with 2013.12.16

Many Thanks,

jaimeMF commented 10 years ago

Could you post the log, or at least the url that fails? it works fine with http://vimeo.com/56015672#at=0 or http://www.gametrailers.com/videos/zbvr8i/mirror-s-edge-2-e3-2013--debut-trailer.

ksy5662 commented 10 years ago

The URL you also gave me is not working.

Here is the log. seems get import error from 2013.12.16.1. Due to the cache, I used this in requirement.txt youtube_dl == 2013.12.16.3 WebOb Paste webapp2 pyyaml

Traceback (most recent call last): File "/base/data/home/apps/s~tubedown63772/alpha-3-3.372383754966424496/mainGAE.py", line 6, in import youtube_dl File "/base/data/home/apps/s~tubedown63772/alpha-3-3.372383754966424496/lib/youtube_dl/init.py", line 55, in from .utils import ( File "/base/data/home/apps/s~tubedown63772/alpha-3-3.372383754966424496/lib/youtube_dl/utils.py", line 4, in import ctypes File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/ctypes/init.py", line 10, in from _ctypes import Union, Structure, Array ImportError: No module named _ctypes

ksy5662 commented 10 years ago

Seems that import ctypes in utils.py is making error at commit https://github.com/rg3/youtube-dl/commit/e3946f9

jaimeMF commented 10 years ago

ok, I didn't tried on gae. It's fixed now. Just push the last changes and run ./devscripts/setup-gae.sh again. Thanks for the report.