Launching error with DLS 2.0.6 on windows

When starting the tool I get the folowing log message, and starting process never ends. Can you help ?

Starting Deep Learning Studio...

Checking GPU support…
GPU not supported
skipping cifar dataset download!
skipping IMDB dataset download!
skipping MNIST dataset download!
skipping reuters dataset download!
/home/app/start.sh: line 110: 3656 Segmentation fault ./manage.py makemigrations --noinput
loading initial db
/home/app/start.sh: line 110: 14452 Segmentation fault ./manage.py loaddata initialdb.json
Using MXNet backend.
[I 18:42:55.665 NotebookApp] Serving notebooks from local directory: C:\Users\yyyyyyyyyyyyyyyy\AppData\Local\Programs\DeepLearningStudio\data\1
[I 18:42:55.665 NotebookApp] 0 active kernels
[I 18:42:55.665 NotebookApp] The Jupyter Notebook is running at:
[I 18:42:55.665 NotebookApp] http://127.0.0.1:1240/?token=
[I 18:42:55.665 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Starting server worker…

Server worker has been started. [ID: 1 | PID: 10744]

Server worker is ready to accept messages. [ID: 1 | PID: 10744]

[2018-04-15T16:43:03.894Z] INFO: Theia/10744 on WIN-xxxxxxxxxx: Theia app listening on http://0.0.0.0:8897. []

Received message which is neither a response nor a notification message:
“8897”

[2018-04-15T16:43:04.282Z] INFO: Theia/10744 on WIN-xxxxxxxxxxxxxx :
[nsfw-watcher: 7388] Started watching: c:\Users\yyyyyyyyyyyyyyyy\AppData\Local\Programs\DeepLearningStudio\home\theia\examples\browser\package.json
[]

Do you have existing python installation which is present in system PATH ? If yes, could you try removing it from system PATH and then try restarting Deep Learning Studio Manager.

Thank you for you fast reply : thing seems go further : I removed the existing Python references from the PATH. Logs seems to go further now but there is still something wrong at the end. Can you help ?

Starting Deep Learning Studio...

Checking GPU support…
GPU not supported
skipping cifar dataset download!
skipping IMDB dataset download!
skipping MNIST dataset download!
skipping reuters dataset download!
Migrations for ‘environments’:
environments\migrations\0001_initial.py:
- Create model EnvironmentModel
Migrations for ‘automl’:
automl\migrations\0001_initial.py:
- Create model AutoMLModel
Migrations for ‘project’:
project\migrations\0001_initial.py:
- Create model dataModel
- Create model deepModel
- Create model importModel
- Create model paramsModel
- Create model testModel
- Create model trainingModel
Migrations for ‘projects’:
projects\migrations\0001_initial.py:
- Create model Project
Using MXNet backend.
C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\allauth\account\templatetags\account_tags.py:4: DeprecationWarning: {% load account_tags %} is deprecated, use {% load account %}
DeprecationWarning)
C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\allauth\socialaccount\templatetags\socialaccount_tags.py:4: DeprecationWarning: {% load socialaccount_tags %} is deprecated, use {% load socialaccount %}
" {% load socialaccount %}", DeprecationWarning)
Operations to perform:
Apply all migrations: account, admin, auth, authtoken, automl, contenttypes, environments, project, projects, reversion, sessions, sites, socialaccount
Running migrations:
Applying contenttypes.0001_initial… OK
Applying auth.0001_initial… OK
Applying account.0001_initial… OK
Applying account.0002_email_max_length… OK
Applying admin.0001_initial… OK
Applying admin.0002_logentry_remove_auto_add… OK
Applying contenttypes.0002_remove_content_type_name… OK
Applying auth.0002_alter_permission_name_max_length… OK
Applying auth.0003_alter_user_email_max_length… OK
Applying auth.0004_alter_user_username_opts… OK
Applying auth.0005_alter_user_last_login_null… OK
Applying auth.0006_require_contenttypes_0002… OK
Applying auth.0007_alter_validators_add_error_messages… OK
Applying auth.0008_alter_user_username_max_length… OK
Applying authtoken.0001_initial… OK
Applying authtoken.0002_auto_20160226_1747… OK
Applying automl.0001_initial… OK
Applying environments.0001_initial… OK
Applying project.0001_initial… OK
Applying projects.0001_initial… OK
Applying reversion.0001_squashed_0004_auto_20160611_1202… OK
Applying sessions.0001_initial… OK
Applying sites.0001_initial… OK
Applying sites.0002_alter_domain_unique… OK
Applying socialaccount.0001_initial… OK
Applying socialaccount.0002_token_max_lengths… OK
Applying socialaccount.0003_extra_data_default_dict… OK
Using MXNet backend.
C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\allauth\account\templatetags\account_tags.py:4: DeprecationWarning: {% load account_tags %} is deprecated, use {% load account %}
DeprecationWarning)
C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\allauth\socialaccount\templatetags\socialaccount_tags.py:4: DeprecationWarning: {% load socialaccount_tags %} is deprecated, use {% load socialaccount %}
" {% load socialaccount %}", DeprecationWarning)
loading initial db
Installed 2 object(s) from 1 fixture(s)
Using MXNet backend.
C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\allauth\account\templatetags\account_tags.py:4: DeprecationWarning: {% load account_tags %} is deprecated, use {% load account %}
DeprecationWarning)
C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\allauth\socialaccount\templatetags\socialaccount_tags.py:4: DeprecationWarning: {% load socialaccount_tags %} is deprecated, use {% load socialaccount %}
" {% load socialaccount %}", DeprecationWarning)
Using MXNet backend.
Using MXNet backend.

  • Running on http://127.0.0.1:6666/ (Press CTRL+C to quit)
    [I 13:33:13.852 NotebookApp] The port 1240 is already in use, trying another port.
    [I 13:33:14.036 NotebookApp] Serving notebooks from local directory: C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\data\1
    [I 13:33:14.036 NotebookApp] 0 active kernels
    [I 13:33:14.036 NotebookApp] The Jupyter Notebook is running at:
    [I 13:33:14.036 NotebookApp] http://127.0.0.1:1241/?token=
    [I 13:33:14.036 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    Starting server worker…

[16/Apr/2018:13:33:16] ENGINE Bus STARTING
Server worker has been started. [ID: 1 | PID: 21068]

[16/Apr/2018:13:33:17] ENGINE Error in ‘start’ listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x000001AB2C62BC88>>
Traceback (most recent call last):
File “C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\cherrypy\process\wspbus.py”, line 230, in publish
output.append(listener(*args, **kwargs))
File “C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\cherrypy_cpserver.py”, line 173, in start
super(Server, self).start()
File “C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\cherrypy\process\servers.py”, line 177, in start
portend.free(*self.bind_addr, timeout=Timeouts.free)
File “C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\portend.py”, line 119, in free
raise Timeout(“Port {port} not free on {host}.”.format(**locals()))
portend.Timeout: Port 8000 not free on 0.0.0.0.

[16/Apr/2018:13:33:17] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File “C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\cherrypy\process\wspbus.py”, line 268, in start
self.publish(‘start’)
File “C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\conda3\lib\site-packages\cherrypy\process\wspbus.py”, line 248, in publish
raise exc
cherrypy.process.wspbus.ChannelFailures: Timeout(‘Port 8000 not free on 0.0.0.0.’,)

[16/Apr/2018:13:33:17] ENGINE Bus STOPPING
[16/Apr/2018:13:33:17] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer((‘0.0.0.0’, 8000)) already shut down
[16/Apr/2018:13:33:17] ENGINE Bus STOPPED
[16/Apr/2018:13:33:17] ENGINE Bus EXITING
[16/Apr/2018:13:33:17] ENGINE Bus EXITED
Server worker is ready to accept messages. [ID: 1 | PID: 21068]

[2018-04-16T11:33:24.119Z] ERROR: Theia/21068 on yyyyyyyyyyyyyy: Uncaught Exception: [ ‘Error: bind EADDRINUSE 0.0.0.0:8897’ ]

[2018-04-16T11:33:24.120Z] ERROR: Theia/21068 on yyyyyyyyyyyyyy:
Error: bind EADDRINUSE 0.0.0.0:8897
at Object._errnoException (util.js:1024:11)
at _exceptionWithHostPort (util.js:1046:20)
at listenOnMasterHandle (net.js:1411:16)
at shared (internal/cluster/child.js:105:3)
at Worker.send (internal/cluster/child.js:76:7)
at process.onInternalMessage (internal/cluster/utils.js:42:8)
at emitTwo (events.js:131:20)
at process.emit (events.js:214:7)
at emit (internal/child_process.js:772:12)
at _combinedTickCallback (internal/process/next_tick.js:141:11) []

[2018-04-16T11:33:24.572Z] INFO: Theia/21068 on yyyyyyyyyyyyyy:
[nsfw-watcher: 2404] Started watching: c:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\home\theia\examples\browser\package.json
[]

This seems to be an issue because of port 8000 is not available on the system. if it is possible to free up that port on the system, that would be easy way to resolve it.

8897 also seems to be in use. By any chance, there is another deep learning studio instance running ? You can try rebooting and check if port 8897 is still busy.

If port 8897 is not available, you can choose a different port range from settings tab. However port 8000 is hardcoded and it need changes in 2 files:

  1. C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\home\app\server.py
  2. C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\nginx\conf\sites-available\default

You can change 8000 port number to any other available port and restart the system.

We will be making 8000 port configurable in upcoming versions.

Hello, Thank you again for your answer, things are going better :

  • I changed the port in the files
  • port 8897 was used by node.js, surely somthing from a previous DLS execution
  • I restarted the machine

Still the status is “DLS is starting” and it never ends.

Please find below the logs. I cannot see any error message anymore though.

One last thing, the “default” file seems to be overwritten at the start of the app.

You are right about the default file.

You should modify the port number in C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\DeepLearningStudio\etc\nginx\sites-available\default. This is the file which is copied to the location I mentioned earlier.

This should fix the “DLS is starting” issue.

Awesome, everything works fine now !
thank you