-
Notifications
You must be signed in to change notification settings - Fork 24
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 message "Layer indicator not found in file! " #117
Comments
Hi @freddydelange ,
Hope that helps! |
Hey, FromOctoprint_calibration_cube.zip |
I'm using Python 3, latest version of this plugin, latest version of OctoPrint (github) and PrusaSlicer 2.1.1. I'm seeing the same error message and found the reason for my issue. Gcode file: Problem: The following change fixes the problem:
I have not tested this with previous version of OctoPrint or Python. |
Hi @gdombiak , @freddydelange , I retested with python 3 and I can confirm that OctoPrint now sends "bin" instead of "str" line-type. @freddydelange just to make sure: what python version do you use The issue will be fixed in next version. |
Hi @gdombiak , you should improve your slicer layer-hook script (if you use the default DLP layer-settings)
The result after uploading includes two M117 commands with different layer numbers:
|
Thanks @OllisGit for catching that. I removed ;LAYER:[layer_num] that was added for my temp tower. I now have this as custom gcode before layer change:
It seems like PrusaSlcier does not have a variable that I could use for ;MAXZ: so I guess your plugin will do its best to estimate the max z height. |
@OllisGit I opened OctoPrint/OctoPrint#3454 to see if we can do something in OctoPrint so plugins like this one do not break when running with Python 3 |
…Python3 bug - #115 optimize the first output of the filamentchangetime
Hi @freddydelange , @gdombiak , Now it works with:
Please test and give feedback. |
will update tonight! thanks for the super fast turnaround |
Hi there I will update tonight too thanks !
Op ma 17 feb. 2020 22:58 schreef OllisGit <[email protected]>:
… Hi @freddydelange <https://github.com/freddydelange> , @gdombiak
<https://github.com/gdombiak> ,
new Version 1.18.0 is out.
Now it works with:
- OP 1.4.x with Python2/3
- OP 1.13.10 with Python2
Please test and give feedback.
Thx, in advance
Olli
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#117?email_source=notifications&email_token=AOM2A7SZZSA24GBQ4T2RHV3RDMB63A5CNFSM4KVYNTM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL7YNTY#issuecomment-587171535>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOM2A7R4AVWSCOXNIV2N6KTRDMB63ANCNFSM4KVYNTMQ>
.
|
Hello all |
Hi @freddydelange, In a previous version I changed that behaviour (file selection), but then I have a lot of other issues (large-files, autostart, etc.) |
Hey, |
I think it has nothing to do with Cura. Which version of python do you use? Please look into the octoprint.log file after uploading a new file. Or even better attach the logfile to this issue, maybe I can identify some errors. |
Hi there, Ps found Python version on my raspberryp it's 2.7.13 |
Hi @freddydelange , I looked into your two log files:
So, DLP will not work!
Please do the following
BTW. You credentials for
|
Hi, OllisGit. When do it, doesn't see any messages in |
This breaks Marlin's K factor test. It is not necessary to have any layer markers for a single layer print. |
Hi @drdeimos, |
Sad to hear that, but thanks. |
I'm not sure for this, but what about to replace upload handling on file handling? |
Hi @drdeimos , |
Ok. Thx. |
Hi there it's bin a while but here it is the requested log file made today
Before I printed this I updated to the latest version of the plug-in but I
get the same message as before. So I hope you can help me with this issue
Thanx
Op za 22 feb. 2020 17:46 schreef OllisGit <[email protected]>:
… Hi @freddydelange <https://github.com/freddydelange> ,
no problem, take your time.
I looked into your two log files:
1. log file 09.02.2020 - 10.02.2020
You use DLP 1.17.1 and often the server was started in SAFE-Mode
INFO - Starting in SAFE MODE. Third party plugins will be disabled!
INFO - Reason for safe mode: setting in config.yaml
So, DLP will not work!
1. log file 20.02.2020 - 21.02.2020
New Version 1.18.0 is installed, great!
DLP is working and detect the missing layer indicators.
But I can't see an upload event of your selected gcode-file:
CE3_Woman_body_for_vase_mode_v16.gcode
So, no fresh upload, no layer detection!
Please do the following
- go to the logging section. end delete octoprint.log
- activate log-level debug for octoprint
- save settings
- re-upload your gcode file
- select the file and start printing...and stop it
- download octoprint.log and attach it to this issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#117?email_source=notifications&email_token=AOM2A7VFSUS6S2L36UN67BDREFJHVA5CNFSM4KVYNTM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVEWXY#issuecomment-589974367>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOM2A7RJJTYEIX3M664KK5LREFJHVANCNFSM4KVYNTMQ>
.
|
Hi @freddydelange , |
Hi, |
This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days. |
Every time I want to print something with Octoprint I get the following error message:
Layer indicator not found in file! Check layer pattern in DisplayLayerProgress-Settings and reupload the file!
The slicer that I use is Cura 4.4.1 but other slicers generate the same message.
My knowledge is not sufficient enough to solve this. Is there someone who can help me with the right settings?
Windows 10
Printrer Creality Ender 3
Cura 4.4.1
Octoprint version Version 1.3.12 with the latest plugins.
I am almost certain that it must be something in octoprint or the plugin because it also gets me the message with other slicers. am a newbey so it is rather difficult for me maybe it will be easier by e-mail? thanks in advance otherwise don't know how to make a ticket (sorry)
Start and stop Gcodes i use in Cura are:
Cura Start Gcode
G28 ; home all axes
M117 Purge extruder
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; draw 1st 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 2nd line
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
M117 All systems go!
Cura Stop Gcode
G91 ;Relative positionning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positionning
G1 X0 Y{machine_depth} ;Present print
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
M140 S0 ;Turn-off bed
M84 X Y E ;Disable all steppers but Z
And some Sreenshots of DisplayLayerProgress-Settings
Please i need help with this
The text was updated successfully, but these errors were encountered: