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

apprise notification error #54

Open
robertolopezlopez opened this issue Nov 11, 2024 · 1 comment
Open

apprise notification error #54

robertolopezlopez opened this issue Nov 11, 2024 · 1 comment

Comments

@robertolopezlopez
Copy link

Hi,

I am trying to use apprise to send notifications from lazy librarian. This is the config in http://myserver/config:

image

I am getting the following error when I click on [Test]

image

And, nothing is logged.

The apprise configuration is working. This is a screenshot from the lazy librarian docker container:

image
And of course, this time the apprise message arrives (to telegram, this time).

LazyLibrarian version number

Current Version: 997c11e4

Operating system used

Linux

Interface in use

Default, I believe... not sure if it is relevant for this error

Which api

Google Books

Source of your LazyLibrarian installation

Docker image linuxserver/lazylibrarian

Relevant debug log with api keys and any passwords redacted

2024-11-11 15:11:51,372 DEBUG Read config[LOGSPECIALDEBUG]=
2024-11-11 15:11:51,336 DEBUG Read config[LOGDIR]=/config/log
2024-11-11 15:11:51,325 DEBUG Set config[LOGLEVEL]=50
2024-11-11 15:11:51,324 DEBUG Set config[EBOOK_DIR]=/books
2024-11-11 15:11:51,324 DEBUG Set config[DOWNLOAD_DIR]=/downloads
2024-11-11 15:11:51,324 DEBUG Set config[LOGDIR]=/config/log
2024-11-11 15:11:51,323 DEBUG Set config[CONFIG_TAB_NUM]=2
2024-11-11 15:11:51,323 DEBUG Set config[IMP_PREFLANG]=en, eng, en-US, en-GB
2024-11-11 15:11:51,323 DEBUG Set config[SSL_VERIFY]=False
2024-11-11 15:11:51,323 DEBUG Set config[NOTIFY_WITH_TITLE]=True

Full logs from docker:

app-1 | [migrations] started
app-1 | [migrations] no migrations found
app-1 | usermod: no changes
app-1 | ───────────────────────────────────────
app-1 |
app-1 | ██╗ ███████╗██╗ ██████╗
app-1 | ██║ ██╔════╝██║██╔═══██╗
app-1 | ██║ ███████╗██║██║ ██║
app-1 | ██║ ╚════██║██║██║ ██║
app-1 | ███████╗███████║██║╚██████╔╝
app-1 | ╚══════╝╚══════╝╚═╝ ╚═════╝
app-1 |
app-1 | Brought to you by linuxserver.io
app-1 | ───────────────────────────────────────
app-1 |
app-1 | To support LSIO projects visit:
app-1 | https://www.linuxserver.io/donate/
app-1 |
app-1 | ───────────────────────────────────────
app-1 | GID/UID
app-1 | ───────────────────────────────────────
app-1 |
app-1 | User UID: 1000
app-1 | User GID: 1000
app-1 | ───────────────────────────────────────
app-1 | Linuxserver.io version: 997c11e4-ls93
app-1 | Build-date: 2024-11-09T18:47:58+00:00
app-1 | ───────────────────────────────────────
app-1 |
app-1 | [custom-init] No custom files found, skipping...
app-1 | /app/lazylibrarian/cherrypy/process/servers.py:1: SyntaxWarning: invalid escape sequence '\ '
app-1 | """
app-1 | 2024-11-11 15:11:51,322 DEBUG: Set config[HOMEPAGE]=Authors [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,323 DEBUG: Set config[CONFIG_TAB_NUM]=2 [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,323 DEBUG: Set config[IMP_PREFLANG]=en, eng, en-US, en-GB [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,323 DEBUG: Set config[SSL_VERIFY]=False [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,323 DEBUG: Set config[NOTIFY_WITH_TITLE]=True [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,324 DEBUG: Set config[EBOOK_DIR]=/books [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,324 DEBUG: Set config[DOWNLOAD_DIR]=/downloads [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,324 DEBUG: Set config[LOGDIR]=/config/log [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,325 DEBUG: Set config[LOGLEVEL]=50 [configtypes.py:167 (MAIN/special.configwrite)]
app-1 | 2024-11-11 15:11:51,336 DEBUG: Read config[LOGDIR]=/config/log [configtypes.py:151 (MAIN)]
app-1 | 2024-11-11 15:11:51,372 DEBUG: Read config[LOGSPECIALDEBUG]= [configtypes.py:151 (MAIN)]
app-1 | Connection to localhost (127.0.0.1) 5299 port [tcp/*] succeeded!
app-1 | [ls.io-init] done.

Please note - usually a single line of log is not sufficient. The lines just before the error occurs can give useful context and greatly assist with debugging.

There is a built-in debug log creator on the logs page which makes it easy to provide this information

  • To use it, first go to the log page and make sure debug logging is OFF
  • Now press the "Start debug log" button
  • Go and do whatever you need to recreate the error
  • Go back to the log page and press "Save debug log"
  • You can now turn debug logging off again if you want
  • The saved log file will be found in your lazylibrarian log directory called debug.zip
  • It will contain all lines logged since you pressed "Start debug log" with any passwords and api keys removed
  • Attach the zip file to your bug report.
@robertolopezlopez
Copy link
Author

I couldn't find the "stop debug log" nor "save debug log" buttons
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant