calpoly-csai / api

Official API for the NIMBUS Voice Assistant accessible via HTTP REST protocol.
https://nimbus.api.calpolycsai.com/
GNU General Public License v3.0
9 stars 4 forks source link

This fixes the segfaults on Ubuntu. #94

Closed snekiam closed 4 years ago

snekiam commented 4 years ago

The import does not seem to be actually used by anything, so we need to investigate why this fixes things. This causes a linting error for unused import. We should probably try and figure out what the true root cause is.

What's New?

This adds a new import to nimbus.py which fixes the segfault issue on ubuntu.

Fixes #90 on Ubuntu

Type of change (pick-one)

How Has This Been Tested?

Ran nimbus.py on Ubuntu 18.04.1 LTS

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
$ uname -r
4.15.0-22-generic

Checklist (check-all-before-merge)

formatting help: - [x] means "checked' and - [ ] means "unchecked"