哈哈这次应该没问题啦。

在 2010年7月25日 下午3:48,Homer Xing <[email protected]>写道:

> 稍等,我去改一下代码。好像是 lib.py 里的 R 类改坏了。
>
> 在 2010年7月25日 下午3:39,Devil Wang <[email protected]>写道:
>
> *
>> *
>> 2010/7/25 Devil Wang <[email protected]>
>>
>> *Faint...
>>>
>>> Could not start ailurus....
>>>
>>> *de...@devil Ailurus$ /usr/bin/ailurus
>>> Traceback (most recent call last):
>>>   File "main.py", line 26, in <module>
>>>     from loader import *
>>>   File "/usr/lib/python2.6/site-packages/ailurus/loader.py", line 330, in
>>> <module>
>>>     import common
>>>   File "/usr/lib/python2.6/site-packages/ailurus/common/__init__.py",
>>> line 22, in <module>
>>>     import apps
>>>   File "/usr/lib/python2.6/site-packages/ailurus/common/apps.py", line
>>> 302, in <module>
>>>     class FFRadioGet(_ff_extension):
>>>   File "/usr/lib/python2.6/site-packages/ailurus/common/apps.py", line
>>> 310, in FFRadioGet
>>>     15870, '132b45fd31dff76676d6d66bbe2b0f556f2f34fd') # We add a second
>>> url because ipget.cn is in expiration date now :(
>>> TypeError: __init__() takes at most 3 arguments (4 given)
>>>
>>
>>
>> 这里怎么是报给了4个参数的错误。。。
>>
>>
>>>
>>> 2010/7/25 Homer Xing <[email protected]>
>>>
>>> 网络好啦。我已经 git push。Devil, 麻烦再测试下好吗? 谢谢!
>>>>
>>>> Homer
>>>>
>>>> 在 2010年7月25日 下午1:05,Homer Xing <[email protected]>写道:
>>>>
>>>> 谢谢Devil指出问题!
>>>>>
>>>>>
>>>>> 我猜测错误原因是download_icons是以独立进程方式运行,主进程设置为使用代理后,独立进程没能读取配置。我已经改过代码,将两个进程合并。不过学校里断网了,后天才能传到github。请Devil到时再测试一下好吗?
>>>>>
>>>>> Homer
>>>>>
>>>>> 2010/7/24, Devil Wang <[email protected]>:
>>>>> > *Hi all,
>>>>> >
>>>>> > when i was download icons from APP, it reported such error.
>>>>> >
>>>>> > it seems that the connection time out.
>>>>> > It could be the firewall of my company block this http request.
>>>>> >
>>>>> > So, maybe , it was not a bug. or we can refine the code to handle
>>>>> this kinds
>>>>> > of exception.
>>>>> >
>>>>> >
>>>>> > *  File "/usr/lib/python2.6/site-packages/ailurus/download_icons.py",
>>>>> line
>>>>> > 56, in download_thread
>>>>> >     in_file = urllib2.urlopen(self.url)
>>>>> >   File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
>>>>> >     return _opener.open(url, data, timeout)
>>>>> >   File "/usr/lib/python2.6/urllib2.py", line 389, in open
>>>>> >     response = self._open(req, data)
>>>>> >   File "/usr/lib/python2.6/urllib2.py", line 407, in _open
>>>>> >     '_open', req)
>>>>> >   File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
>>>>> >     result = func(*args)
>>>>> >   File "/usr/lib/python2.6/urllib2.py", line 1146, in http_open
>>>>> >     return self.do_open(httplib.HTTPConnection, req)
>>>>> >   File "/usr/lib/python2.6/urllib2.py", line 1121, in do_open
>>>>> >     raise URLError(err)
>>>>> > <class 'urllib2.URLError'> : <urlopen error [Errno 110] Connection
>>>>> timed
>>>>> > out>
>>>>> > ('fedora', '13', 'Goddard')
>>>>> > ('Linux', 'Devil', '2.6.33.6-147.fc13.i686', '#1 SMP Tue Jul 6
>>>>> 22:30:55 UTC
>>>>> > 2010', 'i686')
>>>>> > Ailurus version: 10.07.4.1
>>>>> >
>>>>> > --
>>>>> > Thanks & Regards
>>>>> >
>>>>> > Linux Developer : Devil Wang
>>>>> >
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks & Regards
>>>
>>> Linux Developer : Devil Wang
>>>
>>
>>
>>
>> --
>> Thanks & Regards
>>
>> Linux Developer : Devil Wang
>>
>
>
_______________________________________________
Mailing list: https://launchpad.net/~ailurus
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ailurus
More help   : https://help.launchpad.net/ListHelp

回复