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/10/10 16:09:00 UTC

[jira] [Updated] (SDAP-152) Error in nexus client

     [ https://issues.apache.org/jira/browse/SDAP-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Greguska updated SDAP-152:
--------------------------------
    Resolution: Fixed
        Status: Done  (was: In Progress)

> 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
>          Components: nexus
>            Reporter: Frank Greguska
>            Assignee: Frank Greguska
>            Priority: Critical
>
> 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)