Skip to main content
Oct 13, 2017 8:16 AM UTC
Question

Analytics New Dataset Error (Unable to invoke service ValidateDatasetData on TW_ML_Helper : /ThingworxStorage/repository/Dataset_Data/jinkim/mars_data.csv)

Hello,

I need some help to use TWX Analytics.

When I try to create New Dataset then I got an error below.

"Unable to invoke service ValidateDatasetData on TW_ML_Helper : /ThingworxStorage/repository/Dataset_Data/jinkim/mars_data.csv"

Analytics Error.png

I checked "/ThingworxStorage/repository/Dataset_Data/jinkim/mars_data.csv" on Thingworx server, the file is exist on that directory.

User group permission of this file is assigned to twadmin:twadmin rw rw.

Thingworx and analytics server are installed on two different machine. they can communicate each other.

1. ThingWorx server installation info:

- OS: CentOS7

- Thingworx 8.0 postgres docker version

2. Analytics server installation info:

- OS: CentOS7

- Analytics 8.0

I assgine the user on TW_AnalyticsServer_Admin, TW_AnalyticsServer_Users and Administrator Group.

Do you know the reason of this error??

It doesn't make sense.

Please help me..

3 replies

Oct 13, 2017 9:26 AM UTC

Hi Jin Bi Kim

Since you are using ThingWorx as docker container could you clarify the steps you took to install UploadThing ?

Thank you

Kind regards

Christophe

jinkim2Author
Oct 16, 2017 6:24 AM UTC

Hello Christophe,

I resolved this issue.

In the ThingWorx docker container environment, UploadThing shall be running inside of the TWX docker container.

**Bellow is the procedure that I did to run UploadThing

  1. 1. Copy UploadThing files from host machine to TWX docker container.

>> docker cp ThingWorx-Analytics-Extensions/ twxfoundation:/opt/ThingWorx-Analytics-Extensions

  1. 2. Access to TWX docker container.

>>docker exec –u 0 –it twxfoundation bash

  1. 3. Execute the file inside of the docker container.

>> cd /opt/ThingWorx-Analytics-Extensions/UploadThing/bin/

>>./UploadThing

After executing above, it works good. Data set uploaded successfully with no error.


Thank you.


Regards,


Jin Bi

Nov 2, 2017 9:26 AM UTC

Though it would work, UploadThing is not meant to be installed in the ThingWorx container.

Instead check How to install UploadThing into Thingworx core docker container? for how to implement it.