LambdaColdStorage / lmb

Lambda Labs Core Tools
Other
16 stars 4 forks source link

Error in test.sh #20

Closed zzsi closed 11 years ago

zzsi commented 11 years ago

An issue when running test.sh:

LINTING ./check.py

Running pyflakes... Running pep8... Clean! DONE

TESTING nosetests --exe lmb http://0.0.0.0:8080/ 127.0.0.1:50220 - - [25/Feb/2013 20:08:13] "HTTP/1.1 GET /" - 200 OK 127.0.0.1:50222 - - [25/Feb/2013 20:08:13] "HTTP/1.1 GET /" - 200 OK .Traceback (most recent call last): File "/Library/Python/2.7/site-packages/web/application.py", line 239, in process return self.handle() File "/Library/Python/2.7/site-packages/web/application.py", line 230, in handle return self._delegate(fn, self.fvars, args) File "/Library/Python/2.7/site-packages/web/application.py", line 420, in _delegate return handle_class(cls) File "/Library/Python/2.7/site-packages/web/application.py", line 396, in handle_class return tocall(*args) File "lmb/server.py", line 53, in GET images = [detect.img_url(url) for url in urls if url] File "lmb/detect.py", line 27, in img_url img.faces = faces_img(img) File "lmb/detect.py", line 18, in faces_img hc = cv.Load(cascade_path(cascade)) TypeError: OpenCV returned NULL

stephenbalaban commented 11 years ago

Pull the latest branch and run ./install.sh

You're just missing the cascades which can be installed by calling ./install.sh on the latest build:

cd lmb && git pull origin master && ./install.sh

On Mon, Feb 25, 2013 at 8:16 PM, Zhangzhang Si notifications@github.comwrote:

An issue when running test.sh:

LINTING ./check.py

Running pyflakes... Running pep8... Clean! DONE

TESTING nosetests --exe lmb http://0.0.0.0:8080/ 127.0.0.1:50220 - - [25/Feb/2013 20:08:13] "HTTP/1.1 GET /" - 200 OK 127.0.0.1:50222 - - [25/Feb/2013 20:08:13] "HTTP/1.1 GET /" - 200 OK .Traceback (most recent call last): File "/Library/Python/2.7/site-packages/web/application.py", line 239, in process return self.handle() File "/Library/Python/2.7/site-packages/web/application.py", line 230, in handle return self._delegate(fn, self.fvars, args) File "/Library/Python/2.7/site-packages/web/application.py", line 420, in _delegate return handle_class(cls) File "/Library/Python/2.7/site-packages/web/application.py", line 396, in handle_class return tocall(*args) File "lmb/server.py", line 53, in GET images = [detect.img_url(url) for url in urls if url] File "lmb/detect.py", line 27, in img_url img.faces = faces_img(img) File "lmb/detect.py", line 18, in faces_img hc = cv.Load(cascade_path(cascade)) TypeError: OpenCV returned NULL

— Reply to this email directly or view it on GitHubhttps://github.com/lambdal/lmb/issues/20 .

zzsi commented 11 years ago

Works now :+1: