Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Exit analysis early if no ID manager is available #49

Open
wolfgangmauerer opened this issue May 9, 2016 · 1 comment
Open

Exit analysis early if no ID manager is available #49

wolfgangmauerer opened this issue May 9, 2016 · 1 comment

Comments

@wolfgangmauerer
Copy link
Collaborator

When the ID manager is not available (most likely because the user forgot to start the
service), Codeface first finished VCS analysis part 1 and then throws a no completly
helpful error message:

2016-05-09 18:56:07 [codeface.util] MainProcess CRITICAL: Uncaught exception in worker thread:
Traceback (most recent call last):                                                       | ETA:  --:--:--
  File "/usr/local/bin/codeface", line 9, in <module>
    load_entry_point('codeface', 'console_scripts', 'codeface')()
(...)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 111] Connection refused

The front-end should check the availability of the ID manager at startup (of course only for the passes that require ID services), and exit early with a proper error message if the service is not available.

@wolfgangmauerer
Copy link
Collaborator Author

For vagrant based deployments, Codeface should automatically start the ID manager because
paths to configuration files are clear in this case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant