Angelscry Wrote:Could you post the content of the XBMC.log file when the addon.py error occurs. It could indicate to us what is exactly the problem.
In a more general case: If you want to reinstall a more recent version of Advanced Launcher as a duplicate launcher (duplicate versions cannot be updated automatically) :
- make a backup of the /xbmc/userdata/addon_data/plugin.program.advanced.launcher.old.duplicate/launchers.xml file (it's the more important file)
- delete the /xbmc/userdata/addon_data/plugin.program.advanced.launcher.old.duplicate directory (to avoid any version conflict)
- delete the /xbmc/addons/plugin.program.advanced.launcher.old.duplicate directory (to remove the old duplicate version)
- duplicate the /xbmc/addons/plugin.program.advanced.launcher as /xbmc/addons/plugin.program.advanced.launcher.new.duplicate as described into this tutorial : http://www.youtube.com/watch?v=_gMFJcxdcEg
- start XBMC and start new Advanced Launcher duplicate. It will ask you to create a new launcher. Create quickly a fake one. This will create /xbmc/userdata/addon_data/plugin.program.advanced.launcher.new.duplicate directory structure and content (settings.xml and launchers.xml files).
- finally replace the /xbmc/userdata/addon_data/plugin.program.advanced.launcher.new.duplicate/launchers.xml file by the one you have backed up in the first step.
Thank you for the reply. I tried the general instructions, but this did not work. Here is the error log (I may be providing more than necessary, sorry):
12:46:43 T:7060 NOTICE: -->Python Interpreter Initialized<--
12:46:43 T:7060 ERROR: Error Type: <type 'exceptions.SyntaxError'>
12:46:43 T:7060 ERROR: Error Contents: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None))
12:46:43 T:7060 ERROR: Traceback (most recent call last):
File "C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher.2\addon.py", line 18, in <module>
import resources.lib.launcher_plugin as plugin
SyntaxError: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None))
12:46:43 T:6668 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher.2
12:46:43 T:6668 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher.2) failed
12:46:43 T:6036 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
12:46:46 T:5508 NOTICE: -->Python Interpreter Initialized<--
12:47:06 T:3316 NOTICE: -->Python Interpreter Initialized<--
12:47:06 T:3316 ERROR: C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
12:47:06 T:3316 NOTICE: Launcher: found 7 launchers
12:47:06 T:5648 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
12:47:10 T:5932 WARNING: Previous line repeats 5 times.
12:47:10 T:5932 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
12:47:12 T:6944 NOTICE: -->Python Interpreter Initialized<--
12:47:12 T:6944 ERROR: Error Type: <type 'exceptions.SyntaxError'>
12:47:12 T:6944 ERROR: Error Contents: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None))
12:47:12 T:6944 ERROR: Traceback (most recent call last):
File "C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher.2\addon.py", line 18, in <module>
import resources.lib.launcher_plugin as plugin
SyntaxError: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None))
12:47:12 T:6668 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher.2
12:47:12 T:6668 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher.2) failed
12:47:12 T:3776 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn