How does tworavens get data from dataverse

37 views
Skip to first unread message

Michel Bamouni

unread,
Mar 3, 2017, 4:55:45 AM3/3/17
to Dataverse Users Community
Hi,

I setup dataverse 4.5.1 and tworavens and I get "Explore" button display when upload 50by1000.dta file.
But when I click on "Explore" button I get an empty page in tworavens.
It's seems that no data are send from dataverse to tworavens. So can someone tells me how tworavens get data from dataverse
and if I what changes I do to have tworavens displays statisttical data?

Best regards,

Michel

Michel Bamouni

unread,
Mar 3, 2017, 5:05:40 AM3/3/17
to Dataverse Users Community
Hi,
In addition to my previous post, Do I need to changes in the dataverse glassfish, the jvm options related to rserve like :
-Ddataverse.rserve.host
-Ddataverse.rserve.password
-Ddataverse.rserve.port

Note : I use apache as reverse proxy for my dataverse and tworans and dataverse are on the same machine.

Michel

Michel Bamouni

unread,
Mar 3, 2017, 8:28:33 AM3/3/17
to Dataverse Users Community


Le vendredi 3 mars 2017 11:05:40 UTC+1, Michel Bamouni a écrit :
Hi,
In addition to my previous post, Do I need to changes in the dataverse glassfish, the jvm options related to rserve like :
-Ddataverse.rserve.host
-Ddataverse.rserve.password
-Ddataverse.rserve.port

Note : I use apache as reverse proxy for my dataverse and tworans and dataverse are on the same machine.

Michel

Le vendredi 3 mars 2017 10:55:45 UTC+1, Michel Bamouni a écrit :
Hi,

I setup dataverse 4.5.1 and tworavens and I get "Explore" button display when upload 50by1000.dta file.
But when I click on "Explore" button I get an empty page in tworavens.
It's seems that no data are send from dataverse to tworavens. So can someone tells me how tworavens get data from dataverse
and if I what changes I do to have tworavens displays statisttical data?

In glassfish logs, I was the stacktrace below :
"
[2017-03-03T14:23:40.830+0100] [glassfish 4.1] [FINE] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=50 _ThreadName=jk-connector(5)] [timeMillis: 1488547420830] [levelValue: 500] [CLASSNAME: edu.harvard.iq.dataverse.DatasetPage] [METHODNAME: getFileMetadataSelected] [[
  file metadata for the advanced options popup is null.]]

[2017-03-03T14:23:40.902+0100] [glassfish 4.1] [FINE] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=50 _ThreadName=jk-connector(5)] [timeMillis: 1488547420902] [levelValue: 500] [CLASSNAME: edu.harvard.iq.dataverse.DatasetPage] [METHODNAME: getFileMetadataSelected] [[
  file metadata for the advanced options popup is null.]]

[2017-03-03T14:23:41.000+0100] [glassfish 4.1] [FINE] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=50 _ThreadName=jk-connector(5)] [timeMillis: 1488547421000] [levelValue: 500] [CLASSNAME: edu.harvard.iq.dataverse.DatasetPage] [METHODNAME: getFileMetadataSelected] [[
  file metadata for the advanced options popup is null.]]
"
 
Best regards,

Michel

Don Sizemore

unread,
Mar 3, 2017, 8:44:46 AM3/3/17
to dataverse...@googlegroups.com
Hello,

You definitely want the R server options set. If you just installed R server locally with suggested defaults, you might give it:

-Ddataverse.rserve.host=localhost
-Ddataverse.rserve.user=rserve
-Ddataverse.rserve.password=rserve
-Ddataverse.rserve.port=rserve

Then restart both Glassfish and Apache, then try the Explore button again?

I believe Leonid already mentioned, but before restarting definitely double-check on the state of

/var/www/html/dataexplore/rook/preprocess/preprocess.R
vs.
/usr/local/glassfish4/glassfish/domains/domain1/applications/dataverse-4.6/WEB-INF/classes/edu/harvard/iq/dataverse/rserve/scripts/preprocess.R
(your local system directories may differ slightly)

They should match, and if they're different copy the Apache version on top of the Glassfish version, then restart both services.

I hope this helps,
Donald


--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/b27941b7-dd2d-462f-bece-d82b75ddfd02%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michel Bamouni

unread,
Mar 3, 2017, 9:24:10 AM3/3/17
to Dataverse Users Community
Hi,

My rserve options has already good.
So I copy the file preprocess.R which is in /var/www/html/ to the my glassfish domain
But after restarting glassfish, I don't have anything displays on tworavens.
In glassfish logs, I have the same stacktrace :

In glassfish logs, I was the stacktrace below :
"
[2017-03-03T14:23:40.830+0100] [glassfish 4.1] [FINE] [] [edu.harvard.iq.dataverse.
DatasetPage] [tid: _ThreadID=50 _ThreadName=jk-connector(5)] [timeMillis: 1488547420830] [levelValue: 500] [CLASSNAME: edu.harvard.iq.dataverse.DatasetPage] [METHODNAME: getFileMetadataSelected] [[
  file metadata for the advanced options popup is null.]]

[2017-03-03T14:23:40.902+0100] [glassfish 4.1] [FINE] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=50 _ThreadName=jk-connector(5)] [timeMillis: 1488547420902] [levelValue: 500] [CLASSNAME: edu.harvard.iq.dataverse.DatasetPage] [METHODNAME: getFileMetadataSelected] [[
  file metadata for the advanced options popup is null.]]

[2017-03-03T14:23:41.000+0100] [glassfish 4.1] [FINE] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=50 _ThreadName=jk-connector(5)] [timeMillis: 1488547421000] [levelValue: 500] [CLASSNAME: edu.harvard.iq.dataverse.DatasetPage] [METHODNAME: getFileMetadataSelected] [[
  file metadata for the advanced options popup is null.]]




To post to this group, send email to dataverse...@googlegroups.com.

Michel Bamouni

unread,
Mar 6, 2017, 4:17:14 AM3/6/17
to Dataverse Users Community

Hi,

In addition to glassfish logs in my previous post, after clicking on "Explore", I have a download screen like the joined picture.
Is it normal?

Michel Bamouni

unread,
Mar 6, 2017, 8:59:59 AM3/6/17
to Dataverse Users Community
Hello,

I checking dataverse 4.5.1 source code, it's seems that the call to "preprocess.R" script is done in the class "edu.harvard.iq.dataverse.rserve.RemoteDataFrameService".
But When I click on "Explore" button, I don't see any logs from this class. When trying ti download "Data Subset", there are logs from this class. I conclude that clicl to "Explore" button doesn't make à call to R script.

Can some one help me?

Philip Durbin

unread,
Mar 6, 2017, 9:13:16 AM3/6/17
to dataverse...@googlegroups.com
That download popup is normal when you have set "terms" for your dataset. See also http://guides.dataverse.org/en/4.6/user/dataset-management.html#terms

To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsubscribe...@googlegroups.com.

To post to this group, send email to dataverse...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Philip Durbin

unread,
Mar 6, 2017, 9:14:35 AM3/6/17
to dataverse...@googlegroups.com
I wonder if you're seeing this issue: "Subset: Downloading subset from Dataverse results in error" - https://github.com/IQSS/dataverse/issues/2586

To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsubscribe...@googlegroups.com.

To post to this group, send email to dataverse...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michel Bamouni

unread,
Mar 6, 2017, 9:25:23 AM3/6/17
to Dataverse Users Community, philip...@harvard.edu

Hi ,
I see the issue https://github.com/IQSS/dataverse/issues/2586 but I view data when clicking on "Data Subset" download button. I joined this picture.
My probleml is not with Data Subset but It's about the fact that I dont see any statical data in tworavens after clicking on "Explore" button.
I always have the error : "file metadata for the advanced options popup is null".
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.

Philip Durbin

unread,
Mar 6, 2017, 9:32:42 AM3/6/17
to dataverse...@googlegroups.com
Ok, as I mentioned in another thread* please email sup...@dataverse.org for help setting up TwoRavens and friends. I'm sorry to heard that it doesn't "just work" but someone will try to help.

Thanks!

Phil

To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsubscribe...@googlegroups.com.

To post to this group, send email to dataverse...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsubscribe...@googlegroups.com.

To post to this group, send email to dataverse...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages