Trying to set up a new rule for my music library on a Vero 4K+ running latest Feb update.
Open Library Node Editor and under “Artists” open “Add Rule”, none of the menu options will change from the current when selected, eg. selecting Artist and then attempting a change to Genre, will not be possible, highlighted field remains as “Artist”
Selecting “Browse for value” will result in an error being thrown. See below for log.
Have uninstalled, rebooted and reinstalled addon with no change. Tried exactly same thing on my regular Kodi PC install with no issues.
Any ideas please?
024-03-10 11:47:31.231 T:3012 error <general>:
2024-03-10 11:47:31.231 T:3012 error <general>: PermissionError: [Errno 13] Permission denied: '/home/osmc/.kodi/userdata/library/music/artists.xml'
2024-03-10 11:47:31.231 T:3012 error <general>:
2024-03-10 11:47:41.833 T:3014 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'PermissionError'>
Error Contents: [Errno 13] Permission denied: '/home/osmc/.kodi/userdata/library/music/plugin.library.node.editor/temp.xml'
Traceback (most recent call last):
File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 762, in _get_writer
write = file_or_filename.write
AttributeError: 'str' object has no attribute 'write'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.library.node.editor/plugin.py", line 6, in <module>
addon.run(sys.argv)
File "/home/osmc/.kodi/addons/plugin.library.node.editor/resources/lib/addon.py", line 834, in run
Main(params, ltype, RULE, ATTRIB, PATHRULE, ORDERBY)
File "/home/osmc/.kodi/addons/plugin.library.node.editor/resources/lib/addon.py", line 226, in __init__
self.RULE.browse( self.PARAMS[ "actionPath" ], self.PARAMS[ "rule" ], self.PARAMS[ "match" ], self.PARAMS[ "content" ] )
File "/home/osmc/.kodi/addons/plugin.library.node.editor/resources/lib/rules.py", line 934, in browse
self.createBrowseNode( content, "artists" )
File "/home/osmc/.kodi/addons/plugin.library.node.editor/resources/lib/rules.py", line 996, in createBrowseNode
tree.write( os.path.join( targetDir, "temp.xml" ), encoding="UTF-8" )
File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 732, in write
with _get_writer(file_or_filename, enc_lower) as write:
File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
return next(self.gen)
File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 768, in _get_writer
file = open(file_or_filename, "w", encoding=encoding,
PermissionError: [Errno 13] Permission denied: '/home/osmc/.kodi/userdata/library/music/plugin.library.node.editor/temp.xml'
-->End of Python script error report<--