GithubHelp home page GithubHelp logo

Comments (7)

raveberry avatar raveberry commented on June 16, 2024

The config file should be located somewhere like ~/.local/lib/python3.7/site-packages/raveberry/config/raveberry.ini. Usually, raveberry system-install prompts you to confirm the config file. Also, local music does not have to be specified at install time, it can be configured after the system install. Actually this is even possible in user-mode (using raveberry run).

Raveberry changes the hostname during the system install. The new hostname can be configured in the config file, but defaults to raveberry. So if the default config file was used (which was probably the case), the hostname was changed. If you want to change it back, run sudo hostname hermes to change it until reboot and edit /etc/hostname to persist the change.

I have a nasty suspicion that you installed an old version of raveberry (probably 0.2.4). Ubuntu 18.04 ships with python 3.6 and since 0.3.0 raveberry requires at least python 3.7. So if you installed it with your default installation of pip you have a version that is almost half a year old, and a lot of stuff changed since then.
For example, the port of the user-level server is now 8080 due to a clash with the streaming service icecast.

Unfortunately, performing a system install on Ubuntu 18.04 is quite time-consuming (but possible!), due to mopidy requiring python 3.7. See also the note in the readme. I suggest you use docker instead, that will also work on Ubuntu 18.04, or upgrade your system to Ubuntu 20.04.

from raveberry.

tiny-e avatar tiny-e commented on June 16, 2024

Also, do I need to be root to install it with pip if I'm running as a regular non-root user? (eg, use sudo)

from raveberry.

raveberry avatar raveberry commented on June 16, 2024

No, you don't. It doesn't matter which user installs the pip package. During system install, you will be prompted for the root password, as it requires sudo privileges.

from raveberry.

tiny-e avatar tiny-e commented on June 16, 2024

Giving it a go now.. fingers crossed.

from raveberry.

tiny-e avatar tiny-e commented on June 16, 2024

welp... something looks borked. (see here if interested: https://pastebin.com/mm3TAhik) -- And thank you for your time spent helping out. May be easier for me to just grab a pi and hook it up somewhere to test... :)

I see it's referencing python 3.6, but I do have (and I installed with 3.7)

from raveberry.

raveberry avatar raveberry commented on June 16, 2024

The first error (ModuleNotFoundError: No module named 'watson') appears, because raveberry will use your python3 interpreter by default, which is python 3.6 in your case. The dependencies of the new version are only installed for python 3.7.
To fix this, you could run raveberry with python 3.7 explicitly: python3.7 ~/.local/bin/raveberry run.

The second error (ERROR: A GObject based library was not found.) however is a lot harder to fix. Mopidy does not support python 3.6, so some workarounds are required. These are described here (which is also linked in the readme).

I would still recommend you to use the docker setup or upgrade your system, as making mopidy 3 work on Ubuntu 18 is not the most straightforward thing. Or use a pi if you have a spare one lying around.

from raveberry.

tiny-e avatar tiny-e commented on June 16, 2024

Decided it was easier to go to a RPi for testing than overhaul my VM (which has other stuff on it). Closing issue.

from raveberry.

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.