Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx下执行,发现几个bug #7

Open
ohyeah521 opened this issue Jun 5, 2014 · 1 comment
Open

osx下执行,发现几个bug #7

ohyeah521 opened this issue Jun 5, 2014 · 1 comment

Comments

@ohyeah521
Copy link

启动参数:./fqdns.py serve

def query_smartly(self, domain):
first_china_upstream = self.china_upstreams[0] # 这里self.china_upstreams为空,所以程序报异常。

@congzhu
Copy link

congzhu commented Aug 29, 2014

同样的问题
2014-08-29 17:50:02,570 ERROR failed to query DNS(qd=[Q(name='www.baidu.com')], id=20177) due to list index out of range
Traceback (most recent call last):
File "/Users/zhucong/Documents/Github/fqdns/fqdns.py", line 192, in call
response = self.query(request, raw_request)
File "/Users/zhucong/Documents/Github/fqdns/fqdns.py", line 222, in query
answers = self.query_smartly(domain)
File "/Users/zhucong/Documents/Github/fqdns/fqdns.py", line 249, in query_smartly
first_china_upstream = self.china_upstreams[0]
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants