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

100% reproducible: Crash after "scan" #1892

Open
stefan-eh opened this issue Jun 9, 2024 · 0 comments
Open

100% reproducible: Crash after "scan" #1892

stefan-eh opened this issue Jun 9, 2024 · 0 comments

Comments

@stefan-eh
Copy link

Hi,

I am using bCNC latest from github with a "Genmitsu 3018-ProVer V2" and Python 3.11 on a "Debian testing"-PC.

Unfortunately, I could not get any useful results, since bCNC crashes in several situations. Good thing: the crashes are 100% reproducible and this is the fastest way to do it:

  • connect
  • load nc file
  • do a homing cycle
  • click "Probe" -> "Autolevel" -> "Scan"

The crash happens after the scan seems to be complete. Every time, console output looks like this:

Exception in thread Thread-2 (serialIO):
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/home/dean/syncthing/pc/electronics/bcnc/venv/lib/python3.11/site-packages/bCNC/Sender.py", line 835, in serialIO
elif self.mcontrol.parseLine(line, cline, sline):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dean/syncthing/pc/electronics/bcnc/venv/lib/python3.11/site-packages/bCNC/controllers/_GenericController.py", line 298, in parseLine
"GRBL%d" % (int(CNC.vars["version"][0])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^

ValueError: invalid literal for int() with base 10: 'f'

Can you please help in resolving this?

regards
Stefan

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

1 participant