Some questions about argos

I have just installed argos on my xubuntu Linux laptop, it seems pretty close to the sort of simple application I want for accessing my Mopidy server. However I have a couple of problems with it:-

I can’t see any way exit from the program

I can’t browse my library (works perfectly from several Mopidy web clients) and I get the following errors from Argos:-

2022-12-30 16:56:41,520 EventLoopThread INFO: argos.controllers.albums - Starting to browse albums…
2022-12-30 16:56:41,566 EventLoopThread WARNING: argos.controllers.albums - No known backend supports URI ‘file:///home/chris/music’
2022-12-30 16:56:41,566 EventLoopThread WARNING: argos.controllers.albums - Skipping unsupported directory with URI ‘file:///home/chris/music’
2022-12-30 16:56:41,609 MainThread INFO: argos.model.model - Albums loaded
2022-12-30 16:58:01,415 EventLoopThread INFO: argos.controllers.playlists - Begin of history playlist completion
2022-12-30 16:58:01,530 EventLoopThread INFO: argos.controllers.playlists - End of history playlist completion

So any ideas on how to get Argos fully working please.

Hi @chrisisbd, sorry for the delay, I am not reading that forum that often.

I can’t see any way exit from the program

Can you confirm Argos is running in full screen mode (option to be found in the third tab of the preference dialog)? Then it’s expected that the close button is hidden in that case; If you maximize you’ll have the close button still showing. In any case, one should be able to close the application using Ctrl+Q.

I can’t browse my library (works perfectly from several Mopidy web clients) and I get the following errors from Argos:-

I released 1.8.0 few days ago with support for Mopidy-File. Previous version were not supporting this extension, thus please try with that version. And let me know, please!

Thanks for trying Argos!

I’ve finally got around to trying this and now I’m totally stuck! I
have Mopidy running on a Raspberry Pi 4. I’ve run ‘apt update’ and ‘apt
upgrade’ and I have argos version 1.8 installed:-

root@pimedia:~# dpkg -l | grep -i argos
ii argos 1.8.0-1 all Light weight Mopidy front-end.

However when I go the Mopidy web page there’s no sign of argos being
available, other front-ends are working:-

Web clients
bookmarks
iris
mobile
mowecl
musicbox_webclient

Am I being very stupid or what? I got it working before without any
issues.

[snip]

I’ve finally got around to trying this and now I’m totally stuck! I
have Mopidy running on a Raspberry Pi 4. I’ve run ‘apt update’ and ‘apt
upgrade’ and I have argos version 1.8 installed:-

root@pimedia:~# dpkg -l | grep -i argos
ii argos 1.8.0-1 all Light weight Mopidy front-end.

However when I go the Mopidy web page there’s no sign of argos being
available, other front-ends are working:-

Web clients
bookmarks
iris
mobile
mowecl
musicbox_webclient

Am I being very stupid or what? I got it working before without any
issues.

There’s obviously something very wrong with my installation of argos:-

chris@pimedia$ argos --help
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(argos:809): Gtk-CRITICAL **: 10:39:38.306:
gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Traceback (most recent call last):
  File "/usr/bin/argos", line 29, in <module>
    from argos.app import Application
  File "/usr/share/argos/argos/app.py", line 34, in <module>
    from argos.widgets import (
  File "/usr/share/argos/argos/widgets/__init__.py", line 2, in <module>
    from argos.widgets.albumdetailsbox import AlbumDetailsBox
  File "/usr/share/argos/argos/widgets/albumdetailsbox.py", line 32, in <module>
    class AlbumDetailsBox(Gtk.Box):
  File "/usr/share/argos/argos/widgets/albumdetailsbox.py", line 44, in AlbumDetailsBox
    default_album_image = default_image_pixbuf(
  File "/usr/share/argos/argos/widgets/utils.py", line 19, in default_image_pixbuf
    pixbuf = Gtk.IconTheme.get_default().load_icon(icon_name, target_width, 0)
AttributeError: 'NoneType' object has no attribute 'load_icon'
chris@pimedia$

Argos is not a Mopidy extension, nor a Mopidy web front-end. You won’t “see it” through a web browser!

It’s a standalone application; It can be launched by calling argos from a terminal for example.

Note also that Argos isn’t published in any official repository of DEB packages, thus apt update or any other apt command has no effect on which version is installed: You have to download a DEB package from Github and install “by hand” using dpkg.

Sorry I didn’t see the second part of your message!

I guess you didn’t installed all aiohttp-client-cache dependencies:

$ sudo apt install sqlite3
$ python3 -m pip install aiosqlite aiohttp-client-cache

Or there’s missing Gtk dependencies. In such case, please open an issue here: Issues · orontee/argos · GitHub.

OK, I am being stupid! :slight_smile:

Running argos via an ‘ssh -Y’ connection and as an ordinary user works
OK. I can now browse successfully in clicking ‘Library’.

However I’m still a little confused, why doesn’t argos get offered by
Mopidy as a front-end? I’d like to be able to run it from (for
example) an Android phone and I can’t ‘ssh -Y’ from there, I need to
be able to access it via a web browser.

Ah, oops, OK. I guess it’s just my memory is getting past it! :slight_smile:

Yes, it’s all working exactly as it should then, and your
fixes/changes in version 1.8 are working and allowing me to browse my
directory tree of music.

Is there any chance of an ‘Argos for Android’? :slight_smile:

No, as you can see it was all my incompetance. It’s now all working
as intended.

Currently (as I said) I’m running via an ‘ssh -Y’ connection, argos
1.8 installed on the headless Raspberry Pi and displaying (via the ssh
connection) on my xubuntu laptop.

I’ll install 1.8 on my laptop now and see how that goes (now I at
least sort of know what I’m doing!).

Yes, works beautifully, incredibly simple and straightforward
interface, what more could I want! It just works.

Thank you.

1 Like