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

Missing icons after installation #31

Open
thealienthing opened this issue Jan 30, 2023 · 1 comment
Open

Missing icons after installation #31

thealienthing opened this issue Jan 30, 2023 · 1 comment

Comments

@thealienthing
Copy link

thealienthing commented Jan 30, 2023

I've tried installing directly from pip and building from the source, but about 80% of my UI buttons are missing icons which makes it very difficult to figure the tool out. Anyone know what I might be missing? I've followed the exact instruction from the documentation for building.

EDIT:

OS: Ubuntu 22.04 Jammy
Python Version: 3.10

@thealienthing
Copy link
Author

FIXED

After reading through error logs, it seems that python3.10 is not friendly with some of the function calls. I'll post an error dump from my bad build later. Here was the fix.

  1. Installed older python. Tried python3.7 since it appears the errors I saw in my logs happened 3.8 and beyond. I used pyenv to install 3.7 but it took several attempt before it worked. See following steps
  2. Missing packages must be installed before using pyenv to install 3.7: sqlite3 readline bz2 Tk
    sudo apt install sqlite3 libsqlite3-dev libreadline-dev libreadline8 libbz2-dev libbz2-1.0 tk-dev
  3. If you do not install the previous packages, pyenv will not setup Cpython completely for running the app. Once those are installed, run pyenv install 3.7
  4. Since we need sudo privileges to actually install the binary, I needed to do some absolute path specification instead of running the exact commands in the documention. This worked:
    sudo ~/.pyenv/versions/3.7.16/bin/pip3 install git+https://github.com/DroneCAN/gui_tool@master

After all this, I finally got icons showing up and I can everything thats going on.

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