Stopped starting up in dev environment


Working fine last week (virtualbox dev environment VM), even created wheel file, moved to pord VM and installed no problem, but logged into today and got this – also tried my backup clone with same response – I have done nothing – Honest!!

Once started you can access the system using http://centos.centosdev:8000

Setting PATH

Changing directories

starting maildump - localhost:1080
Running virtualenv with interpreter /usr/bin/python2.7
New python executable in /home/indico/dev/indico/maildump/bin/python2.7
Not overwriting existing python script /home/indico/dev/indico/maildump/bin/python (you must use /home/indico/dev/indico/maildump/bin/python2.7)
Installing setuptools, pip, wheel…done.
finished maildump

Starting env

Now about to run …

  • Serving Indico on http://centos.centosdev:8000
  • Werkzeug debugger console on http://centos.centosdev:8000/console
  • Werkzeug debugger console is available to all clients!
    Traceback (most recent call last):
    File “/home/indico/dev/indico/env/bin/indico”, line 11, in
    load_entry_point(‘indico’, ‘console_scripts’, ‘indico’)()
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 722, in call
    return self.main(*args, **kwargs)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/flask/”, line 380, in main
    return AppGroup.main(self, *args, **kwargs)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 697, in main
    rv = self.invoke(ctx)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 535, in invoke
    return callback(*args, **kwargs)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 64, in new_func
    return ctx.invoke(f, obj, *args[1:], **kwargs)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/click/”, line 535, in invoke
    return callback(*args, **kwargs)
    File “/home/indico/dev/indico/src/indico/cli/”, line 172, in run
    run_cmd(info, **kwargs)
    File “/home/indico/dev/indico/src/indico/cli/”, line 86, in run_cmd
    extra_files=extra_files, request_handler=QuietWSGIRequestHandler if quiet else None)
    File “/home/indico/dev/indico/env/lib/python2.7/site-packages/werkzeug/”, line 795, in run_simple
    s.bind(get_sockaddr(hostname, port, address_family))
    File “/usr/lib64/python2.7/”, line 224, in meth
    return getattr(self._sock,name)(*args)
    socket.error: [Errno 99] Cannot assign requested address
    [indico@centos ~]$

my script

echo “Setting PATH”
export PATH=/usr/bin/npx:$PATH
echo “Changing directories”

cd ~/dev/indico
echo “starting maildump - localhost:1080”

virtualenv maildump -p /usr/bin/python2.7
#./maildump/bin/pip install -U pip setuptools
#./maildump/bin/pip install maildump
#./maildump/bin/maildump -p /tmp/

echo ‘finished maildump’
echo “Starting env”
source ./env/bin/activate

cd src

echo “Now about to run …”

indico run -h centos.centosdev -q --enable-evalex && fg

My guess is that centos.centosdev resolves to something invalid or doesn’t resolve at all… not really in the scope of indico though. Safest option is to use an IP address in -h and then using -u http://whatever for the host you actually use to access it.