Installation no longer works

I have used KA Lite successfully on my Windows 10 machine. I hadn’t used it for a few months and went to start it up again. Now when it launches, I only get a splash screen with no ability to log in or access my content.

I used the Windows installer previously with version 0.15.0. This is the installation that was previously working and the one that “broke”.

I downloaded the newest version 0.16.8 and ran the installer. It did find the previous version, uninstalled it and then installed with no errors.

When I launch the program, I see only the following two screens which can toggle back and forth:

What am I missing?

Hi Roo,

The screenshots both say “0.15.0” in the footer, indicating that this might be an old server instance running despite that it was uninstalled (it just runs in memory). The fact that there’s no images also indicates that they’re uninstalled.

I know the advice is a bit “silly”, but it’s also very simple: Try to reboot. That way you can be sure that an old instance of 0.15.0 is properly killed.

Best,
Ben

Hi Ben,

Thanks - good catch, but no luck.

  1. Restarted machine, then KA Lite.

  2. Result: Same two screens with 0.15.0 at the bottom.

  3. Ran new installer again.

  4. Restarted machine and KA Lite.

  5. Same result with splash screens showing 0.15.0 at the bottom.

Ideas anyone?

Thanks,
Roo

I have now done a full “Uninstall” and install and I still get the splash screen only - and it still says version 0.15.0.

Below is the server log text:
Traceback (most recent call last):
File “C:\Python27\lib\logging_init_.py”, line 880, in emit
stream.write(fs % msg)
ValueError: I/O operation on closed file
Logged from file cplogging.py, line 201
Traceback (most recent call last):
File "C:\Python27\lib\logging_init
.py", line 880, in emit
stream.write(fs % msg)
ValueError: I/O operation on closed file
Logged from file cplogging.py, line 201
Traceback (most recent call last):
File "C:\Python27\lib\logging_init
.py", line 880, in emit
stream.write(fs % msg)
ValueError: I/O operation on closed file
Logged from file cplogging.py, line 201
Traceback (most recent call last):
File "C:\Python27\lib\logging_init
.py", line 880, in emit
stream.write(fs % msg)
ValueError: I/O operation on closed file
Logged from file cplogging.py, line 201
Traceback (most recent call last):
File "C:\Python27\lib\logging_init
.py", line 880, in emit
stream.write(fs % msg)

And the text from the last line inn the command line prompt for “diagnose”:

socket.error: [Errno 10061] No connection could be made because the target machine actively refused it

HELP!

Hi Roo,

The latter problem is because logging doesn’t work on Windows :frowning: That issue is tracked here: https://github.com/learningequality/ka-lite/issues/5057

You can get around it by:

  1. Stopping KA Lite
  2. Going to the Windows command line, Win+R -> type: cmd
  3. Starting kalite from command line with the --foreground option:
C:>cd C:\Python27
C:\Python27>cd Scripts
C:\Python27\Scripts>kalite start --foreground

This might show you something useful.

Btw, to stop it again, press CTRL+C.

Otherwise, the issue remains that there is some kind of remnant of KA Lite 0.15 left. To figure out if something odd is going on, try this:

C:>cd C:\Python27
C:\Python27>cd Scripts
C:\Python27\Scripts>kalite shell

>>> import kalite
>>> print kalite.__version__
>>> print kalite.__file__