-
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
Octolapse fails to initialize the print after parsing, G21 and other mysteries included #560
Comments
So, the error you are seeing should not be happening since it looks like your printer profile is setup correctly (using the MK3 profile). This could be some compilation/OS issue. I need to get ubuntu up and running to test this. Sorry for the delay, btw. |
No worries. I'm trying to figure out another way to get Ubuntu up and running in a VM that I can pass my camera through on just to see if it's the same experience there. |
@sdertien, I know it's been a LONG time, but it's possible your issue has finally been solved. Can you try installing from the plugin manager using this link in the From Url... box: https://github.com/FormerLurker/Octolapse/archive/88aa71f0fbac306b0d9acf19dff7388a30b29b64.zip See if that fixes it. |
This should be fixed in V0.4.1, which just dropped. Might take a while to show up in the plugin manager. Reopen a new issue if you continue to have problems. Thanks! |
…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.
If this is a feature request describe it here
___REPLACE_THIS__FEATURE_REQUEST_DESCRIPTION_GOES_HERE
Version of Octolapse
Octolapse Version: 0.4.0
Version of OctoPrint
OctoPrint Version: 1.4.0
When you ran into the problem, did you have diagnostic logging enabled?
Diagnostic Logging was Enabled: Yes
What were you doing when the problem occurred
4b. When testing with test mode disabled using any smart trigger nothing happens and no command goes to the printer
4c. When testing with a classic GCode trigger G4 P1 the following error will appear and the print will start even when in Test Mode: Octolapse Timelapse Stopped
The printer profile requires an explicit G21 command before any position altering/setting commands, including any home commands. Stopping timelapse, but continuing the print.
What should have happened?
Award winning timelapse photos filling up disk space!
What happened instead?
The logs all seem to indicate that it properly parsed for where the camera snapshots should be taken. There's no GCode commands being sent to start the print jobs in any way though. I've searched forums high and low and don't see anything quite like this other than a G21/G90 posting.
I did look at prior issues about the G21 error and you'll see that I did move G21 and G90 to the top of the GCode. I first tried in Prusa Slicer by putting it to the top but there still was a move command being inserted into the GCode above it. I ultimately just tweaked it by hand to make sure that both were set. It seems to make no difference. The logging also seems to indicate that the smart configurations parse fine. It simply fails to start warming up the printer and sending the commands after it does the evaluation of the GCode. Nothing stood out in either log file as an error that coincided a failure or anything along those lines. It just silently continues, the printer in Octoprint will be stuck in printing but there is nothing appearing on the Prusa screen like you would normally see during that initial transfer to the printer.
Operating System running OctoPrint and Octolapse
OS Name: Ubuntu 18.04 LTS on Nvidia Jetson Nano
Os Version: Linux <hostname_changed> 4.9.140-tegra #1 SMP PREEMPT Wed Apr 8 18:10:49 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
Printer model & used firmware incl. version
Printer Model: Prusa Mk3s
Printer Firmware Version: ___REPLACE_THIS__PRINTER_FIRMWARE_VERSION_GOES_HERE
Browser and version of browser, operating system running browser
Browser: Chromium/Chrome
Browser OS: Ubuntu locally and Windows remotely
Link to the gcode file you were printing when the problem occurred
Link to Gcode File: https://gist.github.com/sdertien/dc9456cd26e7c1531e6bd765e01d6b6e
Link to settings.json
Link to settings.json with all passwords removed: https://gist.github.com/sdertien/dc9456cd26e7c1531e6bd765e01d6b6e
Link to plugin_octolapse.log
Link to plugin_octolapse.log: https://gist.github.com/sdertien/dc9456cd26e7c1531e6bd765e01d6b6e
Link to octoprint.log
Link to octoprint.log: https://gist.github.com/sdertien/dc9456cd26e7c1531e6bd765e01d6b6e
Link to contents of Javascript console in the browser
Link to javascript console output: UPDDATE: I just noticed that the snapshot preview never pops up in Test Mode and checked the dev console and found this:
packed_core.js?f52b1299:16450 Error calling onDataUpdaterPluginMessage on view model OctolapseViewModel : TypeError: Unable to process binding "text: function(){return $data.z.toFixed(2) }"
Message: Cannot read property 'toFixed' of null
at text (eval at parseBindingsString (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11374:90), :3:72)
at update (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11404:237)
at a.B.i (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11378:286)
at Function.Pc (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11357:355)
at Function.Qc (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11357:133)
at Function.aa (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11356:482)
at Object.a.m.a.B (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11355:39)
at http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11378:273
at Object.q (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11317:244)
at m (http://192.168.1.78:5000/static/webassets/packed_libs.js?3339d949:11377:318)
Screenshots and/or videos of the problem:
Screenshot/Video Links: ___REPLACE_THIS__LINKs_GO_HERE
Please consider becoming a patron
If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.
You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.
The text was updated successfully, but these errors were encountered: