piface / pifacedigital-emulator

An emulator for the PiFace Digital board.
23 stars 11 forks source link

Packages no longer install in latest Raspbian/stretch image #9

Open RickBullotta opened 6 years ago

RickBullotta commented 6 years ago

pi@oldpi:~ $ sudo apt-get install python{,3}-pifacedigitalio Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-pifacedigitalio E: Unable to locate package python3-pifacedigitalio

luislobo commented 6 years ago

Same issue with python3-pifacedigital-emulator

ElliP0518 commented 6 years ago

I am having the same problem. I have the updated version of stretch and now I cannot use the piface 2. I have tried the "pip" solution and although it says it is successful in downloading pifacedigital in Python3 it is unable to locate the package for the emulator. I am beyond frustrated with this and hope someone can give an understandable answer. Thank you

lasseron commented 6 years ago

Same issue. "E: Unable to locate package python3-pifacedigital-emulator"

jimbo95-beep commented 6 years ago

I have also had the same problem with my piface digital nothing i have tried well work . please help let us all know. I think this is not a good sign for the raspberry pi foundation not to give us an updated software for the piface old piface digital or some help to get it all working again. As we do buy a lot of raspi addons

apostrophesoftware commented 6 years ago

Hi

Having the same problems! Tried downloading and building the UI but that does not work. Is this project kept up to date?

I am in the process of evaluating the PiFace for an industrial project, so far its not going to well. Shall I even bother to try and use the C libraries?

tompreston commented 6 years ago

I think the packages are only available in pip now - the readme needs updating

apostrophesoftware commented 6 years ago

pip?

csoutreach commented 6 years ago

Pip -- a package repository for python https://pypi.python.org/pypi

The main library packages (all but the emulator) should currently be available for the Raspbian repo as they were updated at the end of last year to be compatible with the updated OS. The emulator package is work in progress as we're trying to determine what has been changed in Stretch.

apostrophesoftware commented 6 years ago

Ok, so I will wait for the emulator then.

slightly off topic, I am developing my software in C so will not be using the Python packages. Do you know if libpiface is up to date and the correct repository?

dackley1935 commented 5 years ago

Hello. Today I tried both pip and apt-get to install the python3-pifacedigital-emulator, that is I tried: $ sudo pip install python3-pifacedigital-emulator which gave me "No matching distribution found for python3-pifacedigital-emulator" and $ sudo apt-get install python3-pifacedigital-emulator which gave me "Unable to locate package python3-pifacedigital-emulator" I've purchesed element14's PiFace Digital 2 Raspberry Pi module and would like to be able to use it. I see that this seems to have been a problem for almost a year. Is there any plan to fix this problem?

csoutreach commented 5 years ago

I'll follow up and find out why the the update hasn't made it to the appropriate repos.

krisi0404 commented 5 years ago

I have the same problem. When I try to install something it might say i have it,but I can't install the emulator so I can use it. 4 hours wasted for this search...

geovogel commented 5 years ago

MARCH 13, 2019 - EMULATOR INSTALLATION STILL BROKEN :(

pi@raspberrypi:~ $ sudo apt-get install python3-pifacedigital-emulator Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package python3-pifacedigital-emulator

RickBullotta commented 5 years ago

The entire piface software stack is a complete mess. No support or updates, documentation wrong, incompatibilities between first gen and current board - can’t recommend using it anymore.

On Mar 13, 2019, at 7:19 AM, George notifications@github.com wrote:

MARCH 13, 2019 - EMULATOR INSTALLATION STILL BROKEN :(

pi@raspberrypi:~ $ sudo apt-get install python3-pifacedigital-emulator Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3-pifacedigital-emulator

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

apostrophesoftware commented 5 years ago

I gave up with the emulator but managed to get the C library working and have a project running with the board. However, as has been stated the product seems to have been neglected by the manufacturer and I probably won't go in to production with the board. Anyone know any alternatives?

csoutreach commented 5 years ago

The main problem is Raspbian changed under us. -- The current board is same as it has been. @apostrophesoftware -- let us know what part of the software you need.

apostrophesoftware commented 5 years ago

@csoutreach I no longer need the emulator as I have worked around that. It would have been nice to have the emulator a year ago! My issue is that I am not confident enough to go to production with a board that appears to not be supported anymore

geovogel commented 5 years ago

I would like the emulator. Moreover I would like to get the board running and I'm at a loss as to where to turn next. I'm running a 3B with Stretch and it appears that there is just no communication between the boards. SPI is enabled and not blacklisted. Also I changed the speed in the common code which eliminated the error message but now issuing digital write commands to thest the output LED's. does nothing. All of jumpers appear to be correct and my distro is up to date. I don't know if I can get it answered here but I thought I would try.

Fimez commented 5 years ago

Has anyone managed to locate the python3-pifacedigital-emulator package as I would like to use it now that I have bought the Interface but support seems to be dying or already dead ??? Any help would be much appreciated.

genjitr commented 5 years ago

I have the same problem. Still no updates?

csoutreach commented 5 years ago

We're working on it -- there's a couple of issues 1) Raspbian/Buster has now changed again and so we need to re-architech a few things that the packages depend on. 2) we're trying to get the packages back into the distribution.

tcheleao commented 5 years ago

We use Raspberry pi and PiFace for educational purposes Emulator doesn't work on Jessie nor on Buster School calendar getting very close. Do you have any ETA of getting the proper packages available online? Thank you.

Lettslaw commented 5 years ago

Why is there so little recent and correct info (youtube etc) on getting the Piface up and running on a Raspberry? Is the product dead? Just bought it and wasted 1/2 day and still unsuccessful. grr.

universenz commented 5 years ago

@csoutreach I purchased five of the PiFace Digital 2 boards from e14 based on what looked like a well-documented product (based on the guides on your website) - the only one with an emulator. It was between the PiFace and the Pimoroni Automation Hat. I understand it takes time to update these things - but at the end of the day you are doing the community a MASSIVE disservice by not communicating clearly that essential components of the product are not CURRENTLY supported. I'm going to return these to e14, and I'm going to explain the reason why I'm returning them. If, and when you decide to bring this tool back from the dead we might reconsider your product but given your track record of 'we're working on it' then silence, I doubt this is going to eventuate into anything other than more excuses down the line. Thoroughly disappointed.

csoutreach commented 5 years ago

Sorry to hear of your disappointment. We're disappointed too, but we're at the mercy of other people and upstream repositories. Someone has made the wrong decision of how to support a particular aspect of embedded hardware at Debian, which influences Raspbian and others. We haven't got enough influence to make them do the right thing and don't really want to put a hack in to make things worse.

Lettslaw commented 5 years ago

csoutreach - respectfully, that is a pretty poor excuse. You are selling a product that is useless and unsupported. It seems like an exciting product - but if the software is not easily available- its junk. Why can't you host the patch software? If you are not going to do it - change your website and be honest that it is a legacy piece of hardware. Your marketing and links to wrong info make people waste a lot of time; it is not ethical.

csoutreach commented 5 years ago

With similar respect, PiFace products are used by a large number of customers, and are designed into industrial products. As such we're keen that any software we do post is to that standard. We have no control over Raspbian or any other OS or how they change. Rolling our own and hosting our own distribution of Linux is not sustainable, and it's not a small patch. As mentioned we're in ongoing discussions with upstream to convince them to change so everything (PiFace and other products) work reliably, the right way. We don't want to post hacks. Appreciate your frustration, we'll put some more detailed explanation on our website.

nvschilleman commented 4 years ago

Is there a solution yet?

TolbySmith commented 4 years ago

I have to agree Lettslaw. If you are not going to provide functional software, you should at least warn people that unless they are planning to wade knee deep into coding, the device is useless, and is not supported.

lihuedon commented 4 years ago

I upgraded from Raspbian Jessie to Buster on an older raspberry pi and now like others I can't find the piface emulator.

sudo apt-get install python3-pifacedigital-emulator . . Unable to locate package python3-pifacedigital-emulator

I am following this thread hoping for a resolution soon!

skullandbones commented 4 years ago

@csoutreach is there any technical information published on how to get the original PiFace Digital IO board to work using any Python variant on the Buster Raspian OS ? I mean is any test code available for Buster that can be used as a proof of concept test ?

I have an original Pi 1 B which I think was running Wheezy and now I am attempting to use Buster on that Pi. This Pi has a PiFace Digital IO board. I just want to operate the 2 relays.

I am a Linux embedded software engineer so if you were able to point me to some technical information then that would be most helpful. Thanks.

jjen009 commented 4 years ago

Tried installing it on Raspbian VM (under Hyper-V) - same deal, both with apt-get and pip. Trying to see if there is another solution.

gmu-code commented 4 years ago

My workaround:

Good Luck.

duncanf-git commented 4 years ago

I could not find "python3-pifacedigital-emulator" but I have now found and installed the "pifacedigital-emulator".

sudo apt install pifacedigital-emulator

This starts fine in Stretch but cannot detect the actual PiFace Digital 1 board that was working correctly with my original Wheezy build.

Looking further for the solution to that.

SiAust commented 3 years ago

I could not find "python3-pifacedigital-emulator" but I have now found and installed the "pifacedigital-emulator".

sudo apt install pifacedigital-emulator

This starts fine in Stretch but cannot detect the actual PiFace Digital 1 board that was working correctly with my original Wheezy build.

Looking further for the solution to that.

E: Unable to locate package pifacedigital-emulator

Did you have any further success?

@gmu-code Where to download the zips? The libraries I got using pip don't have setup.py that I can find.

duncanf-git commented 3 years ago

I did get pifacedigital-emulator fully working on a stretch based raspbian image. The PiFace Digital 1 board was detected. I don't know about the latest buster releases.

I did have to make some change(s) to a configuration file. I did loads of googling and finally found a pointer ot the issue. My memory is too hazy to give any more details and I am working on other things at the moment. I will try and document the changes I made in the next few weeks but don't hold your breath :-{

PS I think that I also had to add some of older raspbian repositories to the apt search list.

tompreston commented 3 years ago

It's not in the debian repos. So using apt won't work.

I can't find it in PyPI either https://pypi.org/search/?q=piface, so using pip won't work. To fix this, someone needs to upload this package following these instructions. I would suggest pip over apt because it's cross platform and easier.

The only way to run it now is by installing the dependencies:

$ pip install pifacedigitalio

Then downloading the source and running it. Something like this:

$ git clone https://github.com/piface/pifacedigital-emulator.git
$ cd pifacedigital-emulator
$ python3
>>> import pifacedigital_emulator as emu
>>> emu.init()  # a window should pop up

Can someone check if that works? If it does then we know the package works, then we can upload to PyPi. Then pip will work.

gmu-code commented 3 years ago

Hi,

use the Packages direct from the github project site of piface. pip doesn’t work. Unzip it and start setup like my post.

Greetings

Gerald Mulzer - Mobil

Am 10.11.2020 um 10:43 schrieb Simon Aust notifications@github.com:

 I could not find "python3-pifacedigital-emulator" but I have now found and installed the "pifacedigital-emulator".

sudo apt install pifacedigital-emulator

This starts fine in Stretch but cannot detect the actual PiFace Digital 1 board that was working correctly with my original Wheezy build.

Looking further for the solution to that.

E: Unable to locate package pifacedigital-emulator

Did you have any further success?

@gmu-code Where to download the zips? The libraries I got using pip don't have setup.py that I can find.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

flashbackpa commented 3 years ago

This thread is unbelievable, a commercial product, sold in whoknowshowmanypieces, totally disappeared from the distro's packets. Very disappointing.

@csoutreach any good new after 1 year and more ?

SteamyPy commented 3 years ago

Hi,

i'm working on an Rpi 2B, with an 'Raspberry Pi OS with desktop', Kernel version: 5.4, PiFace2, Python 3 installed then I installed with pip3:

$ sudo pip3 install pifacedigitalio $ sudo pip3 install pifacecommon

Now the script works, LED7 is blinking

from time import sleep import pifacedigitalio

DELAY = 1.0 # seconds pifacedigital = pifacedigitalio.PiFaceDigital()

while True: pifacedigital.leds[7].toggle() sleep(DELAY)

So i hope, now the code working on every piface 2

Good Luck

bermatt commented 1 year ago

Thanks @SteamyPy , that worked for me - got flashing light - (Linux Rip 4.19.66-v7+)