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

New Installation of Pi Control Does Not Work #13

Open
rob280z opened this issue Nov 15, 2020 · 2 comments
Open

New Installation of Pi Control Does Not Work #13

rob280z opened this issue Nov 15, 2020 · 2 comments

Comments

@rob280z
Copy link

rob280z commented Nov 15, 2020

Using a brand new Raspberry Pi 3B+, I installed Retropie retropie-buster-4.7.1-rpi2_3 with no issues. I then followed the instructions to install Pi Control and saw the following error during that installation:

Running Adafruit_PureIO-1.1.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jjRpSA/Adafruit_PureIO-1.1.7/egg-dist-tmp-rXP60S
File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/spi.py", line 386
) from e
^
SyntaxError: invalid syntax

At the end of the Pi Control installation it reported:

Installation Complete.................
You must reboot for changes to take effect, reboot now? (y/n):

After rebooting I could not bring up the web app using a browser in Windows. I got the following message:
"This site can’t be reached"
However, I was still able to access the retropie folders using Windows explorer.

It was suggested to try and run picontrol from a terminal and when I did I got the following:

pi@retropie:~ $ cd picontrol
pi@retropie:~/picontrol $ python picontrol.py
Traceback (most recent call last):
File "/home/pi/scripts/picontrol/webserver/picontrol_web.py", line 6, in
from flask_api import status
File "/usr/local/lib/python2.7/dist-packages/flask_api/init.py", line 1, in
from flask_api.app import FlaskAPI
File "/usr/local/lib/python2.7/dist-packages/flask_api/app.py", line 6, in
from flask_api.request import APIRequest
File "/usr/local/lib/python2.7/dist-packages/flask_api/request.py", line 58
raise e from None
^
SyntaxError: invalid syntax

Can anyone identify what the issue may be? Do I need to install an older version of retropie?

@rob280z
Copy link
Author

rob280z commented Nov 18, 2020

Does Pi Control need to be updated for python 3?

@Eilermoon
Copy link

I'm not sure if anyone still follows this, but I had this same issue yesterday. Buttons work correctly after installing, but browser PiControl doesn't work and my LED flashes 3 times intermittently. I'm not exactly sure what the 3 flashes means, but I would guess it's something about NFC not working.

I found an old 4.4 version of RetroPi, thinking it was the updated version of RetroPi that was the issue. This time nothing works, the buttons don't function correctly and the LED is on full-time.

I don't have a solution, just wanted to document my issue here. I'm relatively new to Python but might try to tear into the code soon to see what I understand!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants