You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by "Frank Greguska (JIRA)" <ji...@apache.org> on 2018/09/22 01:07:00 UTC
[jira] [Created] (SDAP-152) Error in nexus client
Frank Greguska created SDAP-152:
-----------------------------------
Summary: Error in nexus client
Key: SDAP-152
URL: https://issues.apache.org/jira/browse/SDAP-152
Project: Apache Science Data Analytics Platform
Issue Type: New Feature
Reporter: Frank Greguska
When trying to execute time series we get an error:
Error
Traceback (most recent call last):
File "/Users/greguska/anaconda/envs/nexuscli/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/Users/greguska/anaconda/envs/nexuscli/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/Users/greguska/githubprojects/incubator-sdap-nexus/client/nexuscli/test/nexuscli_test.py", line 32, in test_time_series
datetime(2005, 1, 1), datetime(2005, 1, 1), spark=True)
File "/Users/greguska/githubprojects/incubator-sdap-nexus/client/nexuscli/nexuscli.py", line 214, in time_series
time_series_data[:, key_to_index['time']]]),
File "/Users/greguska/githubprojects/incubator-sdap-nexus/client/nexuscli/nexuscli.py", line 213, in <listcomp>
time=np.array([datetime.utcfromtimestamp(t).replace(tzinfo=UTC) for t in
TypeError: an integer is required (got type numpy.str_)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)