douban.fm icon indicating copy to clipboard operation
douban.fm copied to clipboard

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-jmcln825/pyobjc-framework-Accounts

Open iphone-andy opened this issue 8 years ago • 5 comments

安装的时候报错了、能告知是什么原因么

iphone-andy avatar Jun 20 '16 06:06 iphone-andy

抱歉我刚刚看到,它添加long description 以后的错误,上一个版本没有这个错误,我尽快修复,抱歉

2016年6月20日星期一,qiucanqing [email protected] 写道:

安装的时候报错了、能告知是什么原因么

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/taizilongxu/douban.fm/issues/128, or mute the thread https://github.com/notifications/unsubscribe/AQS5ApnPzhLdq6fdtoIzQyYaOZy0b5AAks5qNjHTgaJpZM4I5ZHE .

ChenghaoQ avatar Jun 22 '16 14:06 ChenghaoQ

抱歉,刚刚这条发错了

2016年6月22日星期三,Chenghao Qian [email protected] 写道:

抱歉我刚刚看到,它添加long description 以后的错误,上一个版本没有这个错误,我尽快修复,抱歉

2016年6月20日星期一,qiucanqing <[email protected] javascript:_e(%7B%7D,'cvml','[email protected]');> 写道:

安装的时候报错了、能告知是什么原因么

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/taizilongxu/douban.fm/issues/128, or mute the thread https://github.com/notifications/unsubscribe/AQS5ApnPzhLdq6fdtoIzQyYaOZy0b5AAks5qNjHTgaJpZM4I5ZHE .

ChenghaoQ avatar Jun 22 '16 14:06 ChenghaoQ

安装遇到了同样的问题。

ghost avatar Sep 06 '16 05:09 ghost

是 macOS 10.12吗?

taizilongxu avatar Sep 28 '16 14:09 taizilongxu

OK、我又回来了、我把以前的更新了、现在安装成功了、但是登录完以后就报错了

♥ Get local token - Username: NEG ♥ Get channel [ OK ] ♥ Get volume [ OK ] ♥ Get theme [ OK ] ♥ Get keys [ OK ] Traceback (most recent call last): File "/usr/local/bin/douban.fm", line 9, in load_entry_point('douban.fm==0.4.15', 'console_scripts', 'douban.fm')() File "/usr/local/lib/python2.7/site-packages/doubanfm/douban.py", line 101, in main router = Router() File "/usr/local/lib/python2.7/site-packages/doubanfm/douban.py", line 47, in init self.data = data.Data() File "/usr/local/lib/python2.7/site-packages/doubanfm/data.py", line 23, in init self.playlist = Playlist() File "/usr/local/lib/python2.7/site-packages/doubanfm/model.py", line 40, in init self._get_first_song() File "/usr/local/lib/python2.7/site-packages/doubanfm/model.py", line 57, in _func return func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/doubanfm/model.py", line 82, in _get_first_song song = douban.get_first_song() File "/usr/local/lib/python2.7/site-packages/doubanfm/API/api.py", line 172, in get_first_song return self.requests_url('n') File "/usr/local/lib/python2.7/site-packages/doubanfm/API/api.py", line 163, in requests_url raise APIError(err) doubanfm.exceptions.APIError: list index out of range

API又报错了、

` try:

            s = requests.get(url, params=options, cookies=self._cookies, headers=HEADERS)
            req_json = s.json()
            if req_json['r'] == 0:
                if 'song' not in req_json:
                    break
                return req_json['song'][0]
        except Exception, err:
            raise APIError(err)
            break

`

iphone-andy avatar Jan 05 '17 09:01 iphone-andy