[RESOLVED] "Kolibri The Server is starting... please wait kolibri.exe"

“Kolibri The Server is starting… please wait kolibri.exe” This message appears and keeps popping up endlessly. After Installation. The browser window http://127.0.0.1:8080 does not open,. I have tried the Kolibri VERSION 0.7.0 on 2 Windows 10 Machines and one Windows 7 System but same problem. Manual stop works. but after start the massage keeps coming up and disapearing. I need urgent help.

Hi @Echota,

Looks like something is blocking Kolibri from starting and opening your browser. Do you have any antivirus or firewall programs on your computers? Could you try adding Kolibri as safe (unblocking it)? Let us know if that helped, and alternatively you can try starting it manually from the command line:

  1. Open the Windows Explorer in the C:\Python27\Scripts folder.
  2. Press the right Shift key and at the same time right click on the Scripts folder.
  3. Select Open command windows here from the contextual menu.
  4. Type kolibri start --debug --foreground in the command prompt window.

If you get a different output from the command then in the image above, copy it here or post a screenshot so we can analyze the error.

This is the error i get when i start kolibri with manually:

C:\Python27\Scripts>kolibri start --debug --foreground
e[37mINFO     Running Kolibri with the following settings: kolibri.deployment.default.settings.basee[0m
e[37mINFO     Running update routines for new version...e[0m

0 static files copied to 'C:\Users\enock\.kolibri\static', 407 unmodified.
Operations to perform:
  Apply all migrations: sessions, admin, kolibriauth, morango, auth, content, contenttypes, exams, device, logger
Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
e[37mINFO     Running 'kolibri start' in foreground...e[0m
Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\kolibri.exe\__main__.py", line 9, in <module>
  File "c:\python27\lib\site-packages\kolibri\utils\cli.py", line 655, in main
    start(port, daemon=daemon)
  File "c:\python27\lib\site-packages\kolibri\utils\cli.py", line 326, in start
    __, urls = server.get_urls(listen_port=port)
  File "c:\python27\lib\site-packages\kolibri\utils\server.py", line 297, in get_urls
    interfaces = ifcfg.interfaces()
  File "c:\python27\lib\site-packages\kolibri\dist\ifcfg\__init__.py", line 68, in interfaces
    return Parser(ifconfig=ifconfig).interfaces
  File "c:\python27\lib\site-packages\kolibri\dist\ifcfg\parser.py", line 29, in __init__
    self.parse(self.ifconfig_data)
  File "c:\python27\lib\site-packages\kolibri\dist\ifcfg\parser.py", line 53, in parse
    ifconfig, __, __ = exec_cmd(self.get_command())
  File "c:\python27\lib\site-packages\kolibri\dist\ifcfg\tools.py", line 32, in exec_cmd
    stdout = stdout.decode(locale.getpreferredencoding()).encode('utf-8')
  File "c:\python27\lib\encodings\cp1252.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 856: character maps to <undefined>

C:\Python27\Scripts>

@Echota Thank you for providing the details about the error.

I reported the issue on our GitHub repository so our dev team can start working on the fix.

Are you running Windows in English or in some other locale (language)?

My system is in German.
I also tried to install on raspberry pi3 but also receive error saying Python2.7 ist too old. Installing the python to 3.6.3 worked but 2.7 remains default and that is what kolibri is awaiting.

@Echota

Could you try installing this development build to see if it solves the issue you are encountering?

It does not solve the Problem. Still facing the same Error. Has anyone ever managed to get kolibri running on a Windows 10 System?

@Echota Thank you for trying this.

The issue is challenging because for some reason it does not replicate on Windows virtual machines where we do the bulk of our QA testing and debugging… :disappointed:

Could I ask you to delete the whole C:/Users/enock/.kolibri folder and try installing the dev build again?

That i have tried also. it did not produce any results. I will try to build a virtual PC with Windows 10 and try it there

Hi! I love Kolibri but the server does not start on my windows 7 x86. Can you help to do it?

Hi @jmekhteyari -

You can try addressing that issue by following the troubleshooting commands documented here

The issue should also be addressed in our latest release.

Thanks Devon! The problem is solved! Love you!

Just a note in case others continue to experience this problem. In line with the anti-virus software being a potential blocker, we recently had a user report that they couldn’t access Kolibri due to Avast being installed. So it was putting the Python.exe in its ‘Virus Chest’ which was stopping Kolibri from running.

Here are some steps for resolving:

  1. Open Avast.
  2. Click on Protection in the sidebar.
  3. Click on Virus Chest.
  4. Find the file python.exe in the list.
  5. Right click on the file and select ‘Scan’.
  6. If the scan is inconclusive the python.exe file is not infected with a virus.
  7. Right click on the file and select ‘Restore and add to exclusions’.

I got the same problem on Windows 10 System in Chinese Simplified.
Here’s the result when I use kolibri debug command:

INFO     Option DEBUG in section [Server] being overridden by environment variable KOLIBRI_DEBUG
INFO     Option DEBUG_LOG_DATABASE in section [Server] being overridden by environment variable KOLIBRI_DEBUG_LOG_DATABASE
DEBUG    Distro detected as 'Windows'
DEBUG    Using '<class 'ifcfg.parser.WindowsParser'>'
DEBUG    Loaded kolibri plugin: kolibri.core
DEBUG    Loaded kolibri plugin: kolibri.core.auth
DEBUG    Loaded kolibri plugin: kolibri.core.logger
DEBUG    Loaded kolibri plugin: kolibri.core.notifications
DEBUG    Loaded kolibri plugin: kolibri.core.exams
DEBUG    Loaded kolibri plugin: kolibri.core.device
DEBUG    Loaded kolibri plugin: kolibri.core.lessons
INFO     Importing 'tasks' module from django apps
DEBUG    Successfully registered 'kolibri.core.content.tasks.importcontentfromdisk' as job.
DEBUG    Successfully registered 'kolibri.plugins.setup_wizard.tasks.startprovisionsoud' as job.
INFO     Kolibri running on: http://172.16.231.1:8080/
INFO     Kolibri running on: http://172.16.106.1:8080/
INFO     Kolibri running on: http://127.0.0.1:8080/
INFO     Kolibri running on: http://192.168.10.100:8080/
INFO     Kolibri running on: http://172.27.160.1:8080/
INFO     Starting Kolibri 0.15.2
DEBUG    MiddlewareNotUsed('kolibri.core.analytics.middleware.MetricsMiddleware'): Request profiling is not enabled
INFO     Bus state: ENTER
INFO     Running Kolibri as background process
INFO     Going to background mode, logging to C:\Users\Liu\.kolibri\logs\kolibri.txt
PS C:\Users\Liu> kolibri start
INFO     Option DEBUG in section [Server] being overridden by environment variable KOLIBRI_DEBUG
INFO     Option DEBUG_LOG_DATABASE in section [Server] being overridden by environment variable KOLIBRI_DEBUG_LOG_DATABASE
INFO     Running Kolibri with the following settings: kolibri.deployment.default.settings.base
INFO     Importing 'tasks' module from django apps
INFO     Kolibri running on: http://172.16.106.1:8080/
INFO     Kolibri running on: http://172.27.160.1:8080/
INFO     Kolibri running on: http://192.168.10.100:8080/
INFO     Kolibri running on: http://172.16.231.1:8080/
INFO     Kolibri running on: http://127.0.0.1:8080/
INFO     Starting Kolibri 0.15.2
INFO     Bus state: ENTER
INFO     Running Kolibri as background process
INFO     Going to background mode, logging to C:\Users\Liu\.kolibri\logs\kolibri.txt
PS C:\Users\Liu> kolibri start --debug --foreground
INFO     Option DEBUG in section [Server] being overridden by environment variable KOLIBRI_DEBUG
INFO     Option DEBUG_LOG_DATABASE in section [Server] being overridden by environment variable KOLIBRI_DEBUG_LOG_DATABASE
DEBUG    Distro detected as 'Windows'
DEBUG    Using '<class 'ifcfg.parser.WindowsParser'>'
DEBUG    Loaded kolibri plugin: kolibri.core
DEBUG    Loaded kolibri plugin: kolibri.core.auth
DEBUG    Loaded kolibri plugin: kolibri.core.logger
DEBUG    Loaded kolibri plugin: kolibri.core.notifications
DEBUG    Loaded kolibri plugin: kolibri.core.exams
DEBUG    Loaded kolibri plugin: kolibri.core.device
DEBUG    Loaded kolibri plugin: kolibri.core.lessons
INFO     Running Kolibri with the following settings: kolibri.deployment.default.settings.base
INFO     Importing 'tasks' module from django apps
DEBUG    Successfully registered 'kolibri.core.content.tasks.importcontentfromdisk' as job.
DEBUG    Successfully registered 'kolibri.plugins.setup_wizard.tasks.startprovisionsoud' as job.
INFO     Starting Kolibri 0.15.2
DEBUG    MiddlewareNotUsed('kolibri.core.analytics.middleware.MetricsMiddleware'): Request profiling is not enabled
INFO     Bus state: ENTER
INFO     Listening for SIGTERM.
INFO     Listening for SIGINT.
INFO     Bus state: IDLE
INFO     Bus state: START
DEBUG    Successfully registered 'kolibri.core.analytics.utils._ping' as job.
INFO     Starting async task workers.
DEBUG    Started new JOBCHECKER thread ID#f443874eb05a44a28a93af9add4c5ab8
DEBUG    Started new SCHEDULECHECKER thread ID#04f85ad69bba4afc8409f3836770cd0a
INFO     Started monitor thread 'ZeroConfPlugin'.
INFO     Started monitor thread 'ProcessControlPlugin'.
INFO     Starting on 0.0.0.0:6839
INFO     Waiting for 0.0.0.0:6839
INFO     Serving on 0.0.0.0:6839
INFO     Starting on 0.0.0.0:8080
ERROR    Error in 'START' listener <bound method KolibriServerPlugin.START of <kolibri.utils.server.KolibriServerPlugin object at 0x000001B14A77C320>>
Traceback (most recent call last):
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 217, in START
    super(KolibriServerPlugin, self).START()
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 196, in START
    super(ServerPlugin, self).START()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\servers.py", line 164, in START
    self.wait()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\servers.py", line 198, in wait
    raise self.interrupt
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\servers.py", line 177, in _start_http_thread
    self.httpserver.start()
  File "c:\python36\lib\site-packages\kolibri\dist\cheroot\server.py", line 1836, in start
    self.prepare()
  File "c:\python36\lib\site-packages\kolibri\dist\cheroot\server.py", line 1791, in prepare
    raise socket.error(msg)
OSError: No socket could be created -- (('0.0.0.0', 8080): [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。)

ERROR    Error in HTTP server: shutting down
Traceback (most recent call last):
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\servers.py", line 177, in _start_http_thread
    self.httpserver.start()
  File "c:\python36\lib\site-packages\kolibri\dist\cheroot\server.py", line 1836, in start
    self.prepare()
  File "c:\python36\lib\site-packages\kolibri\dist\cheroot\server.py", line 1791, in prepare
    raise socket.error(msg)
OSError: No socket could be created -- (('0.0.0.0', 8080): [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。)
INFO     Bus state: START_ERROR

INFO     Bus state: STOP
ERROR    Exiting due to error in start listener:
Traceback (most recent call last):
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 215, in _transition
    return self.publish(newstate, *args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 291, in publish
    raise exc
magicbus.base.ChannelFailures: OSError("No socket could be created -- (('0.0.0.0', 8080): [WinError 10013] 以一种访问权 限不允许的方式做了一个访问套接字的尝试。)",)

INFO     Bus state: IDLE
INFO     Bus state: EXIT
INFO     Waiting for child threads to terminate...
INFO     Waiting for thread JOBCHECKER-f443874eb05a44a28a93af9add4c5ab8.
INFO     HTTP Server kolibri.utils.server.Server(('0.0.0.0', 6839)) shut down
INFO     HTTP Server kolibri.utils.server.Server(('0.0.0.0', 8080)) already shut down
INFO     Joining 'ProcessControlPlugin'
INFO     Stopped thread 'ProcessControlPlugin'.
INFO     Asking job schedulers to shut down.
DEBUG    SCHEDULECHECKER shut down event received; closing.
DEBUG    JOBCHECKER shut down event received; closing.
INFO     Waiting for thread ZeroConfPlugin.
INFO     Joining 'ZeroConfPlugin'
INFO     Waiting for thread HTTPServer Thread-32.
INFO     Stopped thread 'ZeroConfPlugin'.
INFO     Bus state: EXITED
Exception in thread HTTPServer Thread-32:
Traceback (most recent call last):
  File "c:\python36\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "c:\python36\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\servers.py", line 177, in _start_http_thread
    self.httpserver.start()
  File "c:\python36\lib\site-packages\kolibri\dist\cheroot\server.py", line 1836, in start
    self.prepare()
  File "c:\python36\lib\site-packages\kolibri\dist\cheroot\server.py", line 1791, in prepare
    raise socket.error(msg)
OSError: No socket could be created -- (('0.0.0.0', 8080): [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。)

The deamon.txt in log folder:

Traceback (most recent call last):
  File "c:\python36\lib\logging\__init__.py", line 997, in emit
    stream.write(self.terminator)
OSError: [WinError 6] 句柄无效。
Call stack:
  File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python36\Scripts\kolibri.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 200, in invoke
    return super(KolibriDjangoCommand, self).invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 262, in start
    background=background,
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 764, in start
    bus.run()
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 746, in run
    self.graceful()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\process.py", line 132, in graceful
    self.transition('IDLE')
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 186, in transition
    output.append(self._transition(next_state))
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 215, in _transition
    return self.publish(newstate, *args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\signalhandler.py", line 72, in subscribe_handlers
    self.set_handler(sig, func)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\signalhandler.py", line 124, in set_handler
    self.bus.log('Listening for %s.' % signame)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 362, in log
    self.publish('log', msg, level)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 413, in log
    logger.log(level, msg)
Message: 'Listening for SIGTERM.'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "c:\python36\lib\logging\__init__.py", line 997, in emit
    stream.write(self.terminator)
OSError: [WinError 6] 句柄无效。
Call stack:
  File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python36\Scripts\kolibri.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 200, in invoke
    return super(KolibriDjangoCommand, self).invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 262, in start
    background=background,
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 764, in start
    bus.run()
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 746, in run
    self.graceful()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\process.py", line 132, in graceful
    self.transition('IDLE')
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 186, in transition
    output.append(self._transition(next_state))
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 215, in _transition
    return self.publish(newstate, *args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\signalhandler.py", line 72, in subscribe_handlers
    self.set_handler(sig, func)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\plugins\signalhandler.py", line 124, in set_handler
    self.bus.log('Listening for %s.' % signame)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 362, in log
    self.publish('log', msg, level)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 413, in log
    logger.log(level, msg)
Message: 'Listening for SIGINT.'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "c:\python36\lib\logging\__init__.py", line 997, in emit
    stream.write(self.terminator)
OSError: [WinError 6] 句柄无效。
Call stack:
  File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python36\Scripts\kolibri.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 200, in invoke
    return super(KolibriDjangoCommand, self).invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 262, in start
    background=background,
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 764, in start
    bus.run()
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 746, in run
    self.graceful()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\process.py", line 132, in graceful
    self.transition('IDLE')
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 186, in transition
    output.append(self._transition(next_state))
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 213, in _transition
    self.log('Bus state: %s' % newstate)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 362, in log
    self.publish('log', msg, level)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 413, in log
    logger.log(level, msg)
Message: 'Bus state: IDLE'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "c:\python36\lib\logging\__init__.py", line 997, in emit
    stream.write(self.terminator)
OSError: [WinError 6] 句柄无效。
Call stack:
  File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python36\Scripts\kolibri.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 200, in invoke
    return super(KolibriDjangoCommand, self).invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 262, in start
    background=background,
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 764, in start
    bus.run()
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 746, in run
    self.graceful()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\process.py", line 133, in graceful
    self.transition('RUN')
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 186, in transition
    output.append(self._transition(next_state))
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 213, in _transition
    self.log('Bus state: %s' % newstate)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 362, in log
    self.publish('log', msg, level)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 413, in log
    logger.log(level, msg)
Message: 'Bus state: START'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "c:\python36\lib\logging\__init__.py", line 997, in emit
    stream.write(self.terminator)
OSError: [WinError 6] 句柄无效。
Call stack:
  File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python36\Scripts\kolibri.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 200, in invoke
    return super(KolibriDjangoCommand, self).invoke(ctx)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python36\lib\site-packages\kolibri\dist\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\cli.py", line 262, in start
    background=background,
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 764, in start
    bus.run()
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 746, in run
    self.graceful()
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\process.py", line 133, in graceful
    self.transition('RUN')
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 186, in transition
    output.append(self._transition(next_state))
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 215, in _transition
    return self.publish(newstate, *args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\dist\magicbus\base.py", line 273, in publish
    result = listener(*args, **kwargs)
  File "c:\python36\lib\site-packages\kolibri\utils\server.py", line 260, in START
    self.workers = initialize_workers()
  File "c:\python36\lib\site-packages\kolibri\core\tasks\main.py", line 147, in initialize_workers
    logger.info("Starting async task workers.")
Message: 'Starting async task workers.'
Arguments: ()

Hi @Unili,

It sounds like something on your computer is already running on port 8080, and since only one application can bind to a port at a time, Kolibri fails to start. If you open http://localhost:8080 in your browser, you should be able to see what it is.

If you have further issues or questions, please create a new topic for your them

Regards,
Blaine