Cannot import Refine project file in openrefine. After importing the file, it returns HTTP 404
.
Description
Related Objects
- Mentioned In
- T322747: [bug] Open Refine Project Import Fails
Event Timeline
This does give a 404. Though as a work around, it does appear to import the project, as an imported project is visible after the 404 by going back to OpenRefine and "Open project" above the "Import project" option.
This may be due to open refine sending to the wrong URL for PAWS:
https://hub.paws.wmcloud.org/hub/project?project=2280499723548
rather than:
https://hub.paws.wmcloud.org/user/VRook_%28WMF%29/openrefine/project?project=2280499723548
@Spinster @Antoine2711 @Pintoch
Do yinz have any insight on if this would be more of a jupyter-server-proxy thing or an openrefine thing? Thanks!
This works fine when using OpenRefine locally, so it probably has something to do with the deployment indeed. I have not checked, but I suspect the frontend code redirects the user to the project page using some relative URL, which fails in the PAWS context.
I do not know if this can easily be done, but I would assume one radical way to ensure that this does not happen would be to host OpenRefine at the root URL of some automatically-generated domain (instead of using a subpath).
If there are sensible fixes that can be applied on OpenRefine's side to make this easier, we can totally consider them.