GithubHelp home page GithubHelp logo

Comments (9)

salmanfarisvp avatar salmanfarisvp commented on August 18, 2024 1

Hi @Napsty, The Raspberry Pi imager has an old version of the Anthias Balena image. For the newest version, For the newest version please use the Anthias installation using the Script or follow the guide here Setting Up Anthias on Raspberry Pi for Digital Signage 🖥️ , Please check and let us know.

The issue you mentioned was fixed in the latest PR #1849

from anthias.

Napsty avatar Napsty commented on August 18, 2024 1

Will try and report back

from anthias.

Napsty avatar Napsty commented on August 18, 2024 1

Bookworm support is still ongoing

Ah that's why, thanks for the information. Status quo: I have a working Anthias environment running on Raspberry Pi 3b with Raspbian Bookworm 64-bit. The containers are all up. I will try with this and compare to the one running with BalenaOS. Keep you updated here.

from anthias.

Napsty avatar Napsty commented on August 18, 2024

Errors in viewer container logs, when I manually click on "Next Asset":

[h264 @ 0xe42188c0] no frame!
get_next_asset
refresh_playlist
refresh: counter: (0) deadline (2023-12-27 14:32:00) timecur (2023-12-28 15:36:31.063231)
update_playlist
Generating asset-list...
generate_asset_list deadline: 2023-12-27 14:32:00
get_next_asset after refresh
get_next_asset counter 0 returning asset 1 of 1
Showing asset NeueLieblingsbrillefuer2024.mp4 (video)
Asset URI /data/screenly_assets/5fce0283701f4705882b73171022febf.mp4
Displaying video /data/screenly_assets/5fce0283701f4705882b73171022febf.mp4 for 15 
Reading config-file...
Current url is null
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
[f1ec05d0] main video output error: video output creation failed
[e440bd40] main decoder error: failed to create video output
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
[f1ec05d0] main video output error: video output creation failed
[e440bd40] main decoder error: failed to create video output
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
[e46d0998] main video output error: video output creation failed
[e440bd40] main decoder error: failed to create video output
[h264 @ 0xe4401900] get_buffer() failed
[h264 @ 0xe4401900] thread_get_buffer() failed
[h264 @ 0xe4401900] decode_slice_header error
[h264 @ 0xe4401900] no frame!
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.

from anthias.

Napsty avatar Napsty commented on August 18, 2024

Hi @salmanfarisvp I tried to install Anthias using the script method and following your tutorial, but it doesn't work. The setup script runs into an error when trying to install the Ansible package.

Excerpt:

...
Processing triggers for man-db (2.11.2-2) ...
+ '[' Y == y ']'
+ export MANAGE_NETWORK=false
+ MANAGE_NETWORK=false
+ '[' master = master ']'
++ curl -s https://raw.githubusercontent.com/screenly/anthias/master/requirements/requirements.host.txt
++ grep ansible
+ ANSIBLE_VERSION=ansible-core==2.12
+ sudo pip install cryptography==38.0.2
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
+ sudo pip install ansible-core==2.12
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
+ sudo -u pi ansible localhost -m git -a 'repo=https://github.com/screenly/anthias.git dest=/home/pi/screenly version=master force=no'
sudo: ansible: command not found
+ cd /home/pi/screenly/ansible
/dev/fd/63: line 190: cd: /home/pi/screenly/ansible: No such file or directory
+ sudo -E -u pi ansible-playbook site.yml
sudo: ansible-playbook: command not found
+ sudo -u pi /home/pi/screenly/bin/upgrade_containers.sh
sudo: /home/pi/screenly/bin/upgrade_containers.sh: command not found
+ sudo apt-get autoclean
...

That's the issue #1834 hitting here.

from anthias.

salmanfarisvp avatar salmanfarisvp commented on August 18, 2024

@Napsty Can you confirm the OS version and is it a 32 or 64-bit OS? and how did you connect to the internet?

from anthias.

Napsty avatar Napsty commented on August 18, 2024

One needs to apply the workaround mentioned in #1834 (comment) to be able to install Anthias using the script method (at least with Raspbian Bookworm 64bit).

I will test with this new Anthias setup and see whether the videos stop working or not.

from anthias.

salmanfarisvp avatar salmanfarisvp commented on August 18, 2024

@Napsty Bookworm support is still ongoing and you can find the details here at #1836 . Meanwhile, Can you please try to use Bullseye 64-bit and let us know?

from anthias.

nicomiguelino avatar nicomiguelino commented on August 18, 2024

@Napsty, changes to make installer work on Bookworm were recently merged — #1836

Please let us know if you're still having issues or not.

from anthias.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.