fkie-cad / FACT_core

Firmware Analysis and Comparison Tool
https://fkie-cad.github.io/FACT_core
GNU General Public License v3.0
1.21k stars 224 forks source link

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

Open lrcarp17 opened 1 year ago

lrcarp17 commented 1 year ago

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
jstucke commented 1 year ago

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).