我的本地python应用程序使用httplib2调用restapi。一年多来它一直运转良好。今天早上我开始收到以下错误:
2018-06-28 12:43:07.001 Python[1722:25727] IMKInputSession [0x7f99e21ac2f0 presentFunctionRowItemTextInputViewWithEndpoint:completionHandler:] : [self textInputContext]=0x7f99dfd48440 *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 0" UserInfo={NSDebugDescription=connection from pid 0}, com.apple.inputmethod.EmojiFunctionRowItem
最初,我认为这是因为我的openSSL证书过期了。我已经更新到openssl1.1。我还从python3.6更新到了3.7。我仍然得到同样的错误。在
进行调用的代码如下。在
^{pr2}$错误是由连接.请求(). 在
好的,找到错误了。我使用的是httplib2版本0.9。我通过以下方式升级:
升级后,问题得到解决。在
相关问题 更多 >
编程相关推荐