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

Pushover "Print finished" notifications don't have File and Estimated Print Time #98

Open
sid3windr opened this issue Aug 27, 2020 · 4 comments
Labels

Comments

@sid3windr
Copy link

While the "Print started" notification does contain this info correctly, the "File" and "Estimated print time" on the "Print finished" notification just show "N/A".

Not sure if this is specific to Pushover, but it's what I am using.
I tried looking at the code through GitHub but it looks like the issue shouldn't be Pushover-specific...

Running Octoslack 2.0.0.

@fraschetti fraschetti added the bug label Nov 20, 2020
@fraschetti
Copy link
Owner

Hi @sid3windr

I can't imagine there's anything specific to Pushover but you never know.

Do you mind providing some rough details about your environment?
-What device/OS are you running?
-How are you connecting to Slack (Webhook or API token)?
-Do you mind following the steps below to generate a debug log for analysis?

  1. Enable DEBUG logging
  2. Reproduce the issue
  3. Send Octoprint.log

Instructions to enable DEBUG logging for Octoslack

  • Enable DEBUG logging
    Ensure the following has been added to /home/pi/.octoprint/logging.yaml (or appropriate path for your OctoPrint installation)
loggers:
  octoprint.plugins.Octoslack:
    level: DEBUG
  • Restart OctoPrint
sudo service octoprint restart

For OctoPi releases, the log file will be located in:
/home/pi/.octoprint/logs/octoprint.log

@sid3windr
Copy link
Author

sid3windr commented Dec 12, 2020

Hi,

Apologies for the late reply - I got the e-mail then got quite busy...

I'm not using Slack notification, only Pushover, on a Raspberry Pi with Raspbian/Debian 10 (through OctoPi). Updated to 1.5.2 in the meanwhile.

I have enabled debug logging and will feed back after my next print. Apologies for still being a bit vague.

Thanks!

@sid3windr
Copy link
Author

Once again my apologies for the late reply. I did enable debug logging, didn't find anything in there and then neglected posting it here as well. However I am happy to report after upgrading to both OctoPrint 1.6.1 and the last OctoSlack version yesterday, my Pushover notifications are now correctly reporting filename and print time in the "Print finished" notification!

@sid3windr
Copy link
Author

Hm. Too soon - half of the prints still say n/a !

@sid3windr sid3windr reopened this May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants