deepdataspace icon indicating copy to clipboard operation
deepdataspace copied to clipboard

DDS support Ubuntu20.04

Open GallonDeng opened this issue 2 years ago • 7 comments

DDS now only support Ubuntu18.04? I just install the DDS in Ubuntu20.04, using conda , python3.8. It seems DDS could start, but there is error in the web ui when it is loading default dataset. Also, I can create an account with ddsop; but cannot login with the created account.

GallonDeng avatar Apr 15 '24 06:04 GallonDeng

I found DDS did support Ubuntu20.04, there are errors for version dds 0.12.1, it is OK for lower version, dds 0.11.1

GallonDeng avatar Apr 15 '24 10:04 GallonDeng

install the dds with pip in conda env

GallonDeng avatar Apr 15 '24 10:04 GallonDeng

Hi, @AllenDun thanks for your feedback. Regarding "there is error in the web UI when it is loading the default dataset" I would like to know the following questions for analysis: 1、Whether the web UI service has failed to start or if there are specific page errors. If it is a service startup failure, I would appreciate more detailed console error logs. 2、If there are specific page errors, please provide the page URL and a screenshot of the error page. 3、If there are toast notifications on specific pages indicating request errors, I would also appreciate it if you could use Chrome's DevTools 'network' tab to provide information about the interface errors or screenshots.

xifanii avatar Apr 16 '24 10:04 xifanii

dds [nohup.txt](https://github.com/IDEA-Research/deepdataspace/files/15009777/nohup.txt) The above is the log and screenshot.

for lower version, e.g. 0.11.1, it is all ok @xifanii

GallonDeng avatar Apr 17 '24 10:04 GallonDeng

@AllenDun thanks for your response. Based on the log files you provided, I noticed that the JS files loaded on your page correspond to version v0.12.0. If you are actually using version v0.12.1, this issue may be caused by the HTML's browser cache leading to the wrong version of JS being loaded. You might try forcibly clearing your browser's cache to resolve the issue. If the problem still persists, I would recommend taking a screenshot of the overall network request status in Chrome's DevTools under the Network tab, to help us further diagnose the issue. image

xifanii avatar Apr 19 '24 02:04 xifanii

@xifanii, hi, after clear the chrome cache, problem still there, reproduce the issue steps:

  1. os ubuntu20.04, conda, docker container
  2. conda create -n dds python=3.8
  3. pip install deepdataspace
  4. dds --host xxxx --port 8675 --quickstart -V chrome-screenshot

GallonDeng avatar Apr 19 '24 06:04 GallonDeng

@AllenDun Thank you very much for your help. We have identified that the issue was caused by incorrect configuration of the backend API path in the web interface. This has been fixed and the version has been updated. https://github.com/IDEA-Research/deepdataspace/releases/tag/v0.12.2

Please reinstall the latest version to resolve the issue.

xifanii avatar Apr 19 '24 08:04 xifanii