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
I am working on further enhancements on your implementation for multiple alarms and came across to the following error which I can't find any solution...
I was wondering whether you could spend some time and take a look:
Dec 28 14:12:02 raspberrypi mopidy[5459]: INFO [Thread-51] mopidy_alarmclock.alarm_manager Triggering alarm 14:12 alarm
Dec 28 14:12:03 raspberrypi mopidy[5459]: ERROR [Thread-51] mopidy_alarmclock.alarm_manager Could not get current playback volume
Dec 28 14:12:03 raspberrypi mopidy[5459]: Traceback (most recent call last):
Dec 28 14:12:03 raspberrypi mopidy[5459]: File "/usr/local/lib/python3.7/dist-packages/mopidy_alarmclock/alarm_manager.py", line 222, in adjust_volume
Dec 28 14:12:03 raspberrypi mopidy[5459]: current_volume = self.core.playback.volume.get()
Dec 28 14:12:03 raspberrypi mopidy[5459]: File "/usr/local/lib/python3.7/dist-packages/pykka/_proxy.py", line 219, in __getattr__
Dec 28 14:12:03 raspberrypi mopidy[5459]: raise AttributeError('{} has no attribute {!r}'.format(self, name))
Dec 28 14:12:03 raspberrypi mopidy[5459]: AttributeError: <ActorProxy for Core (urn:uuid:edb24319-67b2-4d61-96d2-1aaed19a2052), attr_path=('playback',)> has no attribute 'volume'
`459]: current_volume = self.core.playback.volume.get()
Dec 28 14:12:03 raspberrypi mopidy[5459]: File "/usr/local/lib/python3.7/dist-packages/pykka/_proxy.py", line 219, in __getattr__
Dec 28 14:12:03 raspberrypi mopidy[5459]: raise AttributeError('{} has no attribute {!r}'.format(self, name))
Dec 28 14:12:03 raspberrypi mopidy[5459]: AttributeError: <ActorProxy for Core (urn:uuid:edb24319-67b2-4d61-96d2-1aaed19a2052), attr_path=('playback',)> has no attribute 'volume'
Thanks a lot !
The text was updated successfully, but these errors were encountered:
@dubaleeiro Looks like the error occurs due to differences in APIs of different Mopidy versions (@rgov's PR is for Mopidy version lower than 3; current version of Mopidy is 3.x).
Here is the upgrade to Mopidy 3 (and Python 3) that was done in the stable version of Mopidy-AlarmClock (changes in Mopidy APIs used by stable version should be visible there): ca7fe9a
Dear @rgov,
I am working on further enhancements on your implementation for multiple alarms and came across to the following error which I can't find any solution...
I was wondering whether you could spend some time and take a look:
Thanks a lot !
The text was updated successfully, but these errors were encountered: