jobin-sun / raspberry-gpio-python

Automatically exported from code.google.com/p/raspberry-gpio-python
MIT License
0 stars 0 forks source link

File descriptor overflow #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=41203

Original issue reported on code.google.com by btcros...@googlemail.com on 20 Apr 2013 at 8:20

GoogleCodeExporter commented 9 years ago
Issue 39 has been merged into this issue.

Original comment by btcros...@googlemail.com on 22 Apr 2013 at 8:28

GoogleCodeExporter commented 9 years ago
I'm running into this issue with RPi.GPIO 0.5.2a. After 1017 
"GPIO.wait_for_edge()", the program aborts with an "RuntimeError: Error #3 
waiting for edge".

Is there a workaround for this?

Original comment by cefrodri...@gmail.com on 23 Jun 2013 at 5:01

GoogleCodeExporter commented 9 years ago
I have just released RPi.GPIO 0.5.3a - this may or may not fix your problem.  
Could you retest with the latest version and let me know please.

Note that it may take a while for the Raspbian repository to pick up the new 
version.  In the meantime, you can install it anyway using the commands:
$ wget 
http://raspberry-gpio-python.googlecode.com/files/python-rpi.gpio_0.5.3a-1_armhf
.deb
$ wget 
http://raspberry-gpio-python.googlecode.com/files/python3-rpi.gpio_0.5.3a-1_armh
f.deb
$ sudo dpkg -i python-rpi.gpio_0.5.3a-1_armhf.deb 
python3-rpi.gpio_0.5.3a-1_armhf.deb

Original comment by btcros...@googlemail.com on 23 Jun 2013 at 10:34

GoogleCodeExporter commented 9 years ago
I tested with 0.5.3a (from the raspbian repository) and indeed the problem 
seems fixed.

Original comment by cefrodri...@gmail.com on 27 Jun 2013 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by btcros...@googlemail.com on 30 Jun 2013 at 9:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, 

I have a program which also runs about 10016 times and gives instead

RuntimeError: Error #"2" waiting for edge

Anyone knows a solution to this?

I use latest version of RPi.GPIO

Thanks a lot

Ahmed: ahmedhussain85@yahoo.com

Original comment by ahmedhus...@gmail.com on 29 Apr 2014 at 11:15