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

[BUG] Installation Issue #56

Open
polishedmarvin opened this issue Mar 28, 2022 · 1 comment
Open

[BUG] Installation Issue #56

polishedmarvin opened this issue Mar 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@polishedmarvin
Copy link

I recently installed pirowflo on a Pi3B+ using a fresh updated copy of Debian bullseye and following the read.me project installation instructions. During execution of the install script an error occurred prevent installation completion. Snips of the log report follow.

{snip start}
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6d0k7z60/dbus-python_55cbf7bccf4a41f3ba79dde8a3b9889d/setup.py'"'"'; file='"'"'/tmp/pip-install-6d0k7z60/dbus-python_55cbf7bccf4a41f3ba79dde8a3b9889d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-26ixpw3z/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/dbus-python
cwd: /tmp/pip-install-6d0k7z60/dbus-python_55cbf7bccf4a41f3ba79dde8a3b9889d/
Complete output (146 lines):

{snip}

checking for dbus-1 >= 1.8... no
configure: error: Package requirements (dbus-1 >= 1.8) were not met:

No package 'dbus-1’ found

{snip end}

I was able to resolve the issue using the following command:

sudo apt install build-essential libdbus-glib-1-dev libgirepository1.0-dev
pip install dbus-python

I then sucessfully reran the pirowflo installation script. The install competed successfully but I did note the following potential issues show below.

{snip}

configuring web interface on http://raspberrypi:9001

sed: can't read services/supervisord.service: No such file or directory
sed: can't read services/supervisord.service: No such file or directory
sed: can't read services/supervisord.service: No such file or directory
mv: cannot stat 'services/supervisord.service': No such file or directory


Update bluetooth settings according to Apple specifications

sed: can't read services/update-bt-cfg.service: No such file or directory
mv: cannot stat 'services/update-bt-cfg.service': No such file or directory


setup screen setting to start up at boot

sed: can't read services/screen.service: No such file or directory
sed: can't read services/screen.service: No such file or directory
mv: cannot stat 'services/screen.service': No such file or directory

{snip end}

I am using pirowflow with the S4 monitor and the Pi 3B+ bluetooth connection to WaterRower Connect on iOS 15.4 It works great! Kudos to you and the developers for a great project.

Finally, for restarting the program after powerup or reboot, I put the script command into .bashrc. It seems to work fine. I understand that there are other methods that can be used. A addition to the Getting Started section of the Read.me would be helpful for this of us that want to run it headless and don't want to bother with connecting to the web server.

@polishedmarvin polishedmarvin added the bug Something isn't working label Mar 28, 2022
@LeDominik
Copy link

LeDominik commented Jul 4, 2022

I just did a fresh install on a 3B+ with the 64bit Raspberry OS; only missing dependency (otherwise just like described) was libdbus-1-dev, I did only try Bluetooth though, my ANT Dongle hasn't arrived yet.

Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Linux row 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants