-
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
kalite
command remaining issues
#2919
Comments
@aronasorman this does not warrant the ready label yet :) |
I'm having an issue that the
Calls to clean_pyc have been removed so it seems not to be a problem of pyc files disappearing from one process while another is executed. |
It may have something to do with Django not supporting true concurrency in django.core.management.get_commands() and thus we need to force a call to this function to build the list of commands before trying to execute any. Otherwise the first process will start building the list of commands, and the others will access it before it's done being built. |
Yup, it was a problem of running two Django commands concurrently without a call to get_commands() first. Fixed in aede7dd |
Oh, that was placed automatically by waffle.io whenever I move something to "this week" :). |
Remaining issues on kalite command fixing #2919
Love what I'm seeing! Originally, I had been thinking the
(only the first one of these is really important -- and we at least used to have cross-platform ways to do this from Python, since we used to display it in the web interface, but numbers 2 and 3 should be easy/useful as well) |
@jamalex So I guess this is overlapping a bit with |
Version is available btw with |
Going to investigate this a bit more in case it's a problem...
|
…we are still in the source tree learningequality#2919
Yeah -- the use cases I had been thinking of were:
|
|
So our minimum for 0.13 release is to get start/stop running on all OSes. |
On Windoze there are issues with adding |
Seems like Windows just doesn't like some of the default options from |
Also |
Indeed, the server seems to fail to start when the So the full command that windows hates is something like Any thoughts on this @benjaoming ? |
It is unfortunately true that Windows doesn't support daemon behaviour, Windows has to go other ways with "services" or something to have a I don't know why it would always think that the server has stopped, that On 20 February 2015 at 17:08, Michael Gallaspy [email protected]
|
No, stopping fails because it thinks it's already been stopped. I'll try to make it more robust. Regarding the |
Yeah, something's awfully fishy about this start command on Windows. Server starts, but it fails to create a lock file or pid file, even when I take out the |
I would think that The server will always fail to stop if there is no .pid file. That's On 23 February 2015 at 19:39, Michael Gallaspy [email protected]
|
This issue is frustrating me to no end, not least because it takes so long for the server to start up. I'm curious what command previous versions of KA Lite use to start up on Windows, as that might provide some clues as to the appropriate commands to be running here. Does it just call the |
Yes, previous method is still available in the scripts dir. On 24 February 2015 at 23:45, Michael Gallaspy [email protected]
|
@rtibbles okay, as a sanity check, just try to start and stop the server in the following ways:
|
I've found that running the command |
So for me, running |
Regarding my above comment, the same thing happens... for some reason (that has nothing to do with the logic in |
I've been reduced to stepping through the |
@MCGallaspy Good thing you found out the problem in detail, because the start command was oddly slower on windows. |
Noticed that there's a checklist for testing on Android. Do we want that as a blocker to close this issue? Maybe once we commit to supporting the Android platform we can have that as a blocker, but for now I think we can just ignore Android. |
Also, looks like the only blocker for 0.13 is the Windows support? Is that correct @benjaoming? |
Yes, correct, afaik fully satisfactory Windows support is the only But you are right that Android can be skipped for now, maybe if you can On 4 March 2015 at 12:39, Aron Fyodor Asor [email protected] wrote:
|
Superseded by #2926. Closing. |
Recall the task list from #2893
python.exe bin/kalite
kalite reload
command (not gonna call it setup, because then there's 4 commands beginning with S?)The text was updated successfully, but these errors were encountered: