twchapman / nativeclient-sdk

Automatically exported from code.google.com/p/nativeclient-sdk
0 stars 0 forks source link

sdk_update.py crashes on linux or mac when attempting to download gdb_builds bundle #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
sdk_update.py version 1.7

What steps will reproduce the problem?
1. run ./naclsdk update gdb_builds on Linux or Mac
2.
3.

What is the expected output? What do you see instead?

The expectation is for this to fail gracefully.

Instead, it causes the following error:

$ ./sdk_update.py -d update gdb_builds
Running Update command with: {'user_data_dir': 
'/usr/local/google/users/mball/wrk/sdk/src/build_tools/sdk_cache', 
'show_version': None, 'quiet': False, 'manifest_filename': 
'naclsdk_manifest.json', 'debug': True, 'manifest_url': 
'https://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl
sdk_manifest.json', 'sdk_root_dir': 
'/usr/local/google/users/mball/wrk/sdk/src/build_tools'}, ['gdb_builds']
Running LoadManifest
Traceback (most recent call last):
  File "./sdk_update.py", line 1128, in <module>
    return_value = main(sys.argv[1:])
  File "./sdk_update.py", line 1120, in main
    InvokeCommand(args)
  File "./sdk_update.py", line 1109, in InvokeCommand
    command(options, args[1:])
  File "./sdk_update.py", line 1023, in Update
    UpdateBundle()
  File "./sdk_update.py", line 990, in UpdateBundle
    (scheme, host, path, _, _, _) = urlparse.urlparse(archive['url'])
TypeError: 'NoneType' object is unsubscriptable

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mball@google.com on 7 Oct 2011 at 11:04

GoogleCodeExporter commented 9 years ago
Actually, it's sdk_update.py version 1.6

Original comment by mball@google.com on 7 Oct 2011 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by mball@google.com on 8 Oct 2011 at 6:43

GoogleCodeExporter commented 9 years ago
Committed as r1244

Original comment by mball@google.com on 10 Oct 2011 at 4:05