Project

General

Profile

Actions

Bug #226

closed

Addons4Xbox Installer - readURL() 404, Not found

Added by kozz about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06/02/2013
Due date:
% Done:

0%

Resolution:
fixed
Affected Version:

Description

If there is anything within the addons.xml containing the text "404 Not Found" for example you put <notes>HTTP Error 404 Not Found</notes>, the Installer it self takes it literally and fails to list any addons "NOTICE: readURL() 404, Not found "

1:15:08 M: 37277696 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
11:15:09 M: 35778560 NOTICE: List of Add-ons
11:15:09 M: 35778560 NOTICE: getInstalledAddonInfo: Addon path: Q:\UserData\plugin_data\programs\Addons4Xbox Installer\repositories\repository.xbmc4xbox
11:15:09 M: 35778560 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
11:15:09 M: 35778560 DEBUG: LoadLibraryA('pyexpat.pyd')
11:15:09 M: 35639296 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
11:15:09 M: 35639296 DEBUG: LoadLibrary('pyexpat.pyd') returning: 00C154B0
11:15:09 M: 35639296 DEBUG: dllGetProcAddress(1D100000(pyexpat.pyd), 'initpyexpat') => 1D102350
11:15:09 M: 35622912 NOTICE: xmlElt
11:15:09 M: 35622912 NOTICE: <Element addon at fc9aa8>
11:15:09 M: 35622912 NOTICE: _getType - This is a REPOSITORY
11:15:09 M: 35622912 NOTICE: Repo format zip attribute: false
11:15:09 M: 35622912 NOTICE: {'repo_datadir': 'http://addons4xbox.googlecode.com/svn/branches/addons/', 'name': 'XBMC4XBox Add-ons', 'author': 'Team XBMC4Xbox', 'repo_format': 'dir', 'required_lib': [], 'nofanart': None, 'platform': 'all', 'version': '1.0.0', 'repo_url': 'http://addons4xbox.googlecode.com/svn/branches/addons/addons.xml', 'disclaimer': None, 'type': 'repository', 'id': 'repository.xbmc4xbox', 'description': 'Download and install Add-ons from xbmc4xbox.org.uk'}
11:15:09 M: 35622912 NOTICE: readURL() url=http://addons4xbox.googlecode.com/svn/branches/addons/addons.xml
11:15:09 M: 35622912 DEBUG: LoadLibraryA('ws2_32')
11:15:09 M: 35622912 DEBUG: LoadLibrary('ws2_32.dll') returning: 00853848
11:15:09 M: 35622912 DEBUG: dllGetProcAddress(00853808(ws2_32.dll), 'getaddrinfo') => 0026C3D6
Previous line repeats 1 times.
11:15:09 M: 35622912 DEBUG: dllGetProcAddress(00853808(ws2_32.dll), 'getnameinfo') => 0026C3F1
11:15:09 M: 35622912 DEBUG: dllGetProcAddress(00853808(ws2_32.dll), 'freeaddrinfo') => 0026C415
11:15:09 M: 35545088 NOTICE: readURL() 404, Not found
11:15:09 M: 35594240 NOTICE: Traceback (most recent call last):
11:15:09 M: 35635200 NOTICE: File "Q:\plugins\programs\Addons4Xbox Installer\resources\libs\XmlParser.py", line 289, in __init__
11:15:09 M: 35614720 NOTICE: rootXmlElt = ET.parse( xmlData ).getroot() # root: <addons>
11:15:09 M: 35614720 NOTICE: File "Q:\plugins\programs\Addons4Xbox Installer\resources\libs\elementtree\ElementTree.py", line 863, in parse
11:15:09 M: 35614720 NOTICE: tree.parse(source, parser)
11:15:09 M: 35614720 NOTICE: File "Q:\plugins\programs\Addons4Xbox Installer\resources\libs\elementtree\ElementTree.py", line 584, in parse
11:15:09 M: 35614720 NOTICE: self._root = parser.close()
11:15:09 M: 35614720 NOTICE: File "Q:\plugins\programs\Addons4Xbox Installer\resources\libs\elementtree\ElementTree.py", line 1255, in close
11:15:09 M: 35614720 NOTICE: self._parser.Parse("", 1) # end of data
11:15:09 M: 35614720 NOTICE: ExpatError: no element found: line 1, column 0
11:15:09 M: 35614720 NOTICE: getNextItem - result:
11:15:09 M: 35614720 NOTICE: None
11:15:09 M: 35614720 NOTICE: None
11:15:09 M: 35614720 NOTICE: {}
11:15:09 M: 35614720 NOTICE: PersistentDataCreator: filepath = Q:\UserData\plugin_data\programs\Addons4Xbox Installer\cache\addon_list.txt
11:15:09 M: 35614720 NOTICE: PersistentDataCreator: data:
11:15:09 M: 35614720 NOTICE: {}
11:15:09 M: 35614720 NOTICE: end_of_directory
11:15:09 M: 35614720 INFO: Scriptresult: Success
11:15:09 M: 35618816 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
11:15:09 M: 35618816 INFO: Python script stopped
11:15:10 M: 36143104 DEBUG: CFileItemList::Sort, sorting took 0 millis
11:15:10 M: 36122624 DEBUG: python thread 8 destructed

Actions #1

Updated by buzz about 11 years ago

  • Status changed from New to Resolved
  • Assignee set to buzz
  • Resolution set to fixed

This is now fixed.

Actions #2

Updated by buzz about 11 years ago

  • Status changed from Resolved to Closed
  • Affected Version set to 3.2
Actions

Also available in: Atom PDF