-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Data Explorer to v2 #225
Comments
It's in prod. now. Scholar Portal requests that the tool is hosted locally (with the old version, v1, we were just using it hosted at https://scholarsportal.github.io/Dataverse-Data-Explorer/), so it is installed statically under Apache on both server nodes. |
Hmm. So the problem with categories appears to be real and specific to our installation.
i.e., the categories are not pre-defined in the metadata - this is a "simple" character variable. The categories as shown in the screenshot above must be calculated on the fly. Here's a similar variable in Phil's dataset:
... but, attempting to get a view of the categories in our instance of Data Explorer results in an empty box: Whatever it is, it must be happening in the browser/javascript - according to the access log, the tool successfully downloaded the data column for the variable from the tab file, so it got everything it needs to generate the list of unique values etc. ... So what do we do with this issue? |
It's weird, if I manually hack the tool URL and add my API token like this... I get a nice plot when I click "view categories" on the "language" variable: ... but this is non-restricted public data so it shouldn't need any API token at all. 🤔 |
OK, so the problem appears to be that sometime between 5.9 and 6.0 we've made the api auth start rejecting calls with invalid tokens (such as So, sounds like closing this issue and opening a simple main repo issue should be the proper course. |
I created an issue on the Data Explorer v2 side: |
Some URLs we've been playing with:
Note that the 6.0 URL works now because of a workaround we (ok @landreev ) put into Apache to strip out key=null. |
I will create an issue for the "junk key when no auth is required" on Monday. |
Closing the issue., now that the explorer is working.
|
For information, we have adapted the rule to handle a case generating an error:Downloading "Tab-delimited file" from DataExplorer. Generated URL is
|
Will need to be tested carefully to make sure all the new features are working.
The text was updated successfully, but these errors were encountered: