StreamController icon indicating copy to clipboard operation
StreamController copied to clipboard

Can't open using the GitHub method

Open CharlesCanlom opened this issue 1 year ago • 5 comments

Describe the bug I tried installing the app using the GitHub method, but every time i use python3 main.py to open it, it always put this callback thingy.

To Reproduce Steps to reproduce the behavior:

  1. Follow the instructions using the GitHub method
  2. switch the branch to sd-neo
  3. run python3 main.py
  4. Saw a callback.

Expected behavior I expected it to show the app on first try.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I'm running Zorin Os 17.2, and here's the error message:

Traceback (most recent call last):
  File "/home/olivereverest/StreamController/main.py", line 40, in <module>
    from src.app import App
  File "/home/olivereverest/StreamController/src/app.py", line 35, in <module>
    from src.windows.mainWindow.mainWindow import MainWindow
  File "/home/olivereverest/StreamController/src/windows/mainWindow/mainWindow.py", line 32, in <module>
    from src.windows.mainWindow.elements.Sidebar.Sidebar import Sidebar
  File "/home/olivereverest/StreamController/src/windows/mainWindow/elements/Sidebar/Sidebar.py", line 21, in <module>
    from src.windows.mainWindow.elements.PageSelector import PageSelector
  File "/home/olivereverest/StreamController/src/windows/mainWindow/elements/PageSelector.py", line 30, in <module>
    from src.windows.PageManager.PageManager import PageManager
  File "/home/olivereverest/StreamController/src/windows/PageManager/PageManager.py", line 25, in <module>
    from src.windows.PageManager.elements.PageSelector import PageSelector
  File "/home/olivereverest/StreamController/src/windows/PageManager/elements/PageSelector.py", line 40, in <module>
    class PageSelector(Adw.NavigationPage):
  File "/home/olivereverest/StreamController/.venv/lib/python3.10/site-packages/gi/module.py", line 130, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Adw' object has no attribute 'NavigationPage'

CharlesCanlom avatar Oct 06 '24 08:10 CharlesCanlom

Unfortunately, your Adw version seems to be too old. You need at least version 1.4.

Core447 avatar Oct 07 '24 10:10 Core447

I have the same issue and I have checked that libadwaita is current...

libadwaita-1-0 is already the newest version (1.3.3-0ubuntu0.23.04.1+zorin2).

Still have the same issue.

pblanton avatar Oct 09 '24 21:10 pblanton

is current...

``

Yeah, it's the newest that your distro gets, but no the newest available. You can just use the Flatpak to avoid this issue.

Core447 avatar Oct 10 '24 15:10 Core447

You can just use the Flatpak to avoid this issue.

But I wanted to use the sd-neo branch because I have a Stream Deck Neo.

CharlesCanlom avatar Oct 10 '24 23:10 CharlesCanlom

But I wanted to use the sd-neo branch because I have a Stream Deck Neo.

Unfortunately it seems like your distro doesn't ship any newer version of adwaita. You can either wait until the next release (which will come with sd-neo support) or you manually create the Flatpak. To do the later please run the commands from the first image until you reach the read line. Then edit the com.core447..... file and change the branch from main to sd-neo where the arrow is. Then continue with the commands from the first image. You may need to install flatpak-builder before running the very last command. cmd cmd2

Core447 avatar Oct 11 '24 18:10 Core447

But I wanted to use the sd-neo branch because I have a Stream Deck Neo.

The sd neo is now supported by the Flatpak version.

Core447 avatar Jan 12 '25 11:01 Core447