Invalid syntax (, line 1) #30
Replies: 2 comments
|
Hi! |
0 replies
|
Thanks. I solved it by starting again with a clean raspberry and klipper install. I have it going now with my first tool and it is looking very good. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Whenever I start klipper I am getting a 'Internal error during connect: invalid syntax (, line 1)' error.
Klipper log:
Unhandled exception during connect
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 130, in _connect
self._read_config()
File "/home/pi/klipper/klippy/klippy.py", line 123, in _read_config
self.load_object(config, section_config.get_name(), None)
File "/home/pi/klipper/klippy/klippy.py", line 103, in load_object
mod = importlib.import_module('extras.' + module_name)
File "/home/pi/klippy-env/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/pi/klipper/klippy/extras/ktc_tool.py", line 10, in
from .ktc_base import ( # pylint: disable=relative-beyond-top-level
File "/home/pi/klipper/klippy/extras/ktc_base.py", line 14, in
from .ktc_heater import ( # pylint: disable=relative-beyond-top-level
File "", line 1
(heater.heater_active_temp=)
^
SyntaxError: invalid syntax
Does anyone have an idea of what the problem might be?
Thanks.
All reactions