Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # !Ender-3 Pro
- # printer_size: 220x220x250
- # version: 3.5
- # This file contains pin mappings for the stock 2020 Creality Ender-3 V2
- # To use this config, during "make menuconfig" select the
- # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
- # communication.
- # If you prefer a direct serial connection, in "make menuconfig"
- # select "Enable extra low-level configuration options" and select
- # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
- # cable used for the LCD module as follows:
- # 3: Tx, 4: Rx, 9: GND, 10: VCC
- # Flash this firmware by copying "out/klipper.bin" to a SD card and
- # turning on the printer with the card inserted. The firmware
- # filename must end in ".bin" and must not match the last filename
- # that was flashed.
- # See docs/Config_Reference.md for a description of parameters.
- ###fluidd set
- [virtual_sdcard]
- path: ~/gcode_files
- [display_status]
- [pause_resume]
- [gcode_macro START_PRINT]
- gcode:
- {% set BED_TEMP = params.BED_TEMP|default(60)|float %}
- {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(190)|float %}
- # Start bed heating
- M140 S{BED_TEMP}
- # Use absolute coordinates
- G90
- # Reset the G-Code Z offset (adjust Z offset if needed)
- SET_GCODE_OFFSET Z=0.0
- # Home the printer
- G28
- # Move the nozzle near the bed
- G1 Z5 F3000
- # Move the nozzle very close to the bed
- G1 Z0.15 F300
- # Wait for bed to reach temperature
- M190 S{BED_TEMP}
- # Set and wait for nozzle to reach temperature
- M109 S{EXTRUDER_TEMP}
- [gcode_macro END_PRINT]
- gcode:
- # Turn off bed, extruder, and fan
- M140 S0
- M104 S0
- M106 S0
- # Move nozzle away from print while retracting
- G91
- G1 X-2 Y-2 E-3 F300
- # Raise nozzle by 10mm
- G1 Z10 F3000
- G90
- # Disable steppers
- M84
- [gcode_macro PAUSE]
- description: Pause the actual running print
- rename_existing: PAUSE_BASE
- # change this if you need more or less extrusion
- variable_extrude: 1.0
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- ##### set park positon for x and y #####
- # default is your max posion from your printer.cfg
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- ##### calculate save lift position #####
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- ##### end of definitions #####
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description: Resume the actual running print
- rename_existing: RESUME_BASE
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- #### get VELOCITY parameter if specified ####
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- ##### end of definitions #####
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [gcode_macro CANCEL_PRINT]
- description: Cancel the actual running print
- rename_existing: CANCEL_PRINT_BASE
- gcode:
- TURN_OFF_HEATERS
- {% if "xyz" in printer.toolhead.homed_axes %}
- G91
- G1 Z4.5 F300
- G90
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- G28 X Y
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- G1 Y{y_park} F2000
- M84
- CANCEL_PRINT_BASE
- [stepper_x]
- step_pin: PB9
- dir_pin: PC2
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PA5
- position_endstop: 0
- position_max: 225
- homing_speed: 80
- [stepper_y]
- step_pin: PB7
- dir_pin: PB8
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PA6
- position_min: -5
- position_endstop: -2
- position_max: 225
- homing_speed: 80
- [stepper_z]
- step_pin: PB5
- dir_pin: !PB6
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- # endstop_pin: probe:z_virtual_endstop #enable to use bltouch
- endstop_pin: ^PA7 #disable to use bltouch
- position_endstop: 0.0 #disable to use bltouch
- position_max: 255
- [extruder]
- #step_pin: PB4
- #dir_pin: PB3
- step_pin: PB3
- dir_pin: PB4
- enable_pin: !PC3
- microsteps: 16
- gear_ratio: 42:12
- rotation_distance: 26.359
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- control: pid
- pid_Kp: 23.561
- pid_Ki: 1.208
- pid_Kd: 114.859
- min_temp: 0
- max_temp: 300
- [idle_timeout]
- timeout: 172800
- [verify_heater extruder]
- check_gain_time: 200
- hysteresis: 5
- [heater_bed]
- heater_pin: PA2
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- control: pid
- # tuned for stock hardware with 50 degree Celsius target
- pid_Kp: 67.104
- pid_Ki: 0.544
- pid_Kd: 2068.466
- min_temp: 0
- max_temp: 130
- [fan]
- pin: PA0
- [fan_generic extruder_partfan]
- # pin: PB15
- pin: PC6
- #max_power:
- #shutdown_speed:
- #cycle_time:
- #hardware_pwm:
- #kick_start_time:
- #off_below:
- #tachometer_pin:
- #tachometer_ppr:
- #tachometer_poll_interval:
- # See the "fan" section for a description of the above parameters.
- #heater: extruder
- # Name of the config section defining the heater that this fan is
- # associated with. If a comma separated list of heater names is
- # provided here, then the fan will be enabled when any of the given
- # heaters are enabled. The default is "extruder".
- #heater_temp: 50.0
- # A temperature (in Celsius) that the heater must drop below before
- # the fan is disabled. The default is 50 Celsius.
- #fan_speed: 1.0
- # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
- # will be set to when its associated heater is enabled. The default
- # is 1.0
- [heater_fan heater_partfan]
- pin: PB14
- #max_power:
- #shutdown_speed:
- #cycle_time:
- #hardware_pwm:
- #kick_start_time:
- #off_below:
- #tachometer_pin:
- #tachometer_ppr:
- #tachometer_poll_interval:
- # See the "fan" section for a description of the above parameters.
- #heater: extruder
- # Name of the config section defining the heater that this fan is
- # associated with. If a comma separated list of heater names is
- # provided here, then the fan will be enabled when any of the given
- # heaters are enabled. The default is "extruder".
- #heater_temp: 50.0
- # A temperature (in Celsius) that the heater must drop below before
- # the fan is disabled. The default is 50 Celsius.
- #fan_speed: 1.0
- # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
- # will be set to when its associated heater is enabled. The default
- # is 1.0
- [mcu]
- serial: /dev/serial/by-id/usb_serial_1
- restart_method: command
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 5000
- # max_accel_to_decel: 7000
- max_z_velocity: 5
- square_corner_velocity: 5.0
- max_z_accel: 100
- [exclude_object]
- # [mcu rpi]
- # serial: /tmp/klipper_host_mcu
- # [adxl345]
- # cs_pin: rpi:None
- # spi_speed: 2000000
- # spi_bus: spidev2.0
- # [resonance_tester]
- # accel_chip: adxl345
- # accel_per_hz: 70
- # probe_points:
- # 117.5,117.5,10
- [input_shaper]
- shaper_type_x = mzv
- shaper_freq_x = 89.8
- shaper_type_y = mzv
- shaper_freq_y = 35.2
- [bltouch]
- sensor_pin: ^PB1
- control_pin: PB0
- x_offset: -31.8
- y_offset: -40.5
- z_offset: 2.6
- probe_with_touch_mode: true
- stow_on_each_sample: false
- # [safe_z_home]
- # home_xy_position: 100,100 # Change coordinates to the center of your print bed
- # speed: 80
- # z_hop: 10 # Move up 10mm
- # z_hop_speed: 10
- # [bed_mesh]
- # speed:80
- # horizontal_move_z: 5
- # mesh_min: 83,30
- # mesh_max: 235,215
- # probe_count: 5,5
- # algorithm: bicubic
- [bed_screws]
- screw1:30,25
- screw1_name:1
- screw2:200,25
- screw2_name:2
- screw3:200,195
- screw3_name:3
- screw4:30,195
- screw4_name:4
- [include timelapse.cfg]
- [gcode_macro G29] #界面中增加G29指令
- gcode:
- G28
- bed_mesh_calibrate
- G1 X0 Y0 Z10 F4200
- # save_config
- [gcode_arcs]
- resolution: 1.0
- [gcode_macro BED_LEVEL]
- gcode:
- G28
- BED_MESH_CALIBRATE
- [gcode_macro Z_AXI_CALIBRATE]
- gcode:
- G28
- PROBE_CALIBRATE
- [gcode_macro SHAPER]
- gcode:
- G28
- SHAPER_CALIBRATE
- [gcode_macro PID]
- gcode:
- G28
- PID_CALIBRATE HEATER=extruder TARGET=200
- PID_CALIBRATE HEATER=heater_bed TARGET=60
- [gcode_macro Press_Advance_short]
- gcode:
- SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
- TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
- [gcode_macro Press_Advance_long]
- gcode:
- SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
- TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
- [Level None] 2023-06-05 20:33:32,807 [None] [:None:0] ===== Config file =====
- [virtual_sdcard]
- path = ~/gcode_files
- [display_status]
- [pause_resume]
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- {% if "xyz" in printer.toolhead.homed_axes %}
- G91
- G1 Z4.5 F300
- G90
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- G28 X Y
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- G1 Y{y_park} F2000
- M84
- CANCEL_PRINT_BASE
- [stepper_x]
- step_pin = PB9
- dir_pin = PC2
- enable_pin = !PC3
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PA5
- position_endstop = 0
- position_max = 225
- homing_speed = 80
- [stepper_y]
- step_pin = PB7
- dir_pin = PB8
- enable_pin = !PC3
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PA6
- position_min = -2
- position_endstop = -2
- position_max = 225
- homing_speed = 80
- [stepper_z]
- step_pin = PB5
- dir_pin = !PB6
- enable_pin = !PC3
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PA7
- position_endstop = 0.0
- position_max = 255
- [extruder]
- gear_ratio = 1:1
- max_extrude_only_distance = 1000.0
- step_pin = PB3
- dir_pin = PB4
- enable_pin = !PC3
- microsteps = 16
- rotation_distance = 7.5
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PA1
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PC5
- control = pid
- pid_kp = 29.291
- pid_ki = 1.743
- pid_kd = 123.021
- min_temp = 0
- max_temp = 265
- pressure_advance_smooth_time = 0.04
- pressure_advance = 0
- [verify_heater extruder]
- check_gain_time = 200
- hysteresis = 5
- [heater_bed]
- heater_pin = PA2
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PC4
- control = pid
- pid_kp = 67.104
- pid_ki = 0.544
- pid_kd = 2068.466
- min_temp = 0
- max_temp = 130
- [fan]
- pin = PA0
- [fan_generic extruder_partfan]
- pin = PC6
- [heater_fan heater_partfan]
- pin = PB14
- [mcu]
- serial = /dev/serial/by-id/usb_serial_1
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 5000
- max_z_velocity = 5
- square_corner_velocity = 5.0
- max_z_accel = 100
- [input_shaper]
- shaper_type_x = mzv
- shaper_freq_x = 89.8
- shaper_type_y = mzv
- shaper_freq_y = 35.2
- [bed_screws]
- screw1 = 30,25
- screw1_name = 1
- screw2 = 200,25
- screw2_name = 2
- screw3 = 200,195
- screw3_name = 3
- screw4 = 30,195
- screw4_name = 4
- [gcode_macro GET_TIMELAPSE_SETUP]
- description = Print the Timelapse setup
- gcode =
- {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
- {% set output_txt = ["Timelapse Setup:"] %}
- {% set _dummy = output_txt.append("enable: %s" % tl.enable) %}
- {% set _dummy = output_txt.append("park: %s" % tl.park.enable) %}
- {% if tl.park.enable %}
- {% set _dummy = output_txt.append("park position: %s time: %s s" % (tl.park.pos, tl.park.time)) %}
- {% set _dummy = output_txt.append("park cord x:%s y:%s dz:%s" % (tl.park.coord.x, tl.park.coord.y, tl.park.coord.dz)) %}
- {% set _dummy = output_txt.append("travel speed: %s mm/s" % tl.speed.travel) %}
- {% endif %}
- {% set _dummy = output_txt.append("fw_retract: %s" % tl.extruder.fw_retract) %}
- {% if tl.extruder.fw_retract %}
- {% set _dummy = output_txt.append("retract: %s mm speed: %s mm/s" % (tl.extruder.retract, tl.speed.retract)) %}
- {% set _dummy = output_txt.append("extrude: %s mm speed: %s mm/s" % (tl.extruder.extrude, tl.speed.extrude)) %}
- {% endif %}
- {% set _dummy = output_txt.append("verbose: %s" % tl.verbose) %}
- {action_respond_info(output_txt|join("\n"))}
- [gcode_macro _SET_TIMELAPSE_SETUP]
- description = Set user parameters for timelapse
- gcode =
- {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
- {% set min = printer.toolhead.axis_minimum %}
- {% set max = printer.toolhead.axis_maximum %}
- {% set round_bed = True if printer.configfile.settings.printer.kinematics is in ['delta','polar','rotary_delta','winch']
- else False %}
- {% set park = {'min' : {'x': (min.x / 1.42)|round(3) if round_bed else min.x|round(3),
- 'y': (min.y / 1.42)|round(3) if round_bed else min.y|round(3)},
- 'max' : {'x': (max.x / 1.42)|round(3) if round_bed else max.x|round(3),
- 'y': (max.y / 1.42)|round(3) if round_bed else max.y|round(3)},
- 'center': {'x': (max.x-(max.x-min.x)/2)|round(3),
- 'y': (max.y-(max.y-min.y)/2)|round(3)}} %}
- {% if params.ENABLE %}
- {% if params.ENABLE|lower is in ['true', 'false'] %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=enable VALUE={True if params.ENABLE|lower == 'true' else False}
- {% else %}
- {action_raise_error("ENABLE=%s not supported. Allowed values are [True, False]" % params.ENABLE|capitalize)}
- {% endif %}
- {% endif %}
- {% if params.VERBOSE %}
- {% if params.VERBOSE|lower is in ['true', 'false'] %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=verbose VALUE={True if params.VERBOSE|lower == 'true' else False}
- {% else %}
- {action_raise_error("VERBOSE=%s not supported. Allowed values are [True, False]" % params.VERBOSE|capitalize)}
- {% endif %}
- {% endif %}
- {% if params.CUSTOM_POS_X %}
- {% if params.CUSTOM_POS_X|float >= min.x and params.CUSTOM_POS_X|float <= max.x %}
- {% set _dummy = tl.park.custom.update({'x':params.CUSTOM_POS_X|float|round(3)}) %}
- {% else %}
- {action_raise_error("CUSTOM_POS_X=%s must be within [%s - %s]" % (params.CUSTOM_POS_X, min.x, max.x))}
- {% endif %}
- {% endif %}
- {% if params.CUSTOM_POS_Y %}
- {% if params.CUSTOM_POS_Y|float >= min.y and params.CUSTOM_POS_Y|float <= max.y %}
- {% set _dummy = tl.park.custom.update({'y':params.CUSTOM_POS_Y|float|round(3)}) %}
- {% else %}
- {action_raise_error("CUSTOM_POS_Y=%s must be within [%s - %s]" % (params.CUSTOM_POS_Y, min.y, max.y))}
- {% endif %}
- {% endif %}
- {% if params.CUSTOM_POS_DZ %}
- {% if params.CUSTOM_POS_DZ|float >= min.z and params.CUSTOM_POS_DZ|float <= max.z %}
- {% set _dummy = tl.park.custom.update({'dz':params.CUSTOM_POS_DZ|float|round(3)}) %}
- {% else %}
- {action_raise_error("CUSTOM_POS_DZ=%s must be within [%s - %s]" % (params.CUSTOM_POS_DZ, min.z, max.z))}
- {% endif %}
- {% endif %}
- {% if params.PARK_ENABLE %}
- {% if params.PARK_ENABLE|lower is in ['true', 'false'] %}
- {% set _dummy = tl.park.update({'enable':True if params.PARK_ENABLE|lower == 'true' else False}) %}
- {% else %}
- {action_raise_error("PARK_ENABLE=%s not supported. Allowed values are [True, False]" % params.PARK_ENABLE|capitalize)}
- {% endif %}
- {% endif %}
- {% if params.PARK_POS %}
- {% if params.PARK_POS|lower is in ['center','front_left','front_right','back_left','back_right','custom'] %}
- {% set dic = {'center' : {'x': park.center.x , 'y': park.center.y , 'dz': 1 },
- 'front_left' : {'x': park.min.x , 'y': park.min.y , 'dz': 0 },
- 'front_right': {'x': park.max.x , 'y': park.min.y , 'dz': 0 },
- 'back_left' : {'x': park.min.x , 'y': park.max.y , 'dz': 0 },
- 'back_right' : {'x': park.max.x , 'y': park.max.y , 'dz': 0 },
- 'custom' : {'x': tl.park.custom.x, 'y': tl.park.custom.y, 'dz': tl.park.custom.dz}} %}
- {% set _dummy = tl.park.update({'pos':params.PARK_POS|lower}) %}
- {% set _dummy = tl.park.update({'coord':dic[tl.park.pos]}) %}
- {% else %}
- {action_raise_error("PARK_POS=%s not supported. Allowed values are [CENTER, FRONT_LEFT, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, CUSTOM]"
- % params.PARK_POS|upper)}
- {% endif %}
- {% endif %}
- {% if params.PARK_TIME %}
- {% if params.PARK_TIME|float >= 0.0 %}
- {% set _dummy = tl.park.update({'time':params.PARK_TIME|float|round(3)}) %}
- {% else %}
- {action_raise_error("PARK_TIME=%s must be a positive number" % params.PARK_TIME)}
- {% endif %}
- {% endif %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=park VALUE="{tl.park}"
- {% if params.TRAVEL_SPEED %}
- {% if params.TRAVEL_SPEED|float > 0.0 %}
- {% set _dummy = tl.speed.update({'travel':params.TRAVEL_SPEED|float|round(3)}) %}
- {% else %}
- {action_raise_error("TRAVEL_SPEED=%s must be larger than 0" % params.TRAVEL_SPEED)}
- {% endif %}
- {% endif %}
- {% if params.RETRACT_SPEED %}
- {% if params.RETRACT_SPEED|float > 0.0 %}
- {% set _dummy = tl.speed.update({'retract':params.RETRACT_SPEED|float|round(3)}) %}
- {% else %}
- {action_raise_error("RETRACT_SPEED=%s must be larger than 0" % params.RETRACT_SPEED)}
- {% endif %}
- {% endif %}
- {% if params.EXTRUDE_SPEED %}
- {% if params.EXTRUDE_SPEED|float > 0.0 %}
- {% set _dummy = tl.speed.update({'extrude':params.EXTRUDE_SPEED|float|round(3)}) %}
- {% else %}
- {action_raise_error("EXTRUDE_SPEED=%s must be larger than 0" % params.EXTRUDE_SPEED)}
- {% endif %}
- {% endif %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=speed VALUE="{tl.speed}"
- {% if params.EXTRUDE_DISTANCE %}
- {% if params.EXTRUDE_DISTANCE|float >= 0.0 %}
- {% set _dummy = tl.extruder.update({'extrude':params.EXTRUDE_DISTANCE|float|round(3)}) %}
- {% else %}
- {action_raise_error("EXTRUDE_DISTANCE=%s must be specified as positiv number" % params.EXTRUDE_DISTANCE)}
- {% endif %}
- {% endif %}
- {% if params.RETRACT_DISTANCE %}
- {% if params.RETRACT_DISTANCE|float >= 0.0 %}
- {% set _dummy = tl.extruder.update({'retract':params.RETRACT_DISTANCE|float|round(3)}) %}
- {% else %}
- {action_raise_error("RETRACT_DISTANCE=%s must be specified as positiv number" % params.RETRACT_DISTANCE)}
- {% endif %}
- {% endif %}
- {% if params.FW_RETRACT %}
- {% if params.FW_RETRACT|lower is in ['true', 'false'] %}
- {% if 'firmware_retraction' in printer.configfile.settings %}
- {% set _dummy = tl.extruder.update({'fw_retract': True if params.FW_RETRACT|lower == 'true' else False}) %}
- {% else %}
- {% set _dummy = tl.extruder.update({'fw_retract':False}) %}
- {% if params.FW_RETRACT|capitalize == 'True' %}
- {action_raise_error("[firmware_retraction] not defined in printer.cfg. Can not enable fw_retract")}
- {% endif %}
- {% endif %}
- {% else %}
- {action_raise_error("FW_RETRACT=%s not supported. Allowed values are [True, False]" % params.FW_RETRACT|capitalize)}
- {% endif %}
- {% endif %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=extruder VALUE="{tl.extruder}"
- {% if printer.configfile.settings['gcode_macro pause'] is defined %}
- {% set _dummy = tl.macro.update({'pause': printer.configfile.settings['gcode_macro pause'].rename_existing}) %}
- {% endif %}
- {% if printer.configfile.settings['gcode_macro resume'] is defined %}
- {% set _dummy = tl.macro.update({'resume': printer.configfile.settings['gcode_macro resume'].rename_existing}) %}
- {% endif %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=macro VALUE="{tl.macro}"
- [gcode_macro TIMELAPSE_TAKE_FRAME]
- description = Take Timelapse shoot
- variable_enable = False
- variable_takingframe = False
- variable_park = {'enable': False,
- 'pos' : 'center',
- 'time' : 0.1,
- 'custom': {'x': 0, 'y': 0, 'dz': 0},
- 'coord' : {'x': 0, 'y': 0, 'dz': 0}}
- variable_extruder = {'fw_retract': False,
- 'retract': 1.0,
- 'extrude': 1.0}
- variable_speed = {'travel': 100,
- 'retract': 15,
- 'extrude': 15}
- variable_verbose = True
- variable_restore = {'absolute': {'coordinates': True, 'extrude': True}, 'speed': 1500, 'e':0, 'factor': {'speed': 1.0, 'extrude': 1.0}}
- variable_macro = {'pause': 'PAUSE', 'resume': 'RESUME'}
- variable_is_paused = False
- gcode =
- {% set hyperlapse = True if params.HYPERLAPSE and params.HYPERLAPSE|lower =='true' else False %}
- {% if enable %}
- {% if (hyperlapse and printer['gcode_macro HYPERLAPSE'].run) or
- (not hyperlapse and not printer['gcode_macro HYPERLAPSE'].run) %}
- {% if park.enable %}
- {% set pos = {'x': park.coord.x, 'y': park.coord.y,
- 'z': [printer.gcode_move.gcode_position.z + park.coord.dz, printer.toolhead.axis_maximum.z]|min} %}
- {% set restore = {'absolute': {'coordinates': printer.gcode_move.absolute_coordinates,
- 'extrude' : printer.gcode_move.absolute_extrude},
- 'speed' : printer.gcode_move.speed,
- 'e' : printer.gcode_move.gcode_position.e,
- 'factor' : {'speed' : printer.gcode_move.speed_factor,
- 'extrude': printer.gcode_move.extrude_factor}} %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=restore VALUE="{restore}"
- {% if not printer[printer.toolhead.extruder].can_extrude %}
- {% if verbose %}{action_respond_info("Timelapse: Warning, minimum extruder temperature not reached!")}{% endif %}
- {% else %}
- {% if extruder.fw_retract %}
- G10
- {% else %}
- M83 ; insure relative extrusion
- G0 E-{extruder.retract} F{speed.retract * 60}
- {% endif %}
- {% endif %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=is_paused VALUE=True
- {macro.pause} ; execute the klipper PAUSE command
- SET_GCODE_OFFSET X=0 Y=0 ; this will insure that the head parks always at the same position in a multi setup
- G90 ; insure absolute move
- {% if "xyz" not in printer.toolhead.homed_axes %}
- {% if verbose %}{action_respond_info("Timelapse: Warning, axis not homed yet!")}{% endif %}
- {% else %}
- G0 X{pos.x} Y{pos.y} Z{pos.z} F{speed.travel * 60}
- {% endif %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=takingframe VALUE=True
- UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_TAKE_FRAME DURATION=0.5
- M400
- {% endif %}
- _TIMELAPSE_NEW_FRAME HYPERLAPSE={hyperlapse}
- {% endif %}
- {% else %}
- {% if verbose %}{action_respond_info("Timelapse: disabled, take frame ignored")}{% endif %}
- {% endif %}
- [gcode_macro _TIMELAPSE_NEW_FRAME]
- description = action call for timelapse shoot. must be a seperate macro
- gcode =
- {action_call_remote_method("timelapse_newframe",
- macropark=printer['gcode_macro TIMELAPSE_TAKE_FRAME'].park,
- hyperlapse=params.HYPERLAPSE)}
- [delayed_gcode _WAIT_TIMELAPSE_TAKE_FRAME]
- gcode =
- {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
- {% set factor = {'speed': printer.gcode_move.speed_factor, 'extrude': printer.gcode_move.extrude_factor} %}
- {% if tl.takingframe %}
- UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_TAKE_FRAME DURATION=0.5
- {% else %}
- {tl.macro.resume} VELOCITY={tl.speed.travel} ; execute the klipper RESUME command
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=is_paused VALUE=False
- {% if not printer[printer.toolhead.extruder].can_extrude %}
- {action_respond_info("Timelapse: Warning minimum extruder temperature not reached!")}
- {% else %}
- {% if tl.extruder.fw_retract %}
- G11
- {% else %}
- G0 E{tl.extruder.extrude} F{tl.speed.extrude * 60}
- G0 F{tl.restore.speed}
- {% if tl.restore.absolute.extrude %}
- M82
- G92 E{tl.restore.e}
- {% endif %}
- {% endif %}
- {% endif %}
- {% if tl.restore.factor.speed != factor.speed %} M220 S{(factor.speed*100)|round(0)} {% endif %}
- {% if tl.restore.factor.extrude != factor.extrude %} M221 S{(factor.extrude*100)|round(0)} {% endif %}
- {% if not tl.restore.absolute.coordinates %} G91 {% endif %}
- {% endif %}
- [gcode_macro HYPERLAPSE]
- description = Start/Stop a hyperlapse recording
- variable_cycle = 0
- variable_run = False
- gcode =
- {% set cycle = params.CYCLE|default(30)|int %}
- {% if params.ACTION and params.ACTION|lower == 'start' %}
- {action_respond_info("Hyperlapse: frames started (Cycle %d sec)" % cycle)}
- SET_GCODE_VARIABLE MACRO=HYPERLAPSE VARIABLE=run VALUE=True
- SET_GCODE_VARIABLE MACRO=HYPERLAPSE VARIABLE=cycle VALUE={cycle}
- UPDATE_DELAYED_GCODE ID=_HYPERLAPSE_LOOP DURATION={cycle}
- TIMELAPSE_TAKE_FRAME HYPERLAPSE=True
- {% elif params.ACTION and params.ACTION|lower == 'stop' %}
- {% if run %}{action_respond_info("Hyperlapse: frames stopped")}{% endif %}
- SET_GCODE_VARIABLE MACRO=HYPERLAPSE VARIABLE=run VALUE=False
- UPDATE_DELAYED_GCODE ID=_HYPERLAPSE_LOOP DURATION=0
- {% else %}
- {action_raise_error("Hyperlapse: No valid input parameter
- Use:
- - HYPERLAPSE ACTION=START [CYCLE=time]
- - HYPERLAPSE ACTION=STOP")}
- {% endif %}
- [delayed_gcode _HYPERLAPSE_LOOP]
- gcode =
- UPDATE_DELAYED_GCODE ID=_HYPERLAPSE_LOOP DURATION={printer["gcode_macro HYPERLAPSE"].cycle}
- TIMELAPSE_TAKE_FRAME HYPERLAPSE=True
- [gcode_macro TIMELAPSE_RENDER]
- description = Render Timelapse video and wait for the result
- variable_render = False
- variable_run_identifier = 0
- gcode =
- {action_respond_info("Timelapse: Rendering started")}
- {action_call_remote_method("timelapse_render", byrendermacro="True")}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_RENDER VARIABLE=render VALUE=True
- {printer.configfile.settings['gcode_macro pause'].rename_existing} ; execute the klipper PAUSE command
- UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_RENDER DURATION=0.5
- [delayed_gcode _WAIT_TIMELAPSE_RENDER]
- gcode =
- {% set ri = printer['gcode_macro TIMELAPSE_RENDER'].run_identifier % 4 %}
- SET_GCODE_VARIABLE MACRO=TIMELAPSE_RENDER VARIABLE=run_identifier VALUE={ri + 1}
- {% if printer['gcode_macro TIMELAPSE_RENDER'].render %}
- M117 Rendering {['-','\\','|','/'][ri]}
- UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_RENDER DURATION=0.5
- {% else %}
- {action_respond_info("Timelapse: Rendering finished")}
- M117
- {printer.configfile.settings['gcode_macro resume'].rename_existing} ; execute the klipper RESUME command
- {% endif %}
- [gcode_macro TEST_STREAM_DELAY]
- description = Helper macro to find stream and park delay
- gcode =
- {% set min = printer.toolhead.axis_minimum %}
- {% set max = printer.toolhead.axis_maximum %}
- {% set act = printer.toolhead.position %}
- {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
- {% if act.z > 5.0 %}
- G0 X{min.x + 5.0} F{tl.speed.travel|int * 60}
- G0 X{(max.x-min.x)/2}
- G4 P{tl.park.time|float * 1000}
- _TIMELAPSE_NEW_FRAME HYPERLAPSE=FALSE
- G0 X{max.x - 5.0}
- {% else %}
- {action_raise_error("Toolhead z %.3f to low. Please place head above z = 5.0" % act.z)}
- {% endif %}
- [gcode_macro G29]
- gcode =
- G28
- bed_mesh_calibrate
- G1 X0 Y0 Z10 F4200
- [gcode_arcs]
- resolution = 1.0
- [gcode_macro BED_LEVEL]
- gcode =
- G28
- BED_MESH_CALIBRATE
- [gcode_macro Z_AXI_CALIBRATE]
- gcode =
- G28
- PROBE_CALIBRATE
- [gcode_macro SHAPER]
- gcode =
- G28
- SHAPER_CALIBRATE
- [gcode_macro PID]
- gcode =
- G28
- PID_CALIBRATE HEATER=extruder TARGET=200
- PID_CALIBRATE HEATER=heater_bed TARGET=60
- [gcode_macro Press_Advance_short]
- gcode =
- SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
- TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
- [gcode_macro Press_Advance_long]
- gcode =
- SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
- TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
- =======================
- Loaded MCU 'mcu' 100 commands (v0.10.0-169-g520273e5-dirty-20221027_120049-ubuntu / gcc: (15:9-2019-q4-0ubuntu1) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] binutils: (2.34-4ubuntu1+13ubuntu1) 2.34)
- MCU 'mcu' config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_i2c1a=PB8,PB9 RESERVE_PINS_serial=PA10,PA9 BUS_PINS_spi1a=PB4,PB5,PB3 STATS_SUMSQ_BASE=256 RECEIVE_WINDOW=192 STEPPER_BOTH_EDGE=1 SERIAL_BAUD=250000 ADC_MAX=4095 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 PWM_MAX=255 MCU=stm32f103xe CLOCK_FREQ=72000000
- Configured MCU 'mcu' (1024 moves)
- Args: ['/usr/share/klipper/klippy/klippy.py', '/mnt/UDISK//printer_config/printer.cfg', '-l', '/mnt/UDISK//printer_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'V0.1.99-0-g813fb1b9-dirty'
- CPU: 4 core ARMv8 Processor rev 4 (v8l)
- Python: '2.7.15 (default, Jan 07 2023, 08:23:34) \n[GCC 6.4.1]'
- webhooks client 183217472: {'program': 'Moonraker', 'version': 'V0.0.71-0-g97796d8-dirty'}
- =============== Log rollover at Mon Jun 5 20:33:32 2023 ===============
- [ERROR] 2023-06-05 20:33:32,648 [root] [virtual_sdcard:_load_file:251] File opened:filament_sensor_mount_with_vslot.gcode Size:893717 start_print
- [ERROR] 2023-06-05 20:33:33,324 [root] [virtual_sdcard:work_handler:453] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 431, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-06-05 20:41:33,204 [root] [virtual_sdcard:work_handler:787] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2023-06-05 20:41:33,205 [root] [virtual_sdcard:work_handler:798] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:00:14,725 [root] [klippy:_connect:167] File contains parsing errors: /mnt/UDISK//printer_config/printer.cfg
- [line 270]: ' sensor_pin: ^PB1\n'
- [ERROR] 2019-12-31 22:00:14,727 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 133, in _read_config
- config = pconfig.read_main_config()
- File "/usr/share/klipper/klippy/configfile.py", line 331, in read_main_config
- regular_config = self._build_config_wrapper(regular_data, filename)
- File "/usr/share/klipper/klippy/configfile.py", line 315, in _build_config_wrapper
- self._parse_config(data, filename, fileconfig, set())
- File "/usr/share/klipper/klippy/configfile.py", line 300, in _parse_config
- self._parse_config_buffer(buffer, filename, fileconfig)
- File "/usr/share/klipper/klippy/configfile.py", line 264, in _parse_config_buffer
- fileconfig.readfp(sbuffer, filename)
- File "/usr/lib64/python2.7/ConfigParser.py", line 324, in readfp
- self._read(fp, filename)
- File "/usr/lib64/python2.7/ConfigParser.py", line 546, in _read
- raise e
- ParsingError: File contains parsing errors: /mnt/UDISK//printer_config/printer.cfg
- [line 270]: ' sensor_pin: ^PB1\n'
- [ERROR] 2019-12-31 22:05:08,200 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:05:08,202 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:07:13,935 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:07:13,936 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:09:02,446 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:09:02,447 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:15:29,162 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:15:29,163 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:00:18,054 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2019-12-31 22:00:18,055 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2023-07-15 23:18:58,028 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2023-07-15 23:18:58,029 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2023-07-15 23:23:29,682 [root] [klippy:_connect:167] {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2023-07-15 23:23:29,685 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
- self.load_object(config, section_config.get_name(), None)
- File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
- self.objects[section] = init_func(config.getsection(section))
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
- blt = BLTouchEndstopWrapper(config)
- File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
- self.position_endstop = config.getfloat('z_offset', minval=0.)
- File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
- note_valid=note_valid)
- File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
- % (option, self.section, option, self.section))
- configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
- [ERROR] 2023-07-15 23:24:53,554 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2023-07-15 23:24:53,961 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-15 23:26:16,594 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key22", "msg":"No trigger on z after full movement", "values": ["z"]}
- [ERROR] 2023-07-15 23:26:16,595 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2023-07-15 23:31:15,677 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2023-07-15 23:40:46,585 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
- [ERROR] 2023-07-15 23:41:30,696 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2023-07-15 23:45:58,537 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2023-07-15 23:45:58,906 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-15 23:49:04,604 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
- [ERROR] 2023-07-15 23:49:05,300 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2023-07-15 23:49:09,660 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2023-07-15 23:49:56,345 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:00:19,316 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:01:52,315 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2019-12-31 22:01:52,691 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:08:21,411 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2019-12-31 22:08:21,412 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:26:26,829 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2019-12-31 22:26:26,836 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:26:26,850 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2019-12-31 22:26:32,132 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2019-12-31 22:26:32,133 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:27:01,431 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2019-12-31 22:27:01,436 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:27:01,445 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2019-12-31 22:27:06,721 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2019-12-31 22:27:06,722 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2023-07-16 20:05:43,835 [root] [__init__:logging_callback:267] b'Got error -1 in write: (19)No such device'
- [ERROR] 2023-07-16 20:05:43,848 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2023-07-16 20:05:46,551 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
- [ERROR] 2023-07-16 20:08:43,777 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2023-07-16 20:08:44,215 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-16 20:08:44,232 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2023-07-16 20:10:14,849 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2023-07-16 20:10:14,850 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:11:42,785 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2019-12-31 22:11:43,154 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:11:43,168 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2019-12-31 22:13:13,383 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2019-12-31 22:13:13,383 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:30:21,165 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2019-12-31 22:30:21,170 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:30:21,181 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2019-12-31 22:30:30,434 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 0.640mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
- [ERROR] 2019-12-31 22:30:30,435 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:36:53,209 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot.gcode Size:902173 start_print
- [ERROR] 2019-12-31 22:36:53,215 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:36:53,225 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2019-12-31 22:43:45,281 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 6.000mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 6.000]}
- [ERROR] 2019-12-31 22:43:45,282 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot.gcode end print
- [ERROR] 2019-12-31 22:56:56,687 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot_1h57m_0,20mm_210C_PLA_ENDER3PRO.gcode Size:1411647 start_print
- [ERROR] 2019-12-31 22:56:56,694 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:56:56,704 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '150 ; set temporary nozzle temp to prevent oozing during homing'
- [ERROR] 2019-12-31 22:57:02,394 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/filament_sensor_mount_with_vslot_1h57m_0,20mm_210C_PLA_ENDER3PRO.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (13.682mm^2 vs 6.000mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [13.682, 6.000]}
- [ERROR] 2019-12-31 22:57:02,394 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot_1h57m_0,20mm_210C_PLA_ENDER3PRO.gcode end print
- [ERROR] 2019-12-31 22:58:42,482 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2019-12-31 22:58:47,328 [root] [verify_heater:heater_fault:88] Heater extruder not heating at expected rate
- [ERROR] 2019-12-31 22:58:47,330 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Heater extruder not heating at expected rate
- See the 'verify_heater' section in docs/Config_Reference.md
- for the parameters that control this check.
- [ERROR] 2019-12-31 22:58:59,320 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:00:20,450 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:00:21,813 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:00:19,059 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:06:07,772 [root] [virtual_sdcard:_load_file:246] File opened:filament_sensor_mount_with_vslot_1h57m_0,20mm_210C_PLA_ENDER3PRO.gcode Size:1411647 start_print
- [ERROR] 2019-12-31 22:06:08,142 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 00:09:32,555 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/filament_sensor_mount_with_vslot_1h57m_0,20mm_210C_PLA_ENDER3PRO.gcode end print
- [ERROR] 2020-01-01 00:44:57,710 [root] [virtual_sdcard:_load_file:246] File opened:Skull_1d14h53m_0,20mm_210C_PLA_ENDER3PRO.gcode Size:64376167 start_print
- [ERROR] 2020-01-01 00:44:57,719 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:00:20,850 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2023-07-17 08:29:18,589 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2023-07-17 08:29:30,254 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:00:17,920 [root] [klippy:_connect:208] MCU error during connect
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
- cb()
- File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
- config_params = self._send_get_config()
- File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
- self._name, self._name))
- mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
- [ERROR] 2019-12-31 22:01:08,935 [root] [virtual_sdcard:_load_file:246] File opened:Skull_1d14h53m_0,20mm_210C_PLA_ENDER3PRO.gcode Size:64376167 start_print
- [ERROR] 2019-12-31 22:01:09,353 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:01:09,370 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '150 ; set temporary nozzle temp to prevent oozing during homing'
- [ERROR] 2023-07-18 14:06:22,563 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2023-07-18 14:06:23,084 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/Skull_1d14h53m_0,20mm_210C_PLA_ENDER3PRO.gcode end print
- [ERROR] 2023-07-18 14:14:53,274 [root] [virtual_sdcard:_load_file:246] File opened:MC_LCD_Play_CMSP_V2.1.gcode Size:782139 start_print
- [ERROR] 2023-07-18 14:14:53,655 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-18 14:17:12,832 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MC_LCD_Play_CMSP_V2.1.gcode end print
- [ERROR] 2023-07-18 14:24:49,464 [root] [virtual_sdcard:_load_file:246] File opened:MC_LCD_Play_CMSP_V2.1.gcode Size:782139 start_print
- [ERROR] 2023-07-18 14:24:49,471 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-18 14:28:19,689 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MC_LCD_Play_CMSP_V2.1.gcode end print
- [ERROR] 2023-07-18 20:42:03,117 [root] [virtual_sdcard:_load_file:246] File opened:MKVI_G3_Helmet_01.gcode Size:12505058 start_print
- [ERROR] 2023-07-18 20:42:03,487 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-18 20:49:39,963 [root] [virtual_sdcard:work_handler:972] file:/root/gcode_files/MKVI_G3_Helmet_01.gcode,error:{"code":"key112", "msg": "Move exceeds maximum extrusion (6.000mm^2 vs 6.000mm^2)
- See the 'max_extrude_cross_section' config option for details", "values": [6.000, 6.000]}
- [ERROR] 2023-07-18 20:49:39,964 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MKVI_G3_Helmet_01.gcode end print
- [ERROR] 2023-07-18 21:21:35,874 [root] [virtual_sdcard:_load_file:246] File opened:MKVI_G3_Helmet_01.gcode Size:18077447 start_print
- [ERROR] 2023-07-18 21:21:35,886 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-18 21:22:10,296 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MKVI_G3_Helmet_01.gcode end print
- [ERROR] 2023-07-18 21:23:21,569 [root] [virtual_sdcard:_load_file:246] File opened:MKVI_G3_Helmet_01.gcode Size:18077447 start_print
- [ERROR] 2023-07-18 21:23:21,575 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-18 22:03:00,171 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2023-07-18 22:03:00,440 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MKVI_G3_Helmet_01.gcode end print
- [ERROR] 2019-12-31 22:10:01,449 [root] [virtual_sdcard:_load_file:246] File opened:MKVI_G3_Helmet_01.gcode Size:18077447 start_print
- [ERROR] 2019-12-31 22:10:01,837 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:12:44,937 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2019-12-31 22:12:45,101 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MKVI_G3_Helmet_01.gcode end print
- [ERROR] 2019-12-31 22:05:51,870 [root] [virtual_sdcard:_load_file:246] File opened:Ender-3 Pro_MC_LCD_Play_cima.gcode Size:1003409 start_print
- [ERROR] 2019-12-31 22:05:52,263 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:18:49,203 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/Ender-3 Pro_MC_LCD_Play_cima.gcode end print
- [ERROR] 2019-12-31 22:26:03,082 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_MC_LCD_Play_cima (1).gcode Size:613905 start_print
- [ERROR] 2019-12-31 22:26:03,088 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2019-12-31 22:32:42,200 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_MC_LCD_Play_cima (1).gcode end print
- [ERROR] 2019-12-31 23:59:30,913 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_MC_LCD_Play_cima (1).gcode Size:613905 start_print
- [ERROR] 2019-12-31 23:59:30,918 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 00:06:27,932 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2020-01-01 00:06:28,158 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_MC_LCD_Play_cima (1).gcode end print
- [ERROR] 2020-01-01 00:13:20,562 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2020-01-01 00:13:25,697 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
- [ERROR] 2020-01-01 00:16:20,851 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2020-01-01 00:16:26,434 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
- [ERROR] 2020-01-01 00:23:59,654 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_MC_LCD_Play_cima (1).gcode Size:613905 start_print
- [ERROR] 2020-01-01 00:24:00,035 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 00:45:30,346 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
- [ERROR] 2020-01-01 00:45:35,504 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
- [ERROR] 2020-01-01 00:45:36,377 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_MC_LCD_Play_cima (1).gcode end print
- [ERROR] 2020-01-01 00:56:22,604 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_MC_LCD_Play_cima (1).gcode Size:613905 start_print
- [ERROR] 2020-01-01 00:56:23,028 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 00:56:23,042 [root] [virtual_sdcard:get_print_temperature:404] invalid literal for int() with base 10: '175 ; Start heating up the nozzle most of the way'
- [ERROR] 2020-01-01 01:24:14,521 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_MC_LCD_Play_cima (1).gcode end print
- [ERROR] 2020-01-01 01:45:52,498 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_bottom (1).gcode Size:450502 start_print
- [ERROR] 2020-01-01 01:45:52,503 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 02:30:13,474 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_bottom (1).gcode end print
- [ERROR] 2020-01-01 02:30:53,762 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_MC_LCD_Play_cima (1).gcode Size:1136249 start_print
- [ERROR] 2020-01-01 02:30:53,768 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 03:53:14,665 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_MC_LCD_Play_cima (1).gcode end print
- [ERROR] 2020-01-01 17:03:03,009 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_MC_LCD_Play_cima (1).gcode Size:1136249 start_print
- [ERROR] 2020-01-01 17:03:03,014 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 17:14:07,518 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_MC_LCD_Play_cima (1).gcode end print
- [ERROR] 2020-01-01 17:27:55,385 [root] [virtual_sdcard:_load_file:246] File opened:MC_LCD_Play_cima.gcode Size:1136179 start_print
- [ERROR] 2020-01-01 17:27:55,391 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 17:30:23,564 [root] [gcode:_respond_raw:482] Write g-code response
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/gcode.py", line 480, in _respond_raw
- os.write(self.fd, (msg+"\n").encode())
- BlockingIOError: [Errno 11] Resource temporarily unavailable
- [ERROR] 2020-01-01 17:36:22,044 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2020-01-01 17:36:22,191 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MC_LCD_Play_cima.gcode end print
- [ERROR] 2020-01-01 17:37:41,513 [root] [virtual_sdcard:_load_file:246] File opened:Ender-3 Pro_.gcode Size:1003418 start_print
- [ERROR] 2020-01-01 17:37:41,899 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 19:23:33,652 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/Ender-3 Pro_.gcode end print
- [ERROR] 2019-12-31 22:14:55,195 [root] [klippy:_connect:167] Source contains parsing errors: '/mnt/UDISK//printer_config/printer.cfg'
- [line 317]: 'BED_MESH_CLEAR\n'
- [line 318]: 'BED_MESH_CALIBRATE\n'
- [line 320]: 'BED_MESH_OUTPUT\n'
- [line 321]: 'SAVE_CONFIG\n'
- [ERROR] 2019-12-31 22:14:55,196 [root] [klippy:_connect:197] Config error
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
- self._read_config()
- File "/usr/share/klipper/klippy/klippy.py", line 133, in _read_config
- config = pconfig.read_main_config()
- File "/usr/share/klipper/klippy/configfile.py", line 317, in read_main_config
- regular_config = self._build_config_wrapper(regular_data, filename)
- File "/usr/share/klipper/klippy/configfile.py", line 304, in _build_config_wrapper
- self._parse_config(data, filename, fileconfig, set())
- File "/usr/share/klipper/klippy/configfile.py", line 290, in _parse_config
- self._parse_config_buffer(buffer, filename, fileconfig)
- File "/usr/share/klipper/klippy/configfile.py", line 256, in _parse_config_buffer
- fileconfig.readfp(sbuffer, filename)
- File "/usr/lib/python3.7/configparser.py", line 762, in readfp
- self.read_file(fp, source=filename)
- File "/usr/lib/python3.7/configparser.py", line 717, in read_file
- self._read(f, source)
- File "/usr/lib/python3.7/configparser.py", line 1110, in _read
- raise e
- configparser.ParsingError: Source contains parsing errors: '/mnt/UDISK//printer_config/printer.cfg'
- [line 317]: 'BED_MESH_CLEAR\n'
- [line 318]: 'BED_MESH_CALIBRATE\n'
- [line 320]: 'BED_MESH_OUTPUT\n'
- [line 321]: 'SAVE_CONFIG\n'
- [ERROR] 2019-12-31 22:17:00,346 [root] [virtual_sdcard:_load_file:246] File opened:Glasses1.gcode Size:2112268 start_print
- [ERROR] 2019-12-31 22:17:00,822 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2020-01-01 00:08:59,242 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/Glasses1.gcode end print
- [ERROR] 2023-07-24 22:23:31,118 [root] [virtual_sdcard:_load_file:246] File opened:MKVI_G3_Helmet_01.gcode Size:28107382 start_print
- [ERROR] 2023-07-24 22:23:31,507 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-25 12:14:59,930 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MKVI_G3_Helmet_01.gcode end print
- [ERROR] 2023-07-25 21:44:37,026 [root] [virtual_sdcard:_load_file:246] File opened:MKVI_G3_Helmet_02.gcode Size:29453607 start_print
- [ERROR] 2023-07-25 21:44:37,034 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
- Traceback (most recent call last):
- File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
- timelapse_postion = int(config_data.get('1').get("position", 0))
- AttributeError: 'NoneType' object has no attribute 'get'
- [ERROR] 2023-07-26 01:32:10,555 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
- [ERROR] 2023-07-26 01:32:10,702 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/MKVI_G3_Helmet_02.gcode end print
Advertisement
Add Comment
Please, Sign In to add comment