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

[APP SUBMITTED]: BraceException: PUSHOVER: Sending notice with details: title="{0}" message="{1}", priority={2}, sound={3} #5734

Closed
udochrist opened this issue Nov 17, 2018 · 4 comments

Comments

@udochrist
Copy link

INFO

Python Version: 2.7.15 (default, Aug 16 2018, 14:17:09) [GCC 6.4.0]
Operating System: Linux-3.10.105-x86_64-with
Locale: None
Branch: master
Database: 44.12
Commit: a1d899b
Link to Log: https://gist.github.com/185d9293868d4279c2808b35971f921d

ERROR

2018-11-17 17:52:25 ERROR    TORNADO :: [a1d899b] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/app/medusa/medusa/logger/adapters/style.py", line 43, in __str__
    return self.msg.format(*args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 19: ordinal not in range(128)
Traceback (most recent call last):
  File "/app/medusa/medusa/logger/adapters/style.py", line 60, in __str__
    raise BraceException(self.msg)
BraceException: PUSHOVER: Sending notice with details: title="{0}" message="{1}", priority={2}, sound={3}

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@triage-new-issues triage-new-issues bot added the triage Untriaged issue label Nov 17, 2018
@p0psicles
Copy link
Contributor

@MrTimscampi issue with one of the logs?

@medariox
Copy link
Contributor

Happens because https://github.com/pymedusa/Medusa/blob/master/medusa/notifiers/pushover.py#L92-L93 args['title'], args['message'] are utf-8 encoded. Should be either decoded, !r used or we can also get rid of that debug line altogether.

@medariox medariox added the Bug label Nov 17, 2018
@triage-new-issues triage-new-issues bot removed the triage Untriaged issue label Nov 17, 2018
@digitalgp
Copy link

INFO

Python Version: 2.7.15 (default, Jun 27 2018, 13:05:28) [GCC 8.1.1 20180531]
Operating System: Linux-4.18.14-unRAID-x86_64-with-glibc2.2.5
Locale: UTF-8
Branch: master
Database: 44.12
Commit: a1d899b
Link to Log: https://gist.github.com/689d0cd8fdf5c590ae37c32505ccdb52

ERROR

2018-11-20 19:52:38 ERROR    POSTPROCESSOR :: [a1d899b] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/opt/medusa/medusa/logger/adapters/style.py", line 43, in __str__
    return self.msg.format(*args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)
Traceback (most recent call last):
  File "/opt/medusa/medusa/logger/adapters/style.py", line 60, in __str__
    raise BraceException(self.msg)
BraceException: PUSHOVER: Sending notice with details: title="{0}" message="{1}", priority={2}, sound={3}

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox medariox added the Fixed label Nov 20, 2018
@medariox
Copy link
Contributor

Fixed with #5759

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

No branches or pull requests

4 participants