rafaeltuneca

klipper.log

Jul 26th, 2023 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.14 KB | None | 0 0
  1. # !Ender-3 Pro
  2. # printer_size: 220x220x250
  3. # version: 3.5
  4. # This file contains pin mappings for the stock 2020 Creality Ender-3 V2
  5. # To use this config, during "make menuconfig" select the
  6. # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
  7. # communication.
  8.  
  9. # If you prefer a direct serial connection, in "make menuconfig"
  10. # select "Enable extra low-level configuration options" and select
  11. # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
  12. # cable used for the LCD module as follows:
  13. # 3: Tx, 4: Rx, 9: GND, 10: VCC
  14.  
  15. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  16. # turning on the printer with the card inserted. The firmware
  17. # filename must end in ".bin" and must not match the last filename
  18. # that was flashed.
  19.  
  20. # See docs/Config_Reference.md for a description of parameters.
  21.  
  22. ###fluidd set
  23. [virtual_sdcard]
  24. path: ~/gcode_files
  25.  
  26. [display_status]
  27.  
  28. [pause_resume]
  29.  
  30. [gcode_macro START_PRINT]
  31. gcode:
  32. {% set BED_TEMP = params.BED_TEMP|default(60)|float %}
  33. {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(190)|float %}
  34. # Start bed heating
  35. M140 S{BED_TEMP}
  36. # Use absolute coordinates
  37. G90
  38. # Reset the G-Code Z offset (adjust Z offset if needed)
  39. SET_GCODE_OFFSET Z=0.0
  40. # Home the printer
  41. G28
  42. # Move the nozzle near the bed
  43. G1 Z5 F3000
  44. # Move the nozzle very close to the bed
  45. G1 Z0.15 F300
  46. # Wait for bed to reach temperature
  47. M190 S{BED_TEMP}
  48. # Set and wait for nozzle to reach temperature
  49. M109 S{EXTRUDER_TEMP}
  50.  
  51. [gcode_macro END_PRINT]
  52. gcode:
  53. # Turn off bed, extruder, and fan
  54. M140 S0
  55. M104 S0
  56. M106 S0
  57. # Move nozzle away from print while retracting
  58. G91
  59. G1 X-2 Y-2 E-3 F300
  60. # Raise nozzle by 10mm
  61. G1 Z10 F3000
  62. G90
  63. # Disable steppers
  64. M84
  65.  
  66. [gcode_macro PAUSE]
  67. description: Pause the actual running print
  68. rename_existing: PAUSE_BASE
  69. # change this if you need more or less extrusion
  70. variable_extrude: 1.0
  71. gcode:
  72. ##### read E from pause macro #####
  73. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  74. ##### set park positon for x and y #####
  75. # default is your max posion from your printer.cfg
  76. {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
  77. {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  78. ##### calculate save lift position #####
  79. {% set max_z = printer.toolhead.axis_maximum.z|float %}
  80. {% set act_z = printer.toolhead.position.z|float %}
  81. {% if act_z < (max_z - 2.0) %}
  82. {% set z_safe = 2.0 %}
  83. {% else %}
  84. {% set z_safe = max_z - act_z %}
  85. {% endif %}
  86. ##### end of definitions #####
  87. PAUSE_BASE
  88. G91
  89. {% if printer.extruder.can_extrude|lower == 'true' %}
  90. G1 E-{E} F2100
  91. {% else %}
  92. {action_respond_info("Extruder not hot enough")}
  93. {% endif %}
  94. {% if "xyz" in printer.toolhead.homed_axes %}
  95. G1 Z{z_safe} F900
  96. G90
  97. G1 X{x_park} Y{y_park} F6000
  98. {% else %}
  99. {action_respond_info("Printer not homed")}
  100. {% endif %}
  101.  
  102.  
  103. [gcode_macro RESUME]
  104. description: Resume the actual running print
  105. rename_existing: RESUME_BASE
  106. gcode:
  107. ##### read E from pause macro #####
  108. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  109. #### get VELOCITY parameter if specified ####
  110. {% if 'VELOCITY' in params|upper %}
  111. {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
  112. {%else %}
  113. {% set get_params = "" %}
  114. {% endif %}
  115. ##### end of definitions #####
  116. {% if printer.extruder.can_extrude|lower == 'true' %}
  117. G91
  118. G1 E{E} F2100
  119. {% else %}
  120. {action_respond_info("Extruder not hot enough")}
  121. {% endif %}
  122. RESUME_BASE {get_params}
  123.  
  124. [gcode_macro CANCEL_PRINT]
  125. description: Cancel the actual running print
  126. rename_existing: CANCEL_PRINT_BASE
  127. gcode:
  128. TURN_OFF_HEATERS
  129. {% if "xyz" in printer.toolhead.homed_axes %}
  130. G91
  131. G1 Z4.5 F300
  132. G90
  133. {% else %}
  134. {action_respond_info("Printer not homed")}
  135. {% endif %}
  136. G28 X Y
  137. {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  138. G1 Y{y_park} F2000
  139. M84
  140. CANCEL_PRINT_BASE
  141.  
  142.  
  143. [stepper_x]
  144. step_pin: PB9
  145. dir_pin: PC2
  146. enable_pin: !PC3
  147. microsteps: 16
  148. rotation_distance: 40
  149. endstop_pin: ^PA5
  150. position_endstop: 0
  151. position_max: 225
  152. homing_speed: 80
  153.  
  154. [stepper_y]
  155. step_pin: PB7
  156. dir_pin: PB8
  157. enable_pin: !PC3
  158. microsteps: 16
  159. rotation_distance: 40
  160. endstop_pin: ^PA6
  161. position_min: -5
  162. position_endstop: -2
  163. position_max: 225
  164. homing_speed: 80
  165.  
  166. [stepper_z]
  167. step_pin: PB5
  168. dir_pin: !PB6
  169. enable_pin: !PC3
  170. microsteps: 16
  171. rotation_distance: 8
  172. # endstop_pin: probe:z_virtual_endstop #enable to use bltouch
  173. endstop_pin: ^PA7 #disable to use bltouch
  174. position_endstop: 0.0 #disable to use bltouch
  175. position_max: 255
  176.  
  177. [extruder]
  178. #step_pin: PB4
  179. #dir_pin: PB3
  180. step_pin: PB3
  181. dir_pin: PB4
  182. enable_pin: !PC3
  183. microsteps: 16
  184. gear_ratio: 42:12
  185. rotation_distance: 26.359
  186. nozzle_diameter: 0.400
  187. filament_diameter: 1.750
  188. heater_pin: PA1
  189. sensor_type: EPCOS 100K B57560G104F
  190. sensor_pin: PC5
  191. control: pid
  192. pid_Kp: 23.561
  193. pid_Ki: 1.208
  194. pid_Kd: 114.859
  195. min_temp: 0
  196. max_temp: 300
  197.  
  198. [idle_timeout]
  199. timeout: 172800
  200.  
  201. [verify_heater extruder]
  202. check_gain_time: 200
  203. hysteresis: 5
  204.  
  205. [heater_bed]
  206. heater_pin: PA2
  207. sensor_type: EPCOS 100K B57560G104F
  208. sensor_pin: PC4
  209. control: pid
  210. # tuned for stock hardware with 50 degree Celsius target
  211. pid_Kp: 67.104
  212. pid_Ki: 0.544
  213. pid_Kd: 2068.466
  214. min_temp: 0
  215. max_temp: 130
  216.  
  217. [fan]
  218. pin: PA0
  219.  
  220. [fan_generic extruder_partfan]
  221. # pin: PB15
  222. pin: PC6
  223. #max_power:
  224. #shutdown_speed:
  225. #cycle_time:
  226. #hardware_pwm:
  227. #kick_start_time:
  228. #off_below:
  229. #tachometer_pin:
  230. #tachometer_ppr:
  231. #tachometer_poll_interval:
  232. # See the "fan" section for a description of the above parameters.
  233. #heater: extruder
  234. # Name of the config section defining the heater that this fan is
  235. # associated with. If a comma separated list of heater names is
  236. # provided here, then the fan will be enabled when any of the given
  237. # heaters are enabled. The default is "extruder".
  238. #heater_temp: 50.0
  239. # A temperature (in Celsius) that the heater must drop below before
  240. # the fan is disabled. The default is 50 Celsius.
  241. #fan_speed: 1.0
  242. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  243. # will be set to when its associated heater is enabled. The default
  244. # is 1.0
  245.  
  246.  
  247. [heater_fan heater_partfan]
  248. pin: PB14
  249. #max_power:
  250. #shutdown_speed:
  251. #cycle_time:
  252. #hardware_pwm:
  253. #kick_start_time:
  254. #off_below:
  255. #tachometer_pin:
  256. #tachometer_ppr:
  257. #tachometer_poll_interval:
  258. # See the "fan" section for a description of the above parameters.
  259. #heater: extruder
  260. # Name of the config section defining the heater that this fan is
  261. # associated with. If a comma separated list of heater names is
  262. # provided here, then the fan will be enabled when any of the given
  263. # heaters are enabled. The default is "extruder".
  264. #heater_temp: 50.0
  265. # A temperature (in Celsius) that the heater must drop below before
  266. # the fan is disabled. The default is 50 Celsius.
  267. #fan_speed: 1.0
  268. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  269. # will be set to when its associated heater is enabled. The default
  270. # is 1.0
  271.  
  272. [mcu]
  273. serial: /dev/serial/by-id/usb_serial_1
  274. restart_method: command
  275.  
  276. [printer]
  277. kinematics: cartesian
  278. max_velocity: 300
  279. max_accel: 5000
  280. # max_accel_to_decel: 7000
  281. max_z_velocity: 5
  282. square_corner_velocity: 5.0
  283. max_z_accel: 100
  284.  
  285. [exclude_object]
  286.  
  287. # [mcu rpi]
  288. # serial: /tmp/klipper_host_mcu
  289.  
  290. # [adxl345]
  291. # cs_pin: rpi:None
  292. # spi_speed: 2000000
  293. # spi_bus: spidev2.0
  294.  
  295. # [resonance_tester]
  296. # accel_chip: adxl345
  297. # accel_per_hz: 70
  298. # probe_points:
  299. # 117.5,117.5,10
  300.  
  301. [input_shaper]
  302. shaper_type_x = mzv
  303. shaper_freq_x = 89.8
  304. shaper_type_y = mzv
  305. shaper_freq_y = 35.2
  306.  
  307. [bltouch]
  308. sensor_pin: ^PB1
  309. control_pin: PB0
  310. x_offset: -31.8
  311. y_offset: -40.5
  312. z_offset: 2.6
  313. probe_with_touch_mode: true
  314. stow_on_each_sample: false
  315.  
  316. # [safe_z_home]
  317. # home_xy_position: 100,100 # Change coordinates to the center of your print bed
  318. # speed: 80
  319. # z_hop: 10 # Move up 10mm
  320. # z_hop_speed: 10
  321.  
  322. # [bed_mesh]
  323. # speed:80
  324. # horizontal_move_z: 5
  325. # mesh_min: 83,30
  326. # mesh_max: 235,215
  327. # probe_count: 5,5
  328. # algorithm: bicubic
  329.  
  330. [bed_screws]
  331. screw1:30,25
  332. screw1_name:1
  333. screw2:200,25
  334. screw2_name:2
  335. screw3:200,195
  336. screw3_name:3
  337. screw4:30,195
  338. screw4_name:4
  339.  
  340.  
  341. [include timelapse.cfg]
  342.  
  343. [gcode_macro G29] #界面中增加G29指令
  344. gcode:
  345. G28
  346. bed_mesh_calibrate
  347. G1 X0 Y0 Z10 F4200
  348. # save_config
  349.  
  350. [gcode_arcs]
  351. resolution: 1.0
  352.  
  353.  
  354. [gcode_macro BED_LEVEL]
  355. gcode:
  356. G28
  357. BED_MESH_CALIBRATE
  358.  
  359.  
  360. [gcode_macro Z_AXI_CALIBRATE]
  361. gcode:
  362. G28
  363. PROBE_CALIBRATE
  364.  
  365. [gcode_macro SHAPER]
  366. gcode:
  367. G28
  368. SHAPER_CALIBRATE
  369.  
  370. [gcode_macro PID]
  371. gcode:
  372. G28
  373. PID_CALIBRATE HEATER=extruder TARGET=200
  374. PID_CALIBRATE HEATER=heater_bed TARGET=60
  375.  
  376. [gcode_macro Press_Advance_short]
  377. gcode:
  378. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  379. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
  380.  
  381. [gcode_macro Press_Advance_long]
  382. gcode:
  383. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  384. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391. [Level None] 2023-06-05 20:33:32,807 [None] [:None:0] ===== Config file =====
  392. [virtual_sdcard]
  393. path = ~/gcode_files
  394.  
  395. [display_status]
  396.  
  397. [pause_resume]
  398.  
  399. [gcode_macro PAUSE]
  400. description = Pause the actual running print
  401. rename_existing = PAUSE_BASE
  402. variable_extrude = 1.0
  403. gcode =
  404. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  405. {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
  406. {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  407. {% set max_z = printer.toolhead.axis_maximum.z|float %}
  408. {% set act_z = printer.toolhead.position.z|float %}
  409. {% if act_z < (max_z - 2.0) %}
  410. {% set z_safe = 2.0 %}
  411. {% else %}
  412. {% set z_safe = max_z - act_z %}
  413. {% endif %}
  414. PAUSE_BASE
  415. G91
  416. {% if printer.extruder.can_extrude|lower == 'true' %}
  417. G1 E-{E} F2100
  418. {% else %}
  419. {action_respond_info("Extruder not hot enough")}
  420. {% endif %}
  421. {% if "xyz" in printer.toolhead.homed_axes %}
  422. G1 Z{z_safe} F900
  423. G90
  424. G1 X{x_park} Y{y_park} F6000
  425. {% else %}
  426. {action_respond_info("Printer not homed")}
  427. {% endif %}
  428.  
  429. [gcode_macro RESUME]
  430. description = Resume the actual running print
  431. rename_existing = RESUME_BASE
  432. gcode =
  433. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  434. {% if 'VELOCITY' in params|upper %}
  435. {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
  436. {%else %}
  437. {% set get_params = "" %}
  438. {% endif %}
  439. {% if printer.extruder.can_extrude|lower == 'true' %}
  440. G91
  441. G1 E{E} F2100
  442. {% else %}
  443. {action_respond_info("Extruder not hot enough")}
  444. {% endif %}
  445. RESUME_BASE {get_params}
  446.  
  447. [gcode_macro CANCEL_PRINT]
  448. description = Cancel the actual running print
  449. rename_existing = CANCEL_PRINT_BASE
  450. gcode =
  451. TURN_OFF_HEATERS
  452. {% if "xyz" in printer.toolhead.homed_axes %}
  453. G91
  454. G1 Z4.5 F300
  455. G90
  456. {% else %}
  457. {action_respond_info("Printer not homed")}
  458. {% endif %}
  459. G28 X Y
  460. {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  461. G1 Y{y_park} F2000
  462. M84
  463. CANCEL_PRINT_BASE
  464.  
  465. [stepper_x]
  466. step_pin = PB9
  467. dir_pin = PC2
  468. enable_pin = !PC3
  469. microsteps = 16
  470. rotation_distance = 40
  471. endstop_pin = ^PA5
  472. position_endstop = 0
  473. position_max = 225
  474. homing_speed = 80
  475.  
  476. [stepper_y]
  477. step_pin = PB7
  478. dir_pin = PB8
  479. enable_pin = !PC3
  480. microsteps = 16
  481. rotation_distance = 40
  482. endstop_pin = ^PA6
  483. position_min = -2
  484. position_endstop = -2
  485. position_max = 225
  486. homing_speed = 80
  487.  
  488. [stepper_z]
  489. step_pin = PB5
  490. dir_pin = !PB6
  491. enable_pin = !PC3
  492. microsteps = 16
  493. rotation_distance = 8
  494. endstop_pin = ^PA7
  495. position_endstop = 0.0
  496. position_max = 255
  497.  
  498. [extruder]
  499. gear_ratio = 1:1
  500. max_extrude_only_distance = 1000.0
  501. step_pin = PB3
  502. dir_pin = PB4
  503. enable_pin = !PC3
  504. microsteps = 16
  505. rotation_distance = 7.5
  506. nozzle_diameter = 0.400
  507. filament_diameter = 1.750
  508. heater_pin = PA1
  509. sensor_type = EPCOS 100K B57560G104F
  510. sensor_pin = PC5
  511. control = pid
  512. pid_kp = 29.291
  513. pid_ki = 1.743
  514. pid_kd = 123.021
  515. min_temp = 0
  516. max_temp = 265
  517. pressure_advance_smooth_time = 0.04
  518. pressure_advance = 0
  519.  
  520. [verify_heater extruder]
  521. check_gain_time = 200
  522. hysteresis = 5
  523.  
  524. [heater_bed]
  525. heater_pin = PA2
  526. sensor_type = EPCOS 100K B57560G104F
  527. sensor_pin = PC4
  528. control = pid
  529. pid_kp = 67.104
  530. pid_ki = 0.544
  531. pid_kd = 2068.466
  532. min_temp = 0
  533. max_temp = 130
  534.  
  535. [fan]
  536. pin = PA0
  537.  
  538. [fan_generic extruder_partfan]
  539. pin = PC6
  540.  
  541. [heater_fan heater_partfan]
  542. pin = PB14
  543.  
  544. [mcu]
  545. serial = /dev/serial/by-id/usb_serial_1
  546. restart_method = command
  547.  
  548. [printer]
  549. kinematics = cartesian
  550. max_velocity = 300
  551. max_accel = 5000
  552. max_z_velocity = 5
  553. square_corner_velocity = 5.0
  554. max_z_accel = 100
  555.  
  556. [input_shaper]
  557. shaper_type_x = mzv
  558. shaper_freq_x = 89.8
  559. shaper_type_y = mzv
  560. shaper_freq_y = 35.2
  561.  
  562. [bed_screws]
  563. screw1 = 30,25
  564. screw1_name = 1
  565. screw2 = 200,25
  566. screw2_name = 2
  567. screw3 = 200,195
  568. screw3_name = 3
  569. screw4 = 30,195
  570. screw4_name = 4
  571.  
  572. [gcode_macro GET_TIMELAPSE_SETUP]
  573. description = Print the Timelapse setup
  574. gcode =
  575. {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
  576. {% set output_txt = ["Timelapse Setup:"] %}
  577. {% set _dummy = output_txt.append("enable: %s" % tl.enable) %}
  578. {% set _dummy = output_txt.append("park: %s" % tl.park.enable) %}
  579. {% if tl.park.enable %}
  580. {% set _dummy = output_txt.append("park position: %s time: %s s" % (tl.park.pos, tl.park.time)) %}
  581. {% 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)) %}
  582. {% set _dummy = output_txt.append("travel speed: %s mm/s" % tl.speed.travel) %}
  583. {% endif %}
  584. {% set _dummy = output_txt.append("fw_retract: %s" % tl.extruder.fw_retract) %}
  585. {% if tl.extruder.fw_retract %}
  586. {% set _dummy = output_txt.append("retract: %s mm speed: %s mm/s" % (tl.extruder.retract, tl.speed.retract)) %}
  587. {% set _dummy = output_txt.append("extrude: %s mm speed: %s mm/s" % (tl.extruder.extrude, tl.speed.extrude)) %}
  588. {% endif %}
  589. {% set _dummy = output_txt.append("verbose: %s" % tl.verbose) %}
  590. {action_respond_info(output_txt|join("\n"))}
  591.  
  592. [gcode_macro _SET_TIMELAPSE_SETUP]
  593. description = Set user parameters for timelapse
  594. gcode =
  595. {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
  596. {% set min = printer.toolhead.axis_minimum %}
  597. {% set max = printer.toolhead.axis_maximum %}
  598. {% set round_bed = True if printer.configfile.settings.printer.kinematics is in ['delta','polar','rotary_delta','winch']
  599. else False %}
  600. {% set park = {'min' : {'x': (min.x / 1.42)|round(3) if round_bed else min.x|round(3),
  601. 'y': (min.y / 1.42)|round(3) if round_bed else min.y|round(3)},
  602. 'max' : {'x': (max.x / 1.42)|round(3) if round_bed else max.x|round(3),
  603. 'y': (max.y / 1.42)|round(3) if round_bed else max.y|round(3)},
  604. 'center': {'x': (max.x-(max.x-min.x)/2)|round(3),
  605. 'y': (max.y-(max.y-min.y)/2)|round(3)}} %}
  606. {% if params.ENABLE %}
  607. {% if params.ENABLE|lower is in ['true', 'false'] %}
  608. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=enable VALUE={True if params.ENABLE|lower == 'true' else False}
  609. {% else %}
  610. {action_raise_error("ENABLE=%s not supported. Allowed values are [True, False]" % params.ENABLE|capitalize)}
  611. {% endif %}
  612. {% endif %}
  613. {% if params.VERBOSE %}
  614. {% if params.VERBOSE|lower is in ['true', 'false'] %}
  615. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=verbose VALUE={True if params.VERBOSE|lower == 'true' else False}
  616. {% else %}
  617. {action_raise_error("VERBOSE=%s not supported. Allowed values are [True, False]" % params.VERBOSE|capitalize)}
  618. {% endif %}
  619. {% endif %}
  620. {% if params.CUSTOM_POS_X %}
  621. {% if params.CUSTOM_POS_X|float >= min.x and params.CUSTOM_POS_X|float <= max.x %}
  622. {% set _dummy = tl.park.custom.update({'x':params.CUSTOM_POS_X|float|round(3)}) %}
  623. {% else %}
  624. {action_raise_error("CUSTOM_POS_X=%s must be within [%s - %s]" % (params.CUSTOM_POS_X, min.x, max.x))}
  625. {% endif %}
  626. {% endif %}
  627. {% if params.CUSTOM_POS_Y %}
  628. {% if params.CUSTOM_POS_Y|float >= min.y and params.CUSTOM_POS_Y|float <= max.y %}
  629. {% set _dummy = tl.park.custom.update({'y':params.CUSTOM_POS_Y|float|round(3)}) %}
  630. {% else %}
  631. {action_raise_error("CUSTOM_POS_Y=%s must be within [%s - %s]" % (params.CUSTOM_POS_Y, min.y, max.y))}
  632. {% endif %}
  633. {% endif %}
  634. {% if params.CUSTOM_POS_DZ %}
  635. {% if params.CUSTOM_POS_DZ|float >= min.z and params.CUSTOM_POS_DZ|float <= max.z %}
  636. {% set _dummy = tl.park.custom.update({'dz':params.CUSTOM_POS_DZ|float|round(3)}) %}
  637. {% else %}
  638. {action_raise_error("CUSTOM_POS_DZ=%s must be within [%s - %s]" % (params.CUSTOM_POS_DZ, min.z, max.z))}
  639. {% endif %}
  640. {% endif %}
  641. {% if params.PARK_ENABLE %}
  642. {% if params.PARK_ENABLE|lower is in ['true', 'false'] %}
  643. {% set _dummy = tl.park.update({'enable':True if params.PARK_ENABLE|lower == 'true' else False}) %}
  644. {% else %}
  645. {action_raise_error("PARK_ENABLE=%s not supported. Allowed values are [True, False]" % params.PARK_ENABLE|capitalize)}
  646. {% endif %}
  647. {% endif %}
  648. {% if params.PARK_POS %}
  649. {% if params.PARK_POS|lower is in ['center','front_left','front_right','back_left','back_right','custom'] %}
  650. {% set dic = {'center' : {'x': park.center.x , 'y': park.center.y , 'dz': 1 },
  651. 'front_left' : {'x': park.min.x , 'y': park.min.y , 'dz': 0 },
  652. 'front_right': {'x': park.max.x , 'y': park.min.y , 'dz': 0 },
  653. 'back_left' : {'x': park.min.x , 'y': park.max.y , 'dz': 0 },
  654. 'back_right' : {'x': park.max.x , 'y': park.max.y , 'dz': 0 },
  655. 'custom' : {'x': tl.park.custom.x, 'y': tl.park.custom.y, 'dz': tl.park.custom.dz}} %}
  656. {% set _dummy = tl.park.update({'pos':params.PARK_POS|lower}) %}
  657. {% set _dummy = tl.park.update({'coord':dic[tl.park.pos]}) %}
  658. {% else %}
  659. {action_raise_error("PARK_POS=%s not supported. Allowed values are [CENTER, FRONT_LEFT, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, CUSTOM]"
  660. % params.PARK_POS|upper)}
  661. {% endif %}
  662. {% endif %}
  663. {% if params.PARK_TIME %}
  664. {% if params.PARK_TIME|float >= 0.0 %}
  665. {% set _dummy = tl.park.update({'time':params.PARK_TIME|float|round(3)}) %}
  666. {% else %}
  667. {action_raise_error("PARK_TIME=%s must be a positive number" % params.PARK_TIME)}
  668. {% endif %}
  669. {% endif %}
  670. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=park VALUE="{tl.park}"
  671. {% if params.TRAVEL_SPEED %}
  672. {% if params.TRAVEL_SPEED|float > 0.0 %}
  673. {% set _dummy = tl.speed.update({'travel':params.TRAVEL_SPEED|float|round(3)}) %}
  674. {% else %}
  675. {action_raise_error("TRAVEL_SPEED=%s must be larger than 0" % params.TRAVEL_SPEED)}
  676. {% endif %}
  677. {% endif %}
  678. {% if params.RETRACT_SPEED %}
  679. {% if params.RETRACT_SPEED|float > 0.0 %}
  680. {% set _dummy = tl.speed.update({'retract':params.RETRACT_SPEED|float|round(3)}) %}
  681. {% else %}
  682. {action_raise_error("RETRACT_SPEED=%s must be larger than 0" % params.RETRACT_SPEED)}
  683. {% endif %}
  684. {% endif %}
  685. {% if params.EXTRUDE_SPEED %}
  686. {% if params.EXTRUDE_SPEED|float > 0.0 %}
  687. {% set _dummy = tl.speed.update({'extrude':params.EXTRUDE_SPEED|float|round(3)}) %}
  688. {% else %}
  689. {action_raise_error("EXTRUDE_SPEED=%s must be larger than 0" % params.EXTRUDE_SPEED)}
  690. {% endif %}
  691. {% endif %}
  692. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=speed VALUE="{tl.speed}"
  693. {% if params.EXTRUDE_DISTANCE %}
  694. {% if params.EXTRUDE_DISTANCE|float >= 0.0 %}
  695. {% set _dummy = tl.extruder.update({'extrude':params.EXTRUDE_DISTANCE|float|round(3)}) %}
  696. {% else %}
  697. {action_raise_error("EXTRUDE_DISTANCE=%s must be specified as positiv number" % params.EXTRUDE_DISTANCE)}
  698. {% endif %}
  699. {% endif %}
  700. {% if params.RETRACT_DISTANCE %}
  701. {% if params.RETRACT_DISTANCE|float >= 0.0 %}
  702. {% set _dummy = tl.extruder.update({'retract':params.RETRACT_DISTANCE|float|round(3)}) %}
  703. {% else %}
  704. {action_raise_error("RETRACT_DISTANCE=%s must be specified as positiv number" % params.RETRACT_DISTANCE)}
  705. {% endif %}
  706. {% endif %}
  707. {% if params.FW_RETRACT %}
  708. {% if params.FW_RETRACT|lower is in ['true', 'false'] %}
  709. {% if 'firmware_retraction' in printer.configfile.settings %}
  710. {% set _dummy = tl.extruder.update({'fw_retract': True if params.FW_RETRACT|lower == 'true' else False}) %}
  711. {% else %}
  712. {% set _dummy = tl.extruder.update({'fw_retract':False}) %}
  713. {% if params.FW_RETRACT|capitalize == 'True' %}
  714. {action_raise_error("[firmware_retraction] not defined in printer.cfg. Can not enable fw_retract")}
  715. {% endif %}
  716. {% endif %}
  717. {% else %}
  718. {action_raise_error("FW_RETRACT=%s not supported. Allowed values are [True, False]" % params.FW_RETRACT|capitalize)}
  719. {% endif %}
  720. {% endif %}
  721. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=extruder VALUE="{tl.extruder}"
  722. {% if printer.configfile.settings['gcode_macro pause'] is defined %}
  723. {% set _dummy = tl.macro.update({'pause': printer.configfile.settings['gcode_macro pause'].rename_existing}) %}
  724. {% endif %}
  725. {% if printer.configfile.settings['gcode_macro resume'] is defined %}
  726. {% set _dummy = tl.macro.update({'resume': printer.configfile.settings['gcode_macro resume'].rename_existing}) %}
  727. {% endif %}
  728. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=macro VALUE="{tl.macro}"
  729.  
  730. [gcode_macro TIMELAPSE_TAKE_FRAME]
  731. description = Take Timelapse shoot
  732. variable_enable = False
  733. variable_takingframe = False
  734. variable_park = {'enable': False,
  735. 'pos' : 'center',
  736. 'time' : 0.1,
  737. 'custom': {'x': 0, 'y': 0, 'dz': 0},
  738. 'coord' : {'x': 0, 'y': 0, 'dz': 0}}
  739. variable_extruder = {'fw_retract': False,
  740. 'retract': 1.0,
  741. 'extrude': 1.0}
  742. variable_speed = {'travel': 100,
  743. 'retract': 15,
  744. 'extrude': 15}
  745. variable_verbose = True
  746. variable_restore = {'absolute': {'coordinates': True, 'extrude': True}, 'speed': 1500, 'e':0, 'factor': {'speed': 1.0, 'extrude': 1.0}}
  747. variable_macro = {'pause': 'PAUSE', 'resume': 'RESUME'}
  748. variable_is_paused = False
  749. gcode =
  750. {% set hyperlapse = True if params.HYPERLAPSE and params.HYPERLAPSE|lower =='true' else False %}
  751. {% if enable %}
  752. {% if (hyperlapse and printer['gcode_macro HYPERLAPSE'].run) or
  753. (not hyperlapse and not printer['gcode_macro HYPERLAPSE'].run) %}
  754. {% if park.enable %}
  755. {% set pos = {'x': park.coord.x, 'y': park.coord.y,
  756. 'z': [printer.gcode_move.gcode_position.z + park.coord.dz, printer.toolhead.axis_maximum.z]|min} %}
  757. {% set restore = {'absolute': {'coordinates': printer.gcode_move.absolute_coordinates,
  758. 'extrude' : printer.gcode_move.absolute_extrude},
  759. 'speed' : printer.gcode_move.speed,
  760. 'e' : printer.gcode_move.gcode_position.e,
  761. 'factor' : {'speed' : printer.gcode_move.speed_factor,
  762. 'extrude': printer.gcode_move.extrude_factor}} %}
  763. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=restore VALUE="{restore}"
  764. {% if not printer[printer.toolhead.extruder].can_extrude %}
  765. {% if verbose %}{action_respond_info("Timelapse: Warning, minimum extruder temperature not reached!")}{% endif %}
  766. {% else %}
  767. {% if extruder.fw_retract %}
  768. G10
  769. {% else %}
  770. M83 ; insure relative extrusion
  771. G0 E-{extruder.retract} F{speed.retract * 60}
  772. {% endif %}
  773. {% endif %}
  774. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=is_paused VALUE=True
  775. {macro.pause} ; execute the klipper PAUSE command
  776. SET_GCODE_OFFSET X=0 Y=0 ; this will insure that the head parks always at the same position in a multi setup
  777. G90 ; insure absolute move
  778. {% if "xyz" not in printer.toolhead.homed_axes %}
  779. {% if verbose %}{action_respond_info("Timelapse: Warning, axis not homed yet!")}{% endif %}
  780. {% else %}
  781. G0 X{pos.x} Y{pos.y} Z{pos.z} F{speed.travel * 60}
  782. {% endif %}
  783. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=takingframe VALUE=True
  784. UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_TAKE_FRAME DURATION=0.5
  785. M400
  786. {% endif %}
  787. _TIMELAPSE_NEW_FRAME HYPERLAPSE={hyperlapse}
  788. {% endif %}
  789. {% else %}
  790. {% if verbose %}{action_respond_info("Timelapse: disabled, take frame ignored")}{% endif %}
  791. {% endif %}
  792.  
  793. [gcode_macro _TIMELAPSE_NEW_FRAME]
  794. description = action call for timelapse shoot. must be a seperate macro
  795. gcode =
  796. {action_call_remote_method("timelapse_newframe",
  797. macropark=printer['gcode_macro TIMELAPSE_TAKE_FRAME'].park,
  798. hyperlapse=params.HYPERLAPSE)}
  799.  
  800. [delayed_gcode _WAIT_TIMELAPSE_TAKE_FRAME]
  801. gcode =
  802. {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
  803. {% set factor = {'speed': printer.gcode_move.speed_factor, 'extrude': printer.gcode_move.extrude_factor} %}
  804. {% if tl.takingframe %}
  805. UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_TAKE_FRAME DURATION=0.5
  806. {% else %}
  807. {tl.macro.resume} VELOCITY={tl.speed.travel} ; execute the klipper RESUME command
  808. SET_GCODE_VARIABLE MACRO=TIMELAPSE_TAKE_FRAME VARIABLE=is_paused VALUE=False
  809. {% if not printer[printer.toolhead.extruder].can_extrude %}
  810. {action_respond_info("Timelapse: Warning minimum extruder temperature not reached!")}
  811. {% else %}
  812. {% if tl.extruder.fw_retract %}
  813. G11
  814. {% else %}
  815. G0 E{tl.extruder.extrude} F{tl.speed.extrude * 60}
  816. G0 F{tl.restore.speed}
  817. {% if tl.restore.absolute.extrude %}
  818. M82
  819. G92 E{tl.restore.e}
  820. {% endif %}
  821. {% endif %}
  822. {% endif %}
  823. {% if tl.restore.factor.speed != factor.speed %} M220 S{(factor.speed*100)|round(0)} {% endif %}
  824. {% if tl.restore.factor.extrude != factor.extrude %} M221 S{(factor.extrude*100)|round(0)} {% endif %}
  825. {% if not tl.restore.absolute.coordinates %} G91 {% endif %}
  826. {% endif %}
  827.  
  828. [gcode_macro HYPERLAPSE]
  829. description = Start/Stop a hyperlapse recording
  830. variable_cycle = 0
  831. variable_run = False
  832. gcode =
  833. {% set cycle = params.CYCLE|default(30)|int %}
  834. {% if params.ACTION and params.ACTION|lower == 'start' %}
  835. {action_respond_info("Hyperlapse: frames started (Cycle %d sec)" % cycle)}
  836. SET_GCODE_VARIABLE MACRO=HYPERLAPSE VARIABLE=run VALUE=True
  837. SET_GCODE_VARIABLE MACRO=HYPERLAPSE VARIABLE=cycle VALUE={cycle}
  838. UPDATE_DELAYED_GCODE ID=_HYPERLAPSE_LOOP DURATION={cycle}
  839. TIMELAPSE_TAKE_FRAME HYPERLAPSE=True
  840. {% elif params.ACTION and params.ACTION|lower == 'stop' %}
  841. {% if run %}{action_respond_info("Hyperlapse: frames stopped")}{% endif %}
  842. SET_GCODE_VARIABLE MACRO=HYPERLAPSE VARIABLE=run VALUE=False
  843. UPDATE_DELAYED_GCODE ID=_HYPERLAPSE_LOOP DURATION=0
  844. {% else %}
  845. {action_raise_error("Hyperlapse: No valid input parameter
  846. Use:
  847. - HYPERLAPSE ACTION=START [CYCLE=time]
  848. - HYPERLAPSE ACTION=STOP")}
  849. {% endif %}
  850.  
  851. [delayed_gcode _HYPERLAPSE_LOOP]
  852. gcode =
  853. UPDATE_DELAYED_GCODE ID=_HYPERLAPSE_LOOP DURATION={printer["gcode_macro HYPERLAPSE"].cycle}
  854. TIMELAPSE_TAKE_FRAME HYPERLAPSE=True
  855.  
  856. [gcode_macro TIMELAPSE_RENDER]
  857. description = Render Timelapse video and wait for the result
  858. variable_render = False
  859. variable_run_identifier = 0
  860. gcode =
  861. {action_respond_info("Timelapse: Rendering started")}
  862. {action_call_remote_method("timelapse_render", byrendermacro="True")}
  863. SET_GCODE_VARIABLE MACRO=TIMELAPSE_RENDER VARIABLE=render VALUE=True
  864. {printer.configfile.settings['gcode_macro pause'].rename_existing} ; execute the klipper PAUSE command
  865. UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_RENDER DURATION=0.5
  866.  
  867. [delayed_gcode _WAIT_TIMELAPSE_RENDER]
  868. gcode =
  869. {% set ri = printer['gcode_macro TIMELAPSE_RENDER'].run_identifier % 4 %}
  870. SET_GCODE_VARIABLE MACRO=TIMELAPSE_RENDER VARIABLE=run_identifier VALUE={ri + 1}
  871. {% if printer['gcode_macro TIMELAPSE_RENDER'].render %}
  872. M117 Rendering {['-','\\','|','/'][ri]}
  873. UPDATE_DELAYED_GCODE ID=_WAIT_TIMELAPSE_RENDER DURATION=0.5
  874. {% else %}
  875. {action_respond_info("Timelapse: Rendering finished")}
  876. M117
  877. {printer.configfile.settings['gcode_macro resume'].rename_existing} ; execute the klipper RESUME command
  878. {% endif %}
  879.  
  880. [gcode_macro TEST_STREAM_DELAY]
  881. description = Helper macro to find stream and park delay
  882. gcode =
  883. {% set min = printer.toolhead.axis_minimum %}
  884. {% set max = printer.toolhead.axis_maximum %}
  885. {% set act = printer.toolhead.position %}
  886. {% set tl = printer['gcode_macro TIMELAPSE_TAKE_FRAME'] %}
  887. {% if act.z > 5.0 %}
  888. G0 X{min.x + 5.0} F{tl.speed.travel|int * 60}
  889. G0 X{(max.x-min.x)/2}
  890. G4 P{tl.park.time|float * 1000}
  891. _TIMELAPSE_NEW_FRAME HYPERLAPSE=FALSE
  892. G0 X{max.x - 5.0}
  893. {% else %}
  894. {action_raise_error("Toolhead z %.3f to low. Please place head above z = 5.0" % act.z)}
  895. {% endif %}
  896.  
  897. [gcode_macro G29]
  898. gcode =
  899. G28
  900. bed_mesh_calibrate
  901. G1 X0 Y0 Z10 F4200
  902.  
  903. [gcode_arcs]
  904. resolution = 1.0
  905.  
  906. [gcode_macro BED_LEVEL]
  907. gcode =
  908. G28
  909. BED_MESH_CALIBRATE
  910.  
  911. [gcode_macro Z_AXI_CALIBRATE]
  912. gcode =
  913. G28
  914. PROBE_CALIBRATE
  915.  
  916. [gcode_macro SHAPER]
  917. gcode =
  918. G28
  919. SHAPER_CALIBRATE
  920.  
  921. [gcode_macro PID]
  922. gcode =
  923. G28
  924. PID_CALIBRATE HEATER=extruder TARGET=200
  925. PID_CALIBRATE HEATER=heater_bed TARGET=60
  926.  
  927. [gcode_macro Press_Advance_short]
  928. gcode =
  929. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  930. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
  931.  
  932. [gcode_macro Press_Advance_long]
  933. gcode =
  934. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  935. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
  936. =======================
  937. 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)
  938. 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
  939. Configured MCU 'mcu' (1024 moves)
  940. Args: ['/usr/share/klipper/klippy/klippy.py', '/mnt/UDISK//printer_config/printer.cfg', '-l', '/mnt/UDISK//printer_logs/klippy.log', '-a', '/tmp/klippy_uds']
  941. Git version: 'V0.1.99-0-g813fb1b9-dirty'
  942. CPU: 4 core ARMv8 Processor rev 4 (v8l)
  943. Python: '2.7.15 (default, Jan 07 2023, 08:23:34) \n[GCC 6.4.1]'
  944. webhooks client 183217472: {'program': 'Moonraker', 'version': 'V0.0.71-0-g97796d8-dirty'}
  945. =============== Log rollover at Mon Jun 5 20:33:32 2023 ===============
  946. [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
  947. [ERROR] 2023-06-05 20:33:33,324 [root] [virtual_sdcard:work_handler:453] 'NoneType' object has no attribute 'get'
  948. Traceback (most recent call last):
  949. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 431, in work_handler
  950. timelapse_postion = int(config_data.get('1').get("position", 0))
  951. AttributeError: 'NoneType' object has no attribute 'get'
  952. [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)
  953. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  954. [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
  955. [ERROR] 2019-12-31 22:00:14,725 [root] [klippy:_connect:167] File contains parsing errors: /mnt/UDISK//printer_config/printer.cfg
  956. [line 270]: ' sensor_pin: ^PB1\n'
  957. [ERROR] 2019-12-31 22:00:14,727 [root] [klippy:_connect:197] Config error
  958. Traceback (most recent call last):
  959. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  960. self._read_config()
  961. File "/usr/share/klipper/klippy/klippy.py", line 133, in _read_config
  962. config = pconfig.read_main_config()
  963. File "/usr/share/klipper/klippy/configfile.py", line 331, in read_main_config
  964. regular_config = self._build_config_wrapper(regular_data, filename)
  965. File "/usr/share/klipper/klippy/configfile.py", line 315, in _build_config_wrapper
  966. self._parse_config(data, filename, fileconfig, set())
  967. File "/usr/share/klipper/klippy/configfile.py", line 300, in _parse_config
  968. self._parse_config_buffer(buffer, filename, fileconfig)
  969. File "/usr/share/klipper/klippy/configfile.py", line 264, in _parse_config_buffer
  970. fileconfig.readfp(sbuffer, filename)
  971. File "/usr/lib64/python2.7/ConfigParser.py", line 324, in readfp
  972. self._read(fp, filename)
  973. File "/usr/lib64/python2.7/ConfigParser.py", line 546, in _read
  974. raise e
  975. ParsingError: File contains parsing errors: /mnt/UDISK//printer_config/printer.cfg
  976. [line 270]: ' sensor_pin: ^PB1\n'
  977. [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"]}
  978. [ERROR] 2019-12-31 22:05:08,202 [root] [klippy:_connect:197] Config error
  979. Traceback (most recent call last):
  980. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  981. self._read_config()
  982. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  983. self.load_object(config, section_config.get_name(), None)
  984. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  985. self.objects[section] = init_func(config.getsection(section))
  986. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  987. blt = BLTouchEndstopWrapper(config)
  988. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  989. self.position_endstop = config.getfloat('z_offset', minval=0.)
  990. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  991. note_valid=note_valid)
  992. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  993. % (option, self.section, option, self.section))
  994. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  995. [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"]}
  996. [ERROR] 2019-12-31 22:07:13,936 [root] [klippy:_connect:197] Config error
  997. Traceback (most recent call last):
  998. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  999. self._read_config()
  1000. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  1001. self.load_object(config, section_config.get_name(), None)
  1002. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  1003. self.objects[section] = init_func(config.getsection(section))
  1004. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  1005. blt = BLTouchEndstopWrapper(config)
  1006. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  1007. self.position_endstop = config.getfloat('z_offset', minval=0.)
  1008. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  1009. note_valid=note_valid)
  1010. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  1011. % (option, self.section, option, self.section))
  1012. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  1013. [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"]}
  1014. [ERROR] 2019-12-31 22:09:02,447 [root] [klippy:_connect:197] Config error
  1015. Traceback (most recent call last):
  1016. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  1017. self._read_config()
  1018. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  1019. self.load_object(config, section_config.get_name(), None)
  1020. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  1021. self.objects[section] = init_func(config.getsection(section))
  1022. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  1023. blt = BLTouchEndstopWrapper(config)
  1024. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  1025. self.position_endstop = config.getfloat('z_offset', minval=0.)
  1026. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  1027. note_valid=note_valid)
  1028. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  1029. % (option, self.section, option, self.section))
  1030. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  1031. [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"]}
  1032. [ERROR] 2019-12-31 22:15:29,163 [root] [klippy:_connect:197] Config error
  1033. Traceback (most recent call last):
  1034. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  1035. self._read_config()
  1036. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  1037. self.load_object(config, section_config.get_name(), None)
  1038. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  1039. self.objects[section] = init_func(config.getsection(section))
  1040. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  1041. blt = BLTouchEndstopWrapper(config)
  1042. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  1043. self.position_endstop = config.getfloat('z_offset', minval=0.)
  1044. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  1045. note_valid=note_valid)
  1046. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  1047. % (option, self.section, option, self.section))
  1048. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  1049. [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"]}
  1050. [ERROR] 2019-12-31 22:00:18,055 [root] [klippy:_connect:197] Config error
  1051. Traceback (most recent call last):
  1052. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  1053. self._read_config()
  1054. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  1055. self.load_object(config, section_config.get_name(), None)
  1056. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  1057. self.objects[section] = init_func(config.getsection(section))
  1058. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  1059. blt = BLTouchEndstopWrapper(config)
  1060. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  1061. self.position_endstop = config.getfloat('z_offset', minval=0.)
  1062. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  1063. note_valid=note_valid)
  1064. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  1065. % (option, self.section, option, self.section))
  1066. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  1067. [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"]}
  1068. [ERROR] 2023-07-15 23:18:58,029 [root] [klippy:_connect:197] Config error
  1069. Traceback (most recent call last):
  1070. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  1071. self._read_config()
  1072. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  1073. self.load_object(config, section_config.get_name(), None)
  1074. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  1075. self.objects[section] = init_func(config.getsection(section))
  1076. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  1077. blt = BLTouchEndstopWrapper(config)
  1078. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  1079. self.position_endstop = config.getfloat('z_offset', minval=0.)
  1080. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  1081. note_valid=note_valid)
  1082. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  1083. % (option, self.section, option, self.section))
  1084. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  1085. [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"]}
  1086. [ERROR] 2023-07-15 23:23:29,685 [root] [klippy:_connect:197] Config error
  1087. Traceback (most recent call last):
  1088. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  1089. self._read_config()
  1090. File "/usr/share/klipper/klippy/klippy.py", line 140, in _read_config
  1091. self.load_object(config, section_config.get_name(), None)
  1092. File "/usr/share/klipper/klippy/klippy.py", line 129, in load_object
  1093. self.objects[section] = init_func(config.getsection(section))
  1094. File "/usr/share/klipper/klippy/extras/bltouch.py", line 274, in load_config
  1095. blt = BLTouchEndstopWrapper(config)
  1096. File "/usr/share/klipper/klippy/extras/bltouch.py", line 33, in __init__
  1097. self.position_endstop = config.getfloat('z_offset', minval=0.)
  1098. File "/usr/share/klipper/klippy/configfile.py", line 81, in getfloat
  1099. note_valid=note_valid)
  1100. File "/usr/share/klipper/klippy/configfile.py", line 34, in _get_wrapper
  1101. % (option, self.section, option, self.section))
  1102. configparser.Error: {"code":"key335", "msg":"Option 'z_offset' in section 'bltouch' must be specified", "values":["z_offset", "bltouch"]}
  1103. [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
  1104. [ERROR] 2023-07-15 23:24:53,961 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1105. Traceback (most recent call last):
  1106. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1107. timelapse_postion = int(config_data.get('1').get("position", 0))
  1108. AttributeError: 'NoneType' object has no attribute 'get'
  1109. [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"]}
  1110. [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
  1111. [ERROR] 2023-07-15 23:31:15,677 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1112. [ERROR] 2023-07-15 23:40:46,585 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
  1113. [ERROR] 2023-07-15 23:41:30,696 [root] [klippy:_connect:208] MCU error during connect
  1114. Traceback (most recent call last):
  1115. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1116. cb()
  1117. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1118. config_params = self._send_get_config()
  1119. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1120. self._name, self._name))
  1121. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1122. [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
  1123. [ERROR] 2023-07-15 23:45:58,906 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1124. Traceback (most recent call last):
  1125. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1126. timelapse_postion = int(config_data.get('1').get("position", 0))
  1127. AttributeError: 'NoneType' object has no attribute 'get'
  1128. [ERROR] 2023-07-15 23:49:04,604 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
  1129. [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
  1130. [ERROR] 2023-07-15 23:49:09,660 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1131. [ERROR] 2023-07-15 23:49:56,345 [root] [klippy:_connect:208] MCU error during connect
  1132. Traceback (most recent call last):
  1133. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1134. cb()
  1135. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1136. config_params = self._send_get_config()
  1137. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1138. self._name, self._name))
  1139. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1140. [ERROR] 2019-12-31 22:00:19,316 [root] [klippy:_connect:208] MCU error during connect
  1141. Traceback (most recent call last):
  1142. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1143. cb()
  1144. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1145. config_params = self._send_get_config()
  1146. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1147. self._name, self._name))
  1148. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1149. [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
  1150. [ERROR] 2019-12-31 22:01:52,691 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1151. Traceback (most recent call last):
  1152. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1153. timelapse_postion = int(config_data.get('1').get("position", 0))
  1154. AttributeError: 'NoneType' object has no attribute 'get'
  1155. [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)
  1156. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  1157. [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
  1158. [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
  1159. [ERROR] 2019-12-31 22:26:26,836 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1160. Traceback (most recent call last):
  1161. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1162. timelapse_postion = int(config_data.get('1').get("position", 0))
  1163. AttributeError: 'NoneType' object has no attribute 'get'
  1164. [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'
  1165. [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)
  1166. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  1167. [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
  1168. [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
  1169. [ERROR] 2019-12-31 22:27:01,436 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1170. Traceback (most recent call last):
  1171. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1172. timelapse_postion = int(config_data.get('1').get("position", 0))
  1173. AttributeError: 'NoneType' object has no attribute 'get'
  1174. [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'
  1175. [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)
  1176. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  1177. [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
  1178. [ERROR] 2023-07-16 20:05:43,835 [root] [__init__:logging_callback:267] b'Got error -1 in write: (19)No such device'
  1179. [ERROR] 2023-07-16 20:05:43,848 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1180. [ERROR] 2023-07-16 20:05:46,551 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
  1181. [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
  1182. [ERROR] 2023-07-16 20:08:44,215 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1183. Traceback (most recent call last):
  1184. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1185. timelapse_postion = int(config_data.get('1').get("position", 0))
  1186. AttributeError: 'NoneType' object has no attribute 'get'
  1187. [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'
  1188. [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)
  1189. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  1190. [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
  1191. [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
  1192. [ERROR] 2019-12-31 22:11:43,154 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1193. Traceback (most recent call last):
  1194. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1195. timelapse_postion = int(config_data.get('1').get("position", 0))
  1196. AttributeError: 'NoneType' object has no attribute 'get'
  1197. [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'
  1198. [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)
  1199. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  1200. [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
  1201. [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
  1202. [ERROR] 2019-12-31 22:30:21,170 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1203. Traceback (most recent call last):
  1204. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1205. timelapse_postion = int(config_data.get('1').get("position", 0))
  1206. AttributeError: 'NoneType' object has no attribute 'get'
  1207. [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'
  1208. [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)
  1209. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 0.640]}
  1210. [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
  1211. [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
  1212. [ERROR] 2019-12-31 22:36:53,215 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1213. Traceback (most recent call last):
  1214. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1215. timelapse_postion = int(config_data.get('1').get("position", 0))
  1216. AttributeError: 'NoneType' object has no attribute 'get'
  1217. [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'
  1218. [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)
  1219. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 6.000]}
  1220. [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
  1221. [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
  1222. [ERROR] 2019-12-31 22:56:56,694 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1223. Traceback (most recent call last):
  1224. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1225. timelapse_postion = int(config_data.get('1').get("position", 0))
  1226. AttributeError: 'NoneType' object has no attribute 'get'
  1227. [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'
  1228. [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)
  1229. See the 'max_extrude_cross_section' config option for details", "values": [13.682, 6.000]}
  1230. [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
  1231. [ERROR] 2019-12-31 22:58:42,482 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1232. [ERROR] 2019-12-31 22:58:47,328 [root] [verify_heater:heater_fault:88] Heater extruder not heating at expected rate
  1233. [ERROR] 2019-12-31 22:58:47,330 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Heater extruder not heating at expected rate
  1234. See the 'verify_heater' section in docs/Config_Reference.md
  1235. for the parameters that control this check.
  1236.  
  1237. [ERROR] 2019-12-31 22:58:59,320 [root] [klippy:_connect:208] MCU error during connect
  1238. Traceback (most recent call last):
  1239. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1240. cb()
  1241. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1242. config_params = self._send_get_config()
  1243. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1244. self._name, self._name))
  1245. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1246. [ERROR] 2019-12-31 22:00:20,450 [root] [klippy:_connect:208] MCU error during connect
  1247. Traceback (most recent call last):
  1248. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1249. cb()
  1250. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1251. config_params = self._send_get_config()
  1252. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1253. self._name, self._name))
  1254. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1255. [ERROR] 2019-12-31 22:00:21,813 [root] [klippy:_connect:208] MCU error during connect
  1256. Traceback (most recent call last):
  1257. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1258. cb()
  1259. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1260. config_params = self._send_get_config()
  1261. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1262. self._name, self._name))
  1263. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1264. [ERROR] 2019-12-31 22:00:19,059 [root] [klippy:_connect:208] MCU error during connect
  1265. Traceback (most recent call last):
  1266. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1267. cb()
  1268. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1269. config_params = self._send_get_config()
  1270. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1271. self._name, self._name))
  1272. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1273. [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
  1274. [ERROR] 2019-12-31 22:06:08,142 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1275. Traceback (most recent call last):
  1276. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1277. timelapse_postion = int(config_data.get('1').get("position", 0))
  1278. AttributeError: 'NoneType' object has no attribute 'get'
  1279. [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
  1280. [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
  1281. [ERROR] 2020-01-01 00:44:57,719 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1282. Traceback (most recent call last):
  1283. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1284. timelapse_postion = int(config_data.get('1').get("position", 0))
  1285. AttributeError: 'NoneType' object has no attribute 'get'
  1286. [ERROR] 2019-12-31 22:00:20,850 [root] [klippy:_connect:208] MCU error during connect
  1287. Traceback (most recent call last):
  1288. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1289. cb()
  1290. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1291. config_params = self._send_get_config()
  1292. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1293. self._name, self._name))
  1294. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1295. [ERROR] 2023-07-17 08:29:18,589 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1296. [ERROR] 2023-07-17 08:29:30,254 [root] [klippy:_connect:208] MCU error during connect
  1297. Traceback (most recent call last):
  1298. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1299. cb()
  1300. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1301. config_params = self._send_get_config()
  1302. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1303. self._name, self._name))
  1304. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1305. [ERROR] 2019-12-31 22:00:17,920 [root] [klippy:_connect:208] MCU error during connect
  1306. Traceback (most recent call last):
  1307. File "/usr/share/klipper/klippy/klippy.py", line 164, in _connect
  1308. cb()
  1309. File "/usr/share/klipper/klippy/mcu.py", line 798, in _connect
  1310. config_params = self._send_get_config()
  1311. File "/usr/share/klipper/klippy/mcu.py", line 785, in _send_get_config
  1312. self._name, self._name))
  1313. mcu.error: {"code": "key298", "msg": "Can not update MCU mcu config as it is shutdown", "values":["mcu"]}
  1314. [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
  1315. [ERROR] 2019-12-31 22:01:09,353 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1316. Traceback (most recent call last):
  1317. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1318. timelapse_postion = int(config_data.get('1').get("position", 0))
  1319. AttributeError: 'NoneType' object has no attribute 'get'
  1320. [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'
  1321. [ERROR] 2023-07-18 14:06:22,563 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1322. [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
  1323. [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
  1324. [ERROR] 2023-07-18 14:14:53,655 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1325. Traceback (most recent call last):
  1326. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1327. timelapse_postion = int(config_data.get('1').get("position", 0))
  1328. AttributeError: 'NoneType' object has no attribute 'get'
  1329. [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
  1330. [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
  1331. [ERROR] 2023-07-18 14:24:49,471 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1332. Traceback (most recent call last):
  1333. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1334. timelapse_postion = int(config_data.get('1').get("position", 0))
  1335. AttributeError: 'NoneType' object has no attribute 'get'
  1336. [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
  1337. [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
  1338. [ERROR] 2023-07-18 20:42:03,487 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1339. Traceback (most recent call last):
  1340. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1341. timelapse_postion = int(config_data.get('1').get("position", 0))
  1342. AttributeError: 'NoneType' object has no attribute 'get'
  1343. [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)
  1344. See the 'max_extrude_cross_section' config option for details", "values": [6.000, 6.000]}
  1345. [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
  1346. [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
  1347. [ERROR] 2023-07-18 21:21:35,886 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1348. Traceback (most recent call last):
  1349. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1350. timelapse_postion = int(config_data.get('1').get("position", 0))
  1351. AttributeError: 'NoneType' object has no attribute 'get'
  1352. [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
  1353. [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
  1354. [ERROR] 2023-07-18 21:23:21,575 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1355. Traceback (most recent call last):
  1356. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1357. timelapse_postion = int(config_data.get('1').get("position", 0))
  1358. AttributeError: 'NoneType' object has no attribute 'get'
  1359. [ERROR] 2023-07-18 22:03:00,171 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1360. [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
  1361. [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
  1362. [ERROR] 2019-12-31 22:10:01,837 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1363. Traceback (most recent call last):
  1364. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1365. timelapse_postion = int(config_data.get('1').get("position", 0))
  1366. AttributeError: 'NoneType' object has no attribute 'get'
  1367. [ERROR] 2019-12-31 22:12:44,937 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1368. [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
  1369. [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
  1370. [ERROR] 2019-12-31 22:05:52,263 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1371. Traceback (most recent call last):
  1372. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1373. timelapse_postion = int(config_data.get('1').get("position", 0))
  1374. AttributeError: 'NoneType' object has no attribute 'get'
  1375. [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
  1376. [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
  1377. [ERROR] 2019-12-31 22:26:03,088 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1378. Traceback (most recent call last):
  1379. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1380. timelapse_postion = int(config_data.get('1').get("position", 0))
  1381. AttributeError: 'NoneType' object has no attribute 'get'
  1382. [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
  1383. [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
  1384. [ERROR] 2019-12-31 23:59:30,918 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1385. Traceback (most recent call last):
  1386. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1387. timelapse_postion = int(config_data.get('1').get("position", 0))
  1388. AttributeError: 'NoneType' object has no attribute 'get'
  1389. [ERROR] 2020-01-01 00:06:27,932 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1390. [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
  1391. [ERROR] 2020-01-01 00:13:20,562 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1392. [ERROR] 2020-01-01 00:13:25,697 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
  1393. [ERROR] 2020-01-01 00:16:20,851 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1394. [ERROR] 2020-01-01 00:16:26,434 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
  1395. [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
  1396. [ERROR] 2020-01-01 00:24:00,035 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1397. Traceback (most recent call last):
  1398. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1399. timelapse_postion = int(config_data.get('1').get("position", 0))
  1400. AttributeError: 'NoneType' object has no attribute 'get'
  1401. [ERROR] 2020-01-01 00:45:30,346 [root] [__init__:logging_callback:267] b'Got EOF when reading from device'
  1402. [ERROR] 2020-01-01 00:45:35,504 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Lost communication with MCU 'mcu'
  1403. [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
  1404. [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
  1405. [ERROR] 2020-01-01 00:56:23,028 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1406. Traceback (most recent call last):
  1407. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1408. timelapse_postion = int(config_data.get('1').get("position", 0))
  1409. AttributeError: 'NoneType' object has no attribute 'get'
  1410. [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'
  1411. [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
  1412. [ERROR] 2020-01-01 01:45:52,498 [root] [virtual_sdcard:_load_file:246] File opened:CE3PRO_bottom (1).gcode Size:450502 start_print
  1413. [ERROR] 2020-01-01 01:45:52,503 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1414. Traceback (most recent call last):
  1415. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1416. timelapse_postion = int(config_data.get('1').get("position", 0))
  1417. AttributeError: 'NoneType' object has no attribute 'get'
  1418. [ERROR] 2020-01-01 02:30:13,474 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/CE3PRO_bottom (1).gcode end print
  1419. [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
  1420. [ERROR] 2020-01-01 02:30:53,768 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1421. Traceback (most recent call last):
  1422. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1423. timelapse_postion = int(config_data.get('1').get("position", 0))
  1424. AttributeError: 'NoneType' object has no attribute 'get'
  1425. [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
  1426. [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
  1427. [ERROR] 2020-01-01 17:03:03,014 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1428. Traceback (most recent call last):
  1429. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1430. timelapse_postion = int(config_data.get('1').get("position", 0))
  1431. AttributeError: 'NoneType' object has no attribute 'get'
  1432. [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
  1433. [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
  1434. [ERROR] 2020-01-01 17:27:55,391 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1435. Traceback (most recent call last):
  1436. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1437. timelapse_postion = int(config_data.get('1').get("position", 0))
  1438. AttributeError: 'NoneType' object has no attribute 'get'
  1439. [ERROR] 2020-01-01 17:30:23,564 [root] [gcode:_respond_raw:482] Write g-code response
  1440. Traceback (most recent call last):
  1441. File "/usr/share/klipper/klippy/gcode.py", line 480, in _respond_raw
  1442. os.write(self.fd, (msg+"\n").encode())
  1443. BlockingIOError: [Errno 11] Resource temporarily unavailable
  1444. [ERROR] 2020-01-01 17:36:22,044 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1445. [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
  1446. [ERROR] 2020-01-01 17:37:41,513 [root] [virtual_sdcard:_load_file:246] File opened:Ender-3 Pro_.gcode Size:1003418 start_print
  1447. [ERROR] 2020-01-01 17:37:41,899 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1448. Traceback (most recent call last):
  1449. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1450. timelapse_postion = int(config_data.get('1').get("position", 0))
  1451. AttributeError: 'NoneType' object has no attribute 'get'
  1452. [ERROR] 2020-01-01 19:23:33,652 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/Ender-3 Pro_.gcode end print
  1453. [ERROR] 2019-12-31 22:14:55,195 [root] [klippy:_connect:167] Source contains parsing errors: '/mnt/UDISK//printer_config/printer.cfg'
  1454. [line 317]: 'BED_MESH_CLEAR\n'
  1455. [line 318]: 'BED_MESH_CALIBRATE\n'
  1456. [line 320]: 'BED_MESH_OUTPUT\n'
  1457. [line 321]: 'SAVE_CONFIG\n'
  1458. [ERROR] 2019-12-31 22:14:55,196 [root] [klippy:_connect:197] Config error
  1459. Traceback (most recent call last):
  1460. File "/usr/share/klipper/klippy/klippy.py", line 159, in _connect
  1461. self._read_config()
  1462. File "/usr/share/klipper/klippy/klippy.py", line 133, in _read_config
  1463. config = pconfig.read_main_config()
  1464. File "/usr/share/klipper/klippy/configfile.py", line 317, in read_main_config
  1465. regular_config = self._build_config_wrapper(regular_data, filename)
  1466. File "/usr/share/klipper/klippy/configfile.py", line 304, in _build_config_wrapper
  1467. self._parse_config(data, filename, fileconfig, set())
  1468. File "/usr/share/klipper/klippy/configfile.py", line 290, in _parse_config
  1469. self._parse_config_buffer(buffer, filename, fileconfig)
  1470. File "/usr/share/klipper/klippy/configfile.py", line 256, in _parse_config_buffer
  1471. fileconfig.readfp(sbuffer, filename)
  1472. File "/usr/lib/python3.7/configparser.py", line 762, in readfp
  1473. self.read_file(fp, source=filename)
  1474. File "/usr/lib/python3.7/configparser.py", line 717, in read_file
  1475. self._read(f, source)
  1476. File "/usr/lib/python3.7/configparser.py", line 1110, in _read
  1477. raise e
  1478. configparser.ParsingError: Source contains parsing errors: '/mnt/UDISK//printer_config/printer.cfg'
  1479. [line 317]: 'BED_MESH_CLEAR\n'
  1480. [line 318]: 'BED_MESH_CALIBRATE\n'
  1481. [line 320]: 'BED_MESH_OUTPUT\n'
  1482. [line 321]: 'SAVE_CONFIG\n'
  1483. [ERROR] 2019-12-31 22:17:00,346 [root] [virtual_sdcard:_load_file:246] File opened:Glasses1.gcode Size:2112268 start_print
  1484. [ERROR] 2019-12-31 22:17:00,822 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1485. Traceback (most recent call last):
  1486. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1487. timelapse_postion = int(config_data.get('1').get("position", 0))
  1488. AttributeError: 'NoneType' object has no attribute 'get'
  1489. [ERROR] 2020-01-01 00:08:59,242 [root] [virtual_sdcard:work_handler:983] filename:/root/gcode_files/Glasses1.gcode end print
  1490. [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
  1491. [ERROR] 2023-07-24 22:23:31,507 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1492. Traceback (most recent call last):
  1493. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1494. timelapse_postion = int(config_data.get('1').get("position", 0))
  1495. AttributeError: 'NoneType' object has no attribute 'get'
  1496. [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
  1497. [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
  1498. [ERROR] 2023-07-25 21:44:37,034 [root] [virtual_sdcard:work_handler:552] 'NoneType' object has no attribute 'get'
  1499. Traceback (most recent call last):
  1500. File "/usr/share/klipper/klippy/extras/virtual_sdcard.py", line 527, in work_handler
  1501. timelapse_postion = int(config_data.get('1').get("position", 0))
  1502. AttributeError: 'NoneType' object has no attribute 'get'
  1503. [ERROR] 2023-07-26 01:32:10,555 [root] [klippy:invoke_shutdown:351] Transition to shutdown state: Shutdown due to webhooks request
  1504. [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
  1505.  
Advertisement
Add Comment
Please, Sign In to add comment