Open PhatFree opened 5 years ago
It seems like My assumption was wrong, and version 2.0 of the front-end is NOT compatible with 0.9.5 simulator. This is mentioned in the frontend readme, but not in the simulator readme.
Sorry for the problem. The "Simulator" Readme was not properly updated when the Frontend moved to v2. The Simulator currently required Frontend v1.0.0. The Frontend documentation is correct. to install the v1.0.0 frontend run:
git clone -b v1.0.0 --single-branch https://github.com/RedDrum-Redfish-Project/RedDrum-Frontend RedDrum-Frontend
# this will get all of the code, data files, documentation, tools, and README.txts for version v1.0.0
# then to install in "editible mode" where any changes you make to the Frontend Repo will show up in the site pkg
pip install -e ./RedDrum-Frontend
I'll leave the issue open and have the Simulator doc fixed and re-tested. thanks
I've got it working and I'm writing a patch for the docs, should it be pip3 not pip?
everything is python3
Hello, I have a fresh install of CentOS, I have followed all the install instructions in the readme, and the recommendations from issue #5 for good measure. But I've run into two issues.
First a mismatch version between front end and simulator after installing the front end using pip,
pip install -e ./RedDrum-Frontend
I go to install the simulator, usingpip install -e ./RedDrum-Simulator
But get the following version error:Could not find a version that satisfies the requirement RedDrum-Frontend==0.9.5 (from RedDrum-Simulator==0.9.5) (from versions: ) No matching distribution found for RedDrum-Frontend==0.9.5 (from RedDrum-Simulator==0.9.5)
Assuming backwards compatibly, I opted modify
setup.py
and update the requirement to version 2.0, which then allowed the pip install to work as expected.Second an AttributeError Once everything was said and done, and I tried to run
./runSimulator BaseServer1
only to eventually be greeted by the following error:File "/home/jeffdev/RD/RedDrum-Simulator/reddrum_simulator/simulatorLoadResources.py", line 42, in loadStaticResourceDatabases if self.rdr.root.managers.managersDbDiscovered is False: AttributeError: 'RfServiceRoot' object has no attribute 'managers'
I'm lead to believe I've followed all the steps (at least mostly) correct, could anyone shed some light on what might be wrong?