Compare commits

..

2 Commits

Author SHA1 Message Date
skarasov
68acdcf815 Merge 6a766f7882 into 6f59fd06aa 2025-05-04 05:44:34 +00:00
skarasov
6a766f7882 Support of no id micro-controllers, see: [https://www.klipper3d.org/FAQ.html#wheres-my-serial-port] 2023-07-07 18:56:29 +03:00
2 changed files with 3 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ def install_python_requirements(target: Path, requirements: Path) -> None:
]
result = run(command, stderr=PIPE, text=True)
if result.returncode != 0:
if result.returncode != 0 or result.stderr:
Logger.print_error(f"{result.stderr}", False)
raise VenvCreationFailedException("Installing Python requirements failed!")
@@ -222,7 +222,7 @@ def install_python_packages(target: Path, packages: List[str]) -> None:
command.append(pkg)
result = run(command, stderr=PIPE, text=True)
if result.returncode != 0:
if result.returncode != 0 or result.stderr:
Logger.print_error(f"{result.stderr}", False)
raise VenvCreationFailedException("Installing Python requirements failed!")

View File

@@ -358,6 +358,7 @@ function get_usb_id() {
unset mcu_list
sleep 1
mcus=$(find /dev/serial/by-id/* 2>/dev/null)
mcus+=" $(find /dev/serial/by-path/* 2>/dev/null)"
for mcu in ${mcus}; do
mcu_list+=("${mcu}")