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

error #22

Open
Muneera-Salah opened this issue Nov 16, 2017 · 1 comment
Open

error #22

Muneera-Salah opened this issue Nov 16, 2017 · 1 comment

Comments

@Muneera-Salah
Copy link

Muneera-Salah commented Nov 16, 2017

screenshot 2017-10-21 20 52 43
Hi Sir,,
I get these error when I run writer.py file

robot@ev3dev:~/ev3-print3rbot$ ./writer.py
Traceback (most recent call last):
File "./writer.py", line 481, in
main()
File "./writer.py", line 472, in main
wri = Writer(calibrate = True)
File "./writer.py", line 79, in init
self.calibrate()
File "./writer.py", line 111, in calibrate
if (self.touch_A.value()):
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 1758, in value
self._value[n], value = self.get_attr_int(self._value[n], 'value'+str(n))
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 214, in get_attr_int
attribute, value = self._get_attribute(attribute, name)
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 198, in _get_attribute
raise Exception('Device is not connected')
Exception: Device is not connected

@Brad750
Copy link

Brad750 commented Nov 26, 2018

I have this same error. Did you ever correct this?

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