What steps will reproduce the problem?
1. Place script in /home/xbmc/.xbmc\scripts
2. Start script from XBMC
What is the expected output? What do you see instead?
Script shows briefly "Initialising Logger" and then stops running.
What version of the product are you using? On what operating system?
XBMC Live 9.11 installed on harddisk with XOT-Uzg.v3.2.0b7
Please provide any additional information below.
Relevant XBMC logfile lines (/home/xbmc/.xbmc/temp/xbmc.log):
NOTICE: -->Python Interpreter Initialized<--
NOTICE: Exception during the initialisation of the script. No logging
information was present because the logger was not loaded.
NOTICE: Traceback (most recent call last):
NOTICE: File "/home/xbmc/.xbmc/scripts/XOT-Uzg.v3/default.py", line 93, in ?
NOTICE: globalLogFile =
logger.Customlogger(os.path.join(config.rootDir, config.logFileName),
config.logLevel, config.logDual)
NOTICE: File
"/home/xbmc/.xbmc/scripts/XOT-Uzg.v3/resources/libs/logger.py", line 65, in
__init__
NOTICE: self.OpenLog()
NOTICE: File
"/home/xbmc/.xbmc/scripts/XOT-Uzg.v3/resources/libs/logger.py", line 72, in
OpenLog
NOTICE: self.fileDescriptor = os.open(self.logFileName, self.fileFlags)
NOTICE: OSError: [Errno 13] Permission denied:
'/home/xbmc/.xbmc/scripts/XOT-Uzg.v3/uzg.log'
If I change the security of the script directory with "chmod 777
/home/xbmc/.xbmc/scriptsXOT-Uzg.v3/" then the problem is gone because then
the script is able to create the logfile "/home/xbmc/.xbmc/scripts
/XOT-Uzg.v3uzg.log".
Original issue reported on code.google.com by e.groten...@gmail.com on 29 Jan 2010 at 11:32
Original issue reported on code.google.com by
e.groten...@gmail.com
on 29 Jan 2010 at 11:32