You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug/error is.
Desktop (please complete the following information):
OS and Version: Windows 10, Powershell v7.3.1
Python Version: 3.9.7
Player and Version: Only player is MPC-BE w/listening enabled and 13679 port defined
Environment variables defined in PATH: C:\Users\<user>\AppData\Local\Programs\Python\Python39\Scripts\ C:\Users\<user>\AppData\Local\Programs\Python\Python39\ C:\Users\<user>\.local\bin (which has one file - trakts.exe)
To Reproduce
Updated from v1.6.1 to v1.6.2 to fix previous issue
Ran "trakts init"
Set MPC-HC and port
Didn't see TS picking up any scrobbling activity, so I checked log and saw:
Forced new Trakt auth token and then forced a restart, which returned these results:
PS C:\Program Files\PowerShell\7> trakts auth -f
Forcing trakt authentication
Open https://trakt.tv/activate in your browser and enter this code: C9AA120A
App authorized successfully.
Token valid until 03/31/23
WNDPROC return value cannot be converted to LRESULT
PS C:\Program Files\PowerShell\7> trakts status
The scrobbler is running
Monitored players: mpc-hc
No activity yet.
PS C:\Program Files\PowerShell\7> trakts start --restart
SUCCESS: The process with PID 14100 (child process of PID 7524) has been terminated.
SUCCESS: The process with PID 7524 (child process of PID 3604) has been terminated.
ERROR: The process with PID 3604 (child process of PID 16340) could not be terminated.
Reason: There is no running instance of the task.
CalledProcessError
Command '['taskkill', '/pid', '3604', '/f', '/t']' returned non-zero exit status 255.
at ~\AppData\Local\Programs\Python\Python39\lib\subprocess.py:373 in check_call
369│ if retcode:
370│ cmd = kwargs.get("args")
371│ if cmd is None:
372│ cmd = popenargs[0]
→ 373│ raise CalledProcessError(retcode, cmd)
374│ return 0
375│
376│
377│ def check_output(*popenargs, timeout=None, **kwargs):
Forced restart seemed to fail, but tried "trakts start" instead. It resulted in a bunch of old episodes being added to the backlog cleaner, a proper activity report for the last Paused position in the MPC-HC file, and this addition to the log:
2022-12-30 22:33:15,981 - DEBUG - scrobbler - scrobbler - Scrobbling pause at 6.46% for Echo 3
2022-12-30 22:33:16,108 - INFO - scrobbler - scrobbler - Scrobble pause successful for Echo 3 S01E08 at 6.46%
2022-12-30 22:33:16,110 - ERROR - scrobbler - __init__ - Unhandled exception
Traceback (most recent call last):
File "C:\Users\J\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "C:\Users\J\.local\pipx\venvs\trakt-scrobbler\lib\site-packages\trakt_scrobbler\scrobbler.py", line 36, in run
self.scrobble(verb, data)
File "C:\Users\J\.local\pipx\venvs\trakt-scrobbler\lib\site-packages\trakt_scrobbler\scrobbler.py", line 80, in scrobble
self.handle_successful_scrobble(verb, data, resp)
File "C:\Users\J\.local\pipx\venvs\trakt-scrobbler\lib\site-packages\trakt_scrobbler\scrobbler.py", line 67, in handle_successful_scrobble
action = Button(
TypeError: object() takes no arguments
2022-12-30 22:33:21,188 - ERROR - Thread-4 - __init__ - Unhandled exception
TypeError: WPARAM is simple, so must be an int object (got NoneType)
The text was updated successfully, but these errors were encountered:
@iamkroot
(Not OP, but) I essentially made the same fix as the one on notif-fix before I seeing this bug report.
Can confirm this fixes TypeError: object() takes no arguments on Windows 10, and that the toast shows up.
Describe the bug
A clear and concise description of what the bug/error is.
Desktop (please complete the following information):
OS and Version: Windows 10, Powershell v7.3.1
Python Version: 3.9.7
Player and Version: Only player is MPC-BE w/listening enabled and 13679 port defined
Environment variables defined in PATH:
C:\Users\<user>\AppData\Local\Programs\Python\Python39\Scripts\
C:\Users\<user>\AppData\Local\Programs\Python\Python39\
C:\Users\<user>\.local\bin (which has one file - trakts.exe)
To Reproduce
Log file
Log Contents 1 of 2
The text was updated successfully, but these errors were encountered: