Bug 33516 - webkit-patch fails in autoinstall
Summary: webkit-patch fails in autoinstall
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 22:48 PST by Fumitoshi Ukai
Modified: 2010-01-11 22:57 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.