Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR! File: 'xxx' could not read check-marking' #283

Open
SqualeDev opened this issue Dec 24, 2023 · 0 comments
Open

ERROR! File: 'xxx' could not read check-marking' #283

SqualeDev opened this issue Dec 24, 2023 · 0 comments

Comments

@SqualeDev
Copy link

I've some problems when loading gcode files...
My GCode files is generated by CURA 5.5.0.

The loading file doesn't add the 'M117 INDICATOR-LayerX' so I've added manually.

There is the content of GCode file :

;FLAVOR:Marlin
;TIME:15294
;Filament used: 8.9078m
;Layer height: 0.2
;MINX:57.235
;MINY:41.039
;MINZ:0.2
;MAXX:160.171
;MAXY:158.498
;MAXZ:22.6
;TARGET_MACHINE.NAME:Creality Ender-3
;Generated with Cura_SteamEngine 5.5.0
M140 S55
M105
M190 S55
M104 S205
M105
M109 S205
M82 ;absolute extrusion mode
; Ender 3 Custom Start G-code
G92 E0 ; Reset Extruder
G28 ; Home all axes
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish
G92 E0
G92 E0
G1 F1800 E-6
;LAYER_COUNT:113
;LAYER:0
M117 INDICATOR-Layer1
M107
G0 F6000 X60.023 Y57.603 Z0.2
;TYPE:SKIRT
G1 F1800 E0
G1 F1200 X60.7 Y56.906 E0.0307
G1 X61.431 Y56.274 E0.06124
G1 X62.02 Y55.84 E0.08435
G1 X64.41 Y54.2 E0.17594
G1 X66.462 Y52.7 E0.25625
G1 X68.428 Y51.178 E0.33481
...

After ';LAYER:0', I've added 'M117 INDICATOR-Layer1' line and after each ';LAYER:X' lines but I've had this error in octoprint.log file :

2023-12-24 18:18:06,485 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: projets/support-107-telephone/CE3E3V2_Pince-gopro-complete.gcode, owner: adminOcto, user: adminOcto
2023-12-24 18:18:06,497 - octoprint.plugins.DisplayLayerProgress - INFO - File 'C:\OctoPrint-1.9.0\basedir\5000\uploads\projets\support-107-telephone\CE3E3V2_Pince-gopro-complete.gcode' selected. Determining number of layers.
2023-12-24 18:18:06,497 - octoprint.plugins.DisplayLayerProgress - INFO - Read total height from MetaFile
2023-12-24 18:18:07,046 - octoprint.plugins.DisplayLayerProgress - INFO - Store layer count in MetaFile
2023-12-24 18:18:07,062 - octoprint.plugins.DisplayLayerProgress - ERROR - ERROR! File: 'file_modify.gcode' could not read check-marking'
Traceback (most recent call last):
  File "C:\OctoPrint-1.9.0\WPy64-31050\python-3.10.5.amd64\lib\site-packages\octoprint_DisplayLayerProgress\__init__.py", line 1219, in _alreadyAddedLayerIndicators
    if (lineCounter > layerIndicatorLookAheadLimit):
TypeError: '>' not supported between instances of 'int' and 'str'
2023-12-24 18:18:07,062 - octoprint.plugins.DisplayLayerProgress - INFO - File select-event processing done!'

Have you some solution ?
Thanks a lot for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant