Open amrithmmh opened 5 years ago
changed e.args[1] to e.args[0] works now but now it dosent show any output the _listen thread is active but i get no feedback i used M114 M115 etc no response but i can move stepper motors using gcodes but no feedback.
i am trying to run one command(G0 X100) get output M114 then send another command but printcore has no proper documentation and also i keep getting this error even if i connect to marlin on RAMPS 1.4 and can run the X axis but error
Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/Desktop/Smart_tap_bot/printrun/printcore.py", line 347, in _listen line = self._readline() File "/Desktop/Smart_tap_bot/printrun/printcore.py", line 281, in _readline if 'Bad file descriptor' in e.args[1]: IndexError: tuple index out of range