Skip to content

Check requirements on startup (instead of failing with a loud traceback later) #65

Closed

Description

@PAStheLoD

Hello,

Since letsencrypt is targeting less experienced system administrators (dare we call them users?), it'd be good to have nice error messages instead of these:

...
  File "/root/.venvs/letsencrypt/local/lib/python2.7/site-packages/python2_pythondialog-3.0.1-py2.7.egg/dialog.py", line 485, in _path_to_executable
    "can't find the executable for the dialog-like "
dialog.ExecutableNotFound

and

...
  File "/root/.venvs/letsencrypt/local/lib/python2.7/site-packages/python_augeas-0.5.0-py2.7.egg/augeas.py", line 75, in _dlopen
    raise ImportError("Unable to import lib%s!" % args[0])
ImportError: Unable to import libaugeas!

Activity

  1. jdkasten commented on Nov 23, 2014

    @jdkasten
    Contributor

    We hope that our package manager will make sure that there are not any of these errors. They should just be able to sudo apt-get install letsencrypt and everything should work seamlessly.

    I do agree though that we should try to clean up the code as much as possible and attempt to make it foolproof.

  2. kuba commented on Dec 10, 2014

    @kuba
    Contributor

    The same applies for LetsEncryptConfiguratorError: Could not find configuration root, that pops up if Apache is not installed, etc.

  3. jdkasten commented on Jun 29, 2015

    @jdkasten
    Contributor

    This is has been/being addressed, especially with @BradMW work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions