Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't launch in Xenial 16.04: Error in sys.excepthook: #144

Open
pmo-19 opened this issue Feb 25, 2018 · 0 comments
Open

Doesn't launch in Xenial 16.04: Error in sys.excepthook: #144

pmo-19 opened this issue Feb 25, 2018 · 0 comments

Comments

@pmo-19
Copy link

pmo-19 commented Feb 25, 2018

Nothing more than empty fields ...

$ vidcutter 
Error in sys.excepthook:

Original exception was:
$ 

What is going on ? This is my first install with the latest version 5.5.0
I have seen on another python project:

We have been able to get rid of these empty errors by closing sys.stderr and sys.stdout in ceph-deploy (see reference issue http://tracker.ceph.com/issues/7594 )

This is how we now call main():

#!python

if __name__ == '__main__':
    try:
        sys.exit(main())
    finally:
        # This block is crucial to avoid having issues with
        # Python spitting non-sense thread exceptions. We have already
        # handled what we could, so close stderr and stdout.
        if not os.environ.get('CEPH_DEPLOY_TEST'):
            try:
                sys.stdout.close()
            except:
                pass
            try:
                sys.stderr.close()
            except:
                pass

@pmo-19 pmo-19 changed the title Doesnt't launch in Xenial 16.04: Error in sys.excepthook: Doesn't launch in Xenial 16.04: Error in sys.excepthook: Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant