Клиппер
Go to file
Kamil Trzcinski 7e88f9220c menu: fix crash when opening SDCard menu while printing
This fixes the bug introduced by f1091a484b.
The problem is that condition was returning string which
could not be converted to boolean. We solve that by showing
`Start Printing` when `is_active`.

```
ERROR:root:Unhandled exception during run
Traceback (most recent call last):
   ...
   File "/opt/klipper/klippy/extras/display/menu.py", line 117, in eval_enable
     return bool(ast.literal_eval(self._enable_tpl.render(context)))
   File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
     node_or_string = parse(node_or_string, mode='eval')
   File "/usr/lib/python2.7/ast.py", line 37, in parse
     return compile(source, filename, mode, PyCF_ONLY_AST)
   File "<unknown>", line 1
     /opt/octoprint/uploads/wait_print.gcode
```

Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2021-07-26 22:34:43 -04:00
.github workflows: Change not_on_github label to "not on github" 2021-06-27 12:56:06 -04:00
config config: Update printer-flsun-q5-2020.cfg (#4488) 2021-07-20 11:01:26 -04:00
docs docs: Note to enable SPI in RPi_microcontroller.md (#4503) 2021-07-25 20:34:00 -04:00
klippy menu: fix crash when opening SDCard menu while printing 2021-07-26 22:34:43 -04:00
lib lib: Changes to rp2040 build files to work in Klipper build system 2021-07-04 10:11:02 -04:00
scripts spi_flash: Support firmware dictionary validation 2021-07-20 18:05:05 -04:00
src stm32: Add 16KiB bootloader option for STM32F103 (#4493) 2021-07-15 14:09:56 -04:00
test config: New printer profile for Eryone ER20 and minor update for Eryone Thinker Series (#4491) 2021-07-15 14:11:55 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING Initial commit of source code. 2016-05-25 11:37:40 -04:00
Makefile Makefile: Include debug symbols in the .elf 2021-06-08 19:29:16 -04:00
README.md docs: Update main README file to point to website 2019-04-20 13:43:35 -04:00

README.md

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

Klipper is a 3d-Printer firmware. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use Klipper.

To begin using Klipper start by installing it.

Klipper is Free Software. See the license or read the documentation.