FACT_core icon indicating copy to clipboard operation
FACT_core copied to clipboard

Hanging issue with src/install/frontend.py install in fucntion wget_static_web_content

Open lrcarp17 opened this issue 2 years ago • 1 comments

There was an issue with the installation when wget_static_web_content was installing jstree. It kept hanging, so I decided to remove stdout=PIPE from the line action_process = subprocess.run(action, shell=True,stderr=STDOUT, universal_newlines=True) in src/install/frontend.py. Below is the output I encountered. It seems like it was expecting user input so I just enter yes and I was promoted again to which I responded with A and the installation continued with out problems. Not sure if this is a local issue or something others have encountered. I will mention that this happened while attempting to switch from 3 to 4 so there were already tracked files that existed.

[2023-01-13 19:12:32][frontend][INFO]: Install static jstree content
unzip 3.3.9
Archive:  3.3.9
a7f224265891eee74d85b469006ab461bd430f48
replace vakata-jstree-a7f2242/.gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: yes
  inflating: vakata-jstree-a7f2242/.gitignore  
replace vakata-jstree-a7f2242/LICENSE-MIT? [y]es, [n]o, [A]ll, [N]one, [r]ename: A

lrcarp17 avatar Jan 13 '23 19:01 lrcarp17

There seem to be some artifacts left form the canceled installation. Could you try to remove src/web_interface/static/3.3.9 and retry to run the installation? We switched from downloading the zip to installing it via npm, so you could also try to use the latest master branch instead (we will probably also release a new stable version soonish).

jstucke avatar Jan 16 '23 09:01 jstucke