vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.54k stars 528 forks source link

Python 3.9 #1776

Open rennen11 opened 1 year ago

rennen11 commented 1 year ago

I installed bCNC with Python 3.9 on my windows 10 PC. But I couldn'T start bCNC. The windows blip up only for a second and I got an Typeerror.

C:\Users\Administrator>py -m bCNC new-config Utils <configparser.ConfigParser object at 0x000001F914699D60>

WARNING: bCNC has been recently ported to support both python v2.x and v3.x Most things seem to work reasonably well in both python versions. Please report any issues to: https://github.com/vlachoudis/bCNC/issues

self.canvas.winfo_id(): 133356 Using old style comports()! Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC__main__.py", line 2729, in main() File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC__main__.py", line 2696, in main application = Application(tk) File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\main.py", line 197, in init__ page = cls(self.ribbon, self) File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\CNCRibbon.py", line 115, in init self.register() File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\FilePage.py", line 392, in register self._register((FileGroup, File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\CNCRibbon.py", line 134, in _register w = f(self.master._pageFrame, self.app) File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\FilePage.py", line 254, in init__ self.comportRefresh() File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bCNC\FilePage.py", line 342, in comportRefresh for i in self.comportsGet(): File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\serial\tools\list_ports_windows.py", line 256, in comports info.hwid = info.usb_info() File "C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\serial\tools\list_ports_common.py", line 55, in usb_info return 'USB VID:PID={:04X}:{:04X}{}{}'.format( TypeError: unsupported format string passed to NoneType.format

C:\Users\Administrator>