I am using Lubuntu 13.10 with 0.7.3 installed from the Ubuntu repos and having the same strange permissions issue. Can only launch radiotray from the terminal with sudo. Can't launch as a regular user. Version 0.7.2 running on Voyager 12.04 (a Xubuntu re-spin) works okay. Will post the error message later from the Lubuntu box.
Here's what happens when I try to launch radiotray from the command line without doing a sudo:
Traceback (most recent call last):
File "/usr/bin/radiotray", line 15, in <module>
File "/usr/lib/python2.7/dist-packages/radiotray/radiotray.py", line 39, in main
File "/usr/lib/python2.7/dist-packages/radiotray/RadioTray.py", line 46, in init
File "/usr/lib/python2.7/dist-packages/radiotray/RadioTray.py", line 135, in loadConfiguration
File "/usr/lib/python2.7/dist-packages/radiotray/RadioTray.py", line 171, in configLogging
handler = logging.handlers.RotatingFileHandler(LOGFILE, maxBytes=2000000, backupCount=1)
File "/usr/lib/python2.7/logging/handlers.py", line 117, in init
BaseRotatingHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib/python2.7/logging/handlers.py", line 64, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib/python2.7/logging/init.py", line 903, in init
File "/usr/lib/python2.7/logging/init.py", line 926, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/username/.local/share/radiotray/radiotray.log'
Sorry, when I post the output in this web forum the lines get a bit messed up
From that error log I can see that you don't have permissions to write to '/home/username/.local/share/radiotray/radiotray.log'.
Make sure to give read and write permissions to everything in that directory, as RT needs it load and save configs.
OK, for some reason or another the permissions on the radiotray.log file was set to "root" instead of the user. Permissions on all of the rest of the files were okay. So just did a "chown" on the command line to change the permissions to the user and it works fine now. This machine is an old Pentium IV 2.0 box that I've been converting from XP to Lubuntu. Good to know in case I run into this problem again as I can see myself converting dozens of XP boxes to various versions of GNU/Linux over the next year.