Bug 33516

Summary: webkit-patch fails in autoinstall
Product: WebKit Reporter: Fumitoshi Ukai <ukai>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Fumitoshi Ukai 2010-01-11 22:48:33 PST
If no autoinstall.cache.d directory exists, webkit-patch fails as follows:

% ./WebKitTools/Scripts/webkit-patch
No handlers could be found for logger "webkitpy.autoinstall"
Traceback (most recent call last):
  File "./WebKitTools/Scripts/webkit-patch", line 35, in <module>
    from webkitpy.bugzilla import Bugzilla
  File "/usr/local/google/home/ukai/src/chromium-webkit/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/bugzilla.py", line 46, in <module>
    from mechanize import Browser
  File "/usr/local/google/home/ukai/src/chromium-webkit/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/autoinstall.py", line 267, in find_module
    filename = self.cache.get(url)
  File "/usr/local/google/home/ukai/src/chromium-webkit/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/autoinstall.py", line 208, in get
    self.download(url, stream)
  File "/usr/local/google/home/ukai/src/chromium-webkit/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/autoinstall.py", line 227, in download
    data = netstream.read(BUFSIZE)
UnboundLocalError: local variable 'netstream' referenced before assignment
Comment 1 Fumitoshi Ukai 2010-01-11 22:57:43 PST
Ah, it was wrong http_proxy setting. Sorry.