kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.11k stars 364 forks source link

Kimchi errors out when network conection is very slow after login #592

Open laggarcia opened 9 years ago

laggarcia commented 9 years ago

After log in into Kimchi in a very slow network, I receive a big error message box (not the usual error message on the top of the screen) with the following message:


Oops! It looks like I am running from a source tree and you forgot to build! Please run the following command from the kimchi directory and reload this page:

make

But I am running not running Kimchi from source. It is actually running from the binary file installed through Kimchi RPM package.

clnperez commented 9 years ago

I've seen that too. I didn't realize a slow network would trigger it.

laggarcia commented 9 years ago

Well, not sure if a slow network is mandatory, but all the times I got this reproduced, the web UI was taking too long to get loaded. Hence, I suspected that a slow network is triggering it. Maybe we have a timer or something like that on the UI that, whenever reached, is showing this error message?

vl1969 commented 9 years ago

sorry for hijacking the thread but how do I run it from the source tree?

I am building a vm server for home and to try out things I am using a Hyper-V VM I have tried to build out the VM server on CentOs7 with Kimchi in Hyper-V VM but do to luck of resources on the host it keeps bugging out. I want to try it out on my actual hardware maybe this weekend. it is better to run from source or make install.

where do I get the RPM package (do I need to make it my self)

thank.