-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For Mac OS, upon starting KA Lite, can not process to open the website #4021
Comments
Hi @JohnJCZhou - I assume that you have already configured your Preferences? What build of the .dmg did you use? Can you open |
@JohnJCZhou & @cpauya I reproduced this issue, if I download any |
@JohnJCZhou and @amodia: I think what happened was that you tried to download a video first, which failed throwing the To verify the above
cyril-lappy6:~ cyril$ kalite start
Running 'kalite start' as daemon (system service)
Stand by while the server loads its data...
/Applications/KA-Lite Monitor.app/Contents/Resources/ka-lite/kalite/settings/base.py:43: RemovedInKALite_v015_Warning: We will be deprecating the old way of statically importing custom settings, in favor of a more flexible way. The easiest way to update your installation is to rename your local_settings.py (keeping it in the same directory) and add an import statement in the very first line of the new file so it looks like this:
from kalite.project.settings.base import *
# Put custom settings here...
FOO = BAR
and then call kalite start with an additional argument pointing to your new settings module:
kalite start --settings=kalite.my_settings
In the future, it is recommended not to keep your own settings module in the kalite code base but to put the file somewhere else in your python path, for instance in the current directory when running 'kalite --settings=my_module'.
RemovedInKALite_v015_Warning
INFO:kalite:Invalidating the web cache.
INFO:kalite:Running videoscan.
INFO:kalite:Preloading exercise data for language en.
INFO:kalite:Preloading content data for language en.
INFO:kalite:Preloading topic tree data for language en.
INFO:kalite:Copying static media...
WARNING:py.warnings:/Applications/KA-Lite Monitor.app/Contents/Resources/ka-lite/python-packages/tastypie/resources.py:328: UserWarning: 'override_urls' is a deprecated method & will be removed by v1.0.0. Please rename your method to ``prepend_urls``.
warnings.warn("'override_urls' is a deprecated method & will be removed by v1.0.0. Please rename your method to ``prepend_urls``.")
INFO:kalite:Running 2 due jobs... ("Secure Sync", "Download Videos") The last line above tells us that ka-lite tried to run the pending jobs but stopped. I checked the To double-check
So I think this issue will get fixed when we fix #3704 first. |
@cpauya we didn't implement proper logging :) So the log is truncated everytime you restart. This is to ensure that filesizes don't run away until we've implemented a proper global logging mechanism. This won't happen in 0.14, so remember to grab the logs right away :) |
A lot of churn has happened in the Mac installer since this was opened. Let's create another issue if this crops up again. @cpauya feel free to dissent. |
Click on KA-Lite monitor and after it is loaded it will look like this:
After clicking on "Start KA Lite" the the system will get stuck in this status:
Even if I try to open it in browser by manually typing address: 127.0.0.1:8008, the page won't load.
The text was updated successfully, but these errors were encountered: