Comments (4)
from curve.
==> api/log/curve.log <==
ERROR: 2019-12-09 12:35:33.130071: line:189 * zero-size array to reduction operation minimum which has no identity
==> api/log/uwsgi.log <==
ERROR: 2019-12-09 12:35:33.130169: line:189 * zero-size array to reduction operation minimum which has no identity
[2019-12-09 12:35:33,130] ERROR in app: Exception on /v1/data/test_2 [POST]
Traceback (most recent call last):
File "../venv/lib/python2.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "../venv/lib/python2.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "../venv/lib/python2.7/site-packages/flask_restful/init.py", line 458, in wrapper
resp = resource(*args, **kwargs)
File "../venv/lib/python2.7/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "../venv/lib/python2.7/site-packages/flask_restful/init.py", line 573, in dispatch_request
resp = meth(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/validators.py", line 115, in wrapper
resp = view(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/validators.py", line 106, in wrapper
return view(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/api/data_dataName.py", line 109, in post
_, (axis_min, axis_max) = plugin('y_axis', data_raw_list) # cal y_axis for data
TypeError: 'NoneType' object is not iterable
==> api/log/curve.log <==
ERROR: 2019-12-09 12:35:33.133433: line:1891 * Exception on /v1/data/test_2 [POST]
Traceback (most recent call last):
File "../venv/lib/python2.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "../venv/lib/python2.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "../venv/lib/python2.7/site-packages/flask_restful/init.py", line 458, in wrapper
resp = resource(*args, **kwargs)
File "../venv/lib/python2.7/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "../venv/lib/python2.7/site-packages/flask_restful/init.py", line 573, in dispatch_request
resp = meth(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/validators.py", line 115, in wrapper
resp = view(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/validators.py", line 106, in wrapper
return view(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/api/data_dataName.py", line 109, in post
_, (axis_min, axis_max) = plugin('y_axis', data_raw_list) # cal y_axis for data
TypeError: 'NoneType' object is not iterable
==> api/log/uwsgi.log <==
ERROR: 2019-12-09 12:35:33.133540: line:1891 * Exception on /v1/data/test_2 [POST]
Traceback (most recent call last):
File "../venv/lib/python2.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "../venv/lib/python2.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "../venv/lib/python2.7/site-packages/flask_restful/init.py", line 458, in wrapper
resp = resource(*args, **kwargs)
File "../venv/lib/python2.7/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "../venv/lib/python2.7/site-packages/flask_restful/init.py", line 573, in dispatch_request
resp = meth(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/validators.py", line 115, in wrapper
resp = view(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/validators.py", line 106, in wrapper
return view(*args, **kwargs)
File "/Users/xili/Documents/python_workspace/Outlier_Label/Curve/api/curve/v1/api/data_dataName.py", line 109, in post
_, (axis_min, axis_max) = plugin('y_axis', data_raw_list) # cal y_axis for data
TypeError: 'NoneType' object is not iterable
[pid: 39394|app: 0|req: 5/8] 127.0.0.1 () {52 vars in 1150 bytes} [Mon Dec 9 12:35:33 2019] POST /v1/data/test_2 => generated 37 bytes in 36 msecs (HTTP/1.1 500) 4 headers in 156 bytes (2 switches on core 1)
from curve.
i got it
this tool only support hourly data
from curve.
There's a log file in /api/log/curve.log
For me the error message implies a python 2.7 / python 3.x issue - it's using string operations on a byte array. I suspect in order to get this working properly you need to create a venv with the correct package versions (i.e. looking at api/requirements.txt the minimum required versions are quite old and installing the latest probably causes issues)
from curve.
Related Issues (20)
- curve.baidu.com return 500 HOT 3
- The trend is loading, please wait HOT 7
- generate() got an unexpected keyword argument 'spec' HOT 11
- log HOT 1
- _OLD_VIRTUAL_PATH: unbound variable HOT 2
- upload fail... HOT 7
- [Solution] Left preview delete button does not work HOT 2
- Changing the js code has no effect HOT 2
- [Solution] TypeError: generate() got an unexpected keyword argument 'swagger' HOT 5
- Error: Request failed with status code 500 HOT 3
- decoding int error. HOT 6
- test upload failed...Can't upload file with the same name, please try again HOT 1
- Interactive Labeling HOT 2
- more-itertools requires Python '>=3.5' but the running Python is 2.7.3 HOT 2
- 支持的时间序列周期问题? HOT 2
- Pattern Detection Not working
- 安装过程中报错 HOT 3
- 安装出错 HOT 1
- 使用flask自带的服务器启动curve时,取消标签的功能消失
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curve.