-
Notifications
You must be signed in to change notification settings - Fork 100
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
Ultimaker 2 - Octolapse not working (Stabilization ERrOR + G21 ERROR) #624
Comments
I need your settings json and other info that was in the issue template. Are you running on a raspberry pi or some other OS? If so, which one and which version. Are you using OctoPi? If so, which version? However, it does look like the same error I'm seeing in other places and is likely caused by some bad compilation. Try the classic layer trigger and see if that works. |
See Issue #566 |
Here you go: I am running RaspBerry Pi4 8GB. Yes, I am using OctoPi v0.18. Layer triggering not working. The only thing that is working (with error, tough) is: What can I do? |
Are you running python 3 or python 2? You could try to update your distro, then uninstall and re-install Octolapse (you don't have to delete your settings). I suspect this issue is compiler related. Here is a guide for updating installed packages.. Just run the first two apt updates: FYI, this appears to be happening only for some ppl using the PI4, for only some flavors of linux, and on some instances running on MacOs. I've got a pi4 on order, so hopefully I will finally be able to replicate this. I'll leave this issue open until I hear if the above fixed things for you, then you can head over to Issue #566 for updates. Sound good? |
FormerLurker, I did as you suggested and it looks like the G21 error is gone, but still facing Octolapse is not working. |
Well G21 Error is not gone all the way: Octolapse settings: |
Yeah, so I think you're still hitting the same issue, which is a problem communicating to the compiled python extension. Maybe I can send an SO file you can drop into the installation folder that I know works. I can grab one off my pi. Will send it soon. |
Hey, are you using python 2 or 3? It makes a difference, because I need to link to a different library. |
That would be great. I am running python v2.7.16. |
put it here: home\pi\oprint\lib\python2.7\site-packages\GcodePositionProcessor.so Let me know if that fixes it or if your pi catches fire and explodes :) |
OH, you will need to completely reboot your pi for that to take affect. |
So... I do completely fresh install of the OctoPi? |
No, you just copy that file to the path (i recommend sftp, like filezilla), reboot (not just restartin octoprint) and try again |
If it works, at least it will narrow down what is causing this.. if the same issue happens... Not sure |
OK. Will do that and let you know. I really hope this fixes all. :) |
You and me both... Been working on my new plugin, arc welder, and have been swamped with new issues since the pi 4 and hd picam came out. Would be happy to figure out what is going on |
I have only home\pi\oprint\lib\python3.7\site-packages\ and there is none file named GcodePositionProcessor.so |
I thought you said you were running python 2??? I'm really confused. you shouldn't even have a 3.7 directory! Can you search for GcodePositionProcessor.so and tell me where you find it? FYI, something must be up with the permissions because I've not been able to find my copy via the find / command..... As if things aren't already complicated enough :) |
Ok.. find is .. odd. Try running this from the home folder:
That should tell you where the current file is. Then put the file I attached in there and overwrite it. |
So... there was only file GcodePositionProcessor.cpython-37m-aarch64-linux-gnu so I replace this file. |
And now I am getting an Internal server error in Cura. |
Yeah, that shouldn't have been overwritten i don't think. Not sure what the cura error is. |
Will get back to yot tomorrow after I sleep and have time to think. |
No improvement in Octolapse, still facing the same errors. |
What steps did you perform since last time?? |
there was only file GcodePositionProcessor.cpython-37m-aarch64-linux-gnu so I replace this file. With the file you send me. I also copied an unchanged file into this folder. Any other suggestions? |
@FormerLurker do you think that could be related to 64bit structure of (RaspBerry Pi4) 8GB version? |
Good question. It is entirely possible. Maybe try a 32 bit version as a test if you have a spare sd? |
I also ordered 4GB version of RaspBerry Pi4 and will be testing it for the weekend. I want to come to the ground to this problem. |
@TomyVertigo, can you try installing from the plugin manager using this link in the From Url... box: See if that fixes it. |
@FormerLurker this feels like a great improvement, (at least) for now G21 is gone, but full functionality is still not there. Just tried orbit mode and it is not working correctly. |
I need more info to help you with that. How exactly is it not working? |
Here you go. Some files regarding the latest Octolapse. |
Are you familiar with what the 'snap to print' trigger actually does? It doesn't allow the printhead to move off of the part or away from the tool paths at all, so it creates a time lapse that is as close as possible. Try using a fixed position stabilization for that, like back left or something. If you want a true orbit, try using ng the smart layer trigger. |
I should have mentioned this sooner, but check in the trigger profile setting for the little blue question marks. I have added a lot of info that should explain what each trigger does and how the settings affect them. If i misunderstood your issue, please let me know |
OK. I left it from before when nothing else didn't work. I will try now and let you know. I still get stabilization errors tough. |
If the stabilization errors keep occurring, I recommend creating a new issue. I recommend running a very small print (calibration cube or something similar) and logging with the 'debug' profile until the error occurs, then you can stop the print and upload the log. Here are some instructions for accomplishing this that should yield a clean log file. |
Run a few test prints now and no error accourd. Great job @FormerLurker 💯 |
Awesome! Going to close this. If you have any other issues, please let me know! |
…nt. Potentially fixes FormerLurker#624,FormerLurker#623, FormerLurker#622, FormerLurker#589, FormerLurker#581, FormerLurker#580, FormerLurker#579, FormerLurker#578, FormerLurker#577, FormerLurker#566, FormerLurker#560, and FormerLurker#545.
Octolapse v0.4.0
OctoPrint Version 1.4.2
plugin_octolapse.log]
I have Ultimaker 2 and slicing with Cura 4.8.0
When I try to make octolapse I keep getting Stabilization Error and G21 error as mentioned in some other posts, but did not get solution how to fix it anywhere. :(
G21 ERROR:
The printer profile requires an explicit G21 command before any position altering/setting commands, including any home commands. Stopping timelapse, but continuing the print.
Thank you.
The text was updated successfully, but these errors were encountered: