Jump to content

Error on start up 2.0.3


DaveStLou

Recommended Posts

@bpwwer I noticed today that Volumio is not reporting status correctly even though it seems to be responding to at least some commands.

This is what I'm seeing the Node Server log:

2022-04-20 07:40:17,563 MainThread udi_interface      INFO     controller:start: Starting node server
2022-04-20 07:40:17,564 MainThread udi_interface      DEBUG    controller:start: Waiting for configuration
2022-04-20 07:40:17,745 MQTT       udi_interface.interface INFO     interface:_message: custom data response {'customparamsdoc': "<h2>Configuration</h2>\n\n<p>To configure the Volumio node server, you must configure it for the \nVolumio media devices you wish to control. </p>\n\n<p>Enter the name and IP of each Volumio media device as a custom parameter\nkey / value.  I.E. </p>\n\n<p>key = MyVolumio  value = 192.168.92.3</p>\n\n<p>You can enter the Volumio address as 'name.local' instead of IP address and\nthe node server will attempt to find the Volumio device that way.</p>\n"}
2022-04-20 07:40:17,786 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc
2022-04-20 07:40:55,489 Thread-5   udi_interface      ERROR    udi_interface:write: Exception in thread
2022-04-20 07:40:55,490 Thread-5   udi_interface      ERROR    udi_interface:write: Thread-5
2022-04-20 07:40:55,490 Thread-5   udi_interface      ERROR    udi_interface:write: :
2022-04-20 07:40:55,491 Thread-5   udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2022-04-20 07:40:55,492 Thread-5   udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2022-04-20 07:40:55,496 Thread-5   udi_interface      ERROR    udi_interface:write: self.run()
2022-04-20 07:40:55,497 Thread-5   udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run
2022-04-20 07:40:55,501 Thread-5   udi_interface      ERROR    udi_interface:write: self._target(*self._args, **self._kwargs)
2022-04-20 07:40:55,502 Thread-5   udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:21:b9:02:0d:bf_11/nodes/controller.py", line 40, in nodeDoneHandler
2022-04-20 07:40:55,503 Thread-5   udi_interface      ERROR    udi_interface:write: self.player_list[nodeinfo['name']]['node'].setNotification()
2022-04-20 07:40:55,504 Thread-5   udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:21:b9:02:0d:bf_11/nodes/player.py", line 30, in setNotification
2022-04-20 07:40:55,505 Thread-5   udi_interface      ERROR    udi_interface:write: self.status(info, True)
2022-04-20 07:40:55,506 Thread-5   udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:21:b9:02:0d:bf_11/nodes/player.py", line 89, in status
2022-04-20 07:40:55,507 Thread-5   udi_interface      ERROR    udi_interface:write: self.setDriver('SVOL', int(info['volume']), True, force)
2022-04-20 07:40:55,508 Thread-5   udi_interface      ERROR    udi_interface:write: ValueError
2022-04-20 07:40:55,509 Thread-5   udi_interface      ERROR    udi_interface:write: :
2022-04-20 07:40:55,510 Thread-5   udi_interface      ERROR    udi_interface:write: invalid literal for int() with base 10: 

I've tried restarting but it shows up every time. I tried deleting and reinstalling but no change. I've confirmed all packages are up to date.

  • Volumio System Version: 3.251
  • Volumio Node Server Version 2.0.3
  • PG3 Version 3.0.59
  • Frontend Version: 3.0.59
  • ISY Version: 5.3.4

 

Link to comment

I added code to check for that error, report it and continue.  If you refresh the store, you should see version 2.0.4 and restart of the node server will install it.

It should report an error to the log when it does this. I'd really like to know what Volumio is sending for the volume if you don't mind posting.

Link to comment
1 hour ago, bpwwer said:

That's strange, I wonder what it's returning for the volume that's not a base 10 number?

Well this explains it:

image.thumb.png.64d30e2b3237a9389b3ef24e87f1016f.png

I don't use the device volume at all. I control the amplifier it's connected to instead. Not sure when this crept in but I suspect it was on the last version upgrade of Volumio. Once I changed it, version 4.0.3 restarted without issue (4.0.4 hadn't shown up in the store yet).

I refreshed the store and restarted the Node Server again and 4.0.4 also started without issue. BTW, I really like the notification and upgrade process you've implemented in PG3!

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...