Closed Sharkeon closed 7 years ago
Where it says rot you need to put a number from 0 the 360 for the angle
I tried. Still getting the same Error
Btw the Arrow is pointing at the =
Did you remove the square brackets too?
now i get this Error:
Traceback (most recent call last):
File "test.py", line 3, in
i'm using a waveshare 2.13 epaper Display. Is maybe that the Problem? Do i have to use a original Papirus?
How did you install the software?
And you've definitely got the I2C and SPI turned on?
Could you try with one of the demos in bin folder as those are known to work and if they won't then the setup hasn't worked properly
Thanks
On 12 Aug 2017 2:28 pm, "Sharkeon" notifications@github.com wrote:
now i get this Error:
Traceback (most recent call last): File "test.py", line 3, in text = PapirusText(rotation = 360) File "/usr/local/lib/python2.7/dist-packages/papirus/text.py", line 14, in init self.papirus = Papirus(rotation = rotation) File "/usr/local/lib/python2.7/dist-packages/papirus/epd.py", line 58, in init self._lm75b = LM75B() File "/usr/local/lib/python2.7/dist-packages/papirus/lm75b.py", line 22, in init self._bus.write_byte_data(self._address, LM75B_CONF_REGISTER, LM75B_CONF_NORMAL) IOError: [Errno 121] Remote I/O error
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/issues/148#issuecomment-321981038, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNCuoaya_fjryKj71pBKbMmeye24JVbks5sXahlgaJpZM4O1Yo_ .
I used the auto installation. I tried the manual installation, but every thing themes fine.
I turned I2c and SPI on.
I tried papirus-test but got this error:
Traceback (most recent call last):
File "/usr/local/bin/papirus-test", line 68, in
thanks for your help
What Pi are you using this on?
You're not getting a connection to the temperature sensor by the looks of it.
Can you try i2cdetect -y 1 ?
Can you also try starting from scratch on a clean version of Raspbian?
@tvoverbeek @francesco-vannini do you think we should maybe add an error state where it'll still process the display commands with no temp sensor but display an error message to screen saying "can't find temp sensor, defaulting to 20 degrees Celsius" or something like that?
On 12 Aug 2017 3:53 pm, "Sharkeon" notifications@github.com wrote:
I used the auto installation. I tried the manual installation, but every thing themes fine.
I turned I2c and SPI on.
I tried papirus-test but got this error: Traceback (most recent call last): File "/usr/local/bin/papirus-test", line 68, in papirus = Papirus() File "/usr/local/lib/python2.7/dist-packages/papirus/epd.py", line 58, in init self._lm75b = LM75B() File "/usr/local/lib/python2.7/dist-packages/papirus/lm75b.py", line 22, in init self._bus.write_byte_data(self._address, LM75B_CONF_REGISTER, LM75B_CONF_NORMAL) IOError: [Errno 121] Remote I/O error
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/issues/148#issuecomment-321986141, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNCuuiqwp4wTE8LKeSh0OOuAlPnkcLJks5sXbxegaJpZM4O1Yo_ .
First want to wait on the results from 'i2cdetect -y 1'. Note if i2cdetect is not found do 'sudo apt-get install i2c-tools' first. @Sharkeon what version of Raspbian are you running? What is the output from 'uname -a' in a terminal? Older versions of Raspbian did not have user pi in the i2c group -> hence no access to i2c unless running as root (with sudo). @Sharkeon try running papirus-test as root: 'sudo papirus-test'. If that is working it is time to update your Raspbian.
I'm using a Raspberry pi zero with 2017-07-05-raspbian-jessie.
i2cdetect -y 1: 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
uname -a : Linux zero 4.9.35+ #1014 Fri Jun 30 14:34:49 BST 2017 armv6l GNU/Linux
sudo papirus-test:
Traceback (most recent call last):
File "/usr/local/bin/papirus-test", line 68, in
thanks for your help i try to update my pi . . . i did: sudo apt-get update and sudo apt-get upgrade Still getting the same results . . . i formatted the sd card and installed Raspbian again. And used the auto installation for papirus. But i get the same Errors.
What header have you soldered onto your Pi Zero?
On 12 Aug 2017 9:45 pm, "Sharkeon" notifications@github.com wrote:
I'm using a Raspberry pi zero with 2017-07-05-raspbian-jessie.
i2cdetect -y 1: 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
uname -a : Linux zero 4.9.35+ #1014 Fri Jun 30 14:34:49 BST 2017 armv6l GNU/Linux
sudo papirus-test: Traceback (most recent call last): File "/usr/local/bin/papirus-test", line 68, in papirus = Papirus() File "/usr/local/lib/python2.7/dist-packages/papirus/epd.py", line 58, in init self._lm75b = LM75B() File "/usr/local/lib/python2.7/dist-packages/papirus/lm75b.py", line 22, in init self._bus.write_byte_data(self._address, LM75B_CONF_REGISTER, LM75B_CONF_NORMAL) IOError: [Errno 121] Remote I/O error
thanks for your help i try to update my pi
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/issues/148#issuecomment-322004883, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNCuiEVkUV5XKHfEzzGWEzQ65SuTD0vks5sXg7dgaJpZM4O1Yo_ .
@Sharkeon your display will not work with the Papirus library and drivers. The Waveshare 2.13 epaper Display uses different GPIOs and a different comm protocol. Follow the instructions on the Waveshare WiKi: http://www.waveshare.com/wiki/2.13inch_e-Paper_HAT Closing this issue.
Sorry @tvoverbeek I missed the bit about it being a wave share display! Good spot :-)
Nothing to be sorry about. I also missed it initially.
Ton
On Mon, Aug 14, 2017 at 1:32 PM, Aaron Shaw notifications@github.com wrote:
Sorry @tvoverbeek https://github.com/tvoverbeek I missed the bit about it being a wave share display! Good spot :-)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/issues/148#issuecomment-322167239, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJE7sNA4QzIHEvaNarbfNBFHq5mz1HTks5sYDBMgaJpZM4O1Yo_ .
When it try to run the code:
from papirus import PapirusText
text = PapirusText([rotation = rot])
text.write("hello world")
I get this Error: File "test.py", line 4 text = PapirusText([rotation = rot]) ^ SyntaxError: invalid syntax