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

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

Open
iphone-andy opened this issue Jun 20, 2016 · 5 comments
Labels

Comments

@iphone-andy
Copy link

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

@ChenghaoQ
Copy link

抱歉我刚刚看到,它添加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
#128, or mute the thread
https://github.com/notifications/unsubscribe/AQS5ApnPzhLdq6fdtoIzQyYaOZy0b5AAks5qNjHTgaJpZM4I5ZHE
.

@ChenghaoQ
Copy link

抱歉,刚刚这条发错了

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
#128, or mute the thread
https://github.com/notifications/unsubscribe/AQS5ApnPzhLdq6fdtoIzQyYaOZy0b5AAks5qNjHTgaJpZM4I5ZHE
.

@ghost
Copy link

ghost commented Sep 6, 2016

安装遇到了同样的问题。

@taizilongxu
Copy link
Owner

是 macOS 10.12吗?

@iphone-andy
Copy link
Author

iphone-andy commented Jan 5, 2017

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

`

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

No branches or pull requests

3 participants