Moonraker Warnings Found (OpenNept4une)

Moonraker Warning

Moonraker warnings found. I have only ran into this twice so far. Once when I was doing the original install and just now today again, after a power outage. First I tried to update everything. Updated. No help, still has the error. Restarting didn’t do anything. Something must have gotten corrupted. If you head over to the OpenNeptune3D GitHub there is a solution posted there under the display_connector repository in the issues/bug tracker. I will also detail it here.

 

Moonraker warnings found

  1. [update_manager]: Failed to load extension display: It reports an invalid path for the option  virtualenv  in section [update_manager display] . The specified path /home/mks/display_connector/venv does not exist.
  2. Unparsed config option ‘primary_branch: main’: This is detected in section [update_manager display]. It suggests the option may no longer be available or could result from a failed module. A warning indicates this will cause a startup error in the future.
  3. Unparsed config option ‘requirements: requirements.txt’: This is also detected in section [update_manager display] and may no longer be available or caused by a failed module. A similar warning states this will lead to a startup error in the future.
  4. Unparsed config option ‘origin’: The text includes a URL: https://github.com/OpenNeptune3D/display_connector.git, which is detected in section [update_manager display]. It may no longer be an available option or the result of a failed module, with a warning that this will cause a startup error in the future.

 

If you log into Fluidd and see this Moonraker warning message don’t worry, there is an easy fix. You will need to SSH into the 3D printer to run some commands.

SSH into the printer from a terminal on your computer/phone/tablet, whatever you are using.

 

After you login you should be in the home directory for the user mks . We need to change directories and enter display_connector to run the installer.

From the terminal type cd /home/mks/display_connector

Now we need to run the display service installer, which should clear up the issue.

Type ./display-service-installer.sh

Now you can head back to your Fluidd window and refresh the page. The issue should be gone now.

Ombi v4 and HAProxy

Ombi

Just a quick one. If you happen to run HAProxy for well, proxying, and you run Ombi (which is a frontend request app for Plex, if you don’t know google it) then you are aware of the recent update to v4. While v4 looks very nice I feel like they took away some vital features or at least moved em to where I cannot find them. But anyhow, the recent v4 update seems to have broken HAProxy and it will not display properly anymore. If you run the 503 maintenance code message for when issues poop up then you will see that message.

The fix seems to very simple. Just change the health check to basic instead of HTTP and add a huge timer and all will be well. Not exactly sure what changed here but that change got my system back to functioning.

 

From Reddit:

 

OctoPrint and Email Notifier woes

Email Notifier Woes

Update 3-22-19: It appears that the plugin is broken, dead, and abandoned by its creator. I currently know of no other way to send notifications besides Twilio or IFTTT.

I have OctoPrint (via OctoPi) setup and I wanted a way to be notified when my print was done without constantly walking into the garage. So I searched the plugins one day and found the Email Notifier.

After I installed it I could not get it to work for the life of me. I followed the instructions of adding my username and password to the keyring but it always produced an error NameError: global name ‘keyring’ is not defined”. Tried some fixes here and there but nothing had worked. So I bailed.

I tried to install the SMS Notifier (Twilio) instead, and that seems to have broken my plugin installation manager. Great. Now whenever I try to install a plugin after I tried to install the SMS Notifier I get the error message about pip not understanding the output or some shit. Great. I have flashed an SD card 2x and tried this twice, it always causes this issue. Damn you SMS Notifier. I have not looked at their Github for a fix yet, so… (Update: it did not break my plugin manager, that was another issue.)

I went back to the Email Notifier, and this time I got it working. I spent some more time digging on the net and found the solution to the issue I had of the keyring not defined. Then… I ran into a different error of yagmail not wanting to send mail via Google because of some reason (it didn’t say exactly) just gave me the generic error code of “send-mail: Authorization failed 534 5.7.14”. Looking that up had no help. But… I did find the answers to my problems and now my Email Notifier is up and running!

I get the error message of there being a new pip version but I have ignored this so far. These are the steps I took to get it working, YMMV.

First make sure that your Google account is setup to allow less secure sign-ins.
https://support.google.com/accounts/answer/6010255

Then SSH into your OctoPrint and update yagmail then install keyring.

Install yagmail (its probably already installed but hey)
/home/pi/oprint/bin/pip install yagmail[all] --upgrade /home/pi/oprint/bin/pip install keyring --no-deps

Start OctoPrint Python
/home/pi/oprint/bin/python

then

(control+z to exit)

Reboot the Raspberry Pi for all the changes to take effect. I tried just restarting OctoPrint but that didn’t work. After the reboot I ran into another issue (of course).

“sending failed. Reason :: send() got an unexpected keyword argument “validate_email”

Modify the file init.py (__init.py__ is how it showed on my system with ls ) found in /home/pi/oprint/lib/python2.7/site-packages/octoprint_emailnotifier and change the line:
mailer.send(to=emails, subject=subject, contents=body, validate_email=False)

to
mailer.send(to=emails, subject=subject, contents=body)

(here is the fix https://github.com/anoved/OctoPrint-EmailNotifier/issues/41#issuecomment-315799836)

Places I found my answers:

https://github.com/anoved/OctoPrint-EmailNotifier/issues/8#issuecomment-187017056
https://github.com/anoved/OctoPrint-EmailNotifier/issues/27#issuecomment-295525220
https://github.com/anoved/OctoPrint-EmailNotifier/issues/27#issuecomment-302890618