gikoluo / aliyun-python-sdk-jaq Goto Github PK
View Code? Open in Web Editor NEW阿里云Python JAQ SDK for Python
License: MIT License
阿里云Python JAQ SDK for Python
License: MIT License
在 pyramid 程序里引用了出错了
Can not find endpoint to access. Traceback (most recent call last): File "/test.py", line 280, in test result = clt.do_action_with_exception(request) File "/usr/local/lib/python2.7/dist-packages/aliyunsdkcore/client.py", line 241, in do_action_with_exception status, headers, body = self._implementation_of_do_action(acs_request) File "/usr/local/lib/python2.7/dist-packages/aliyunsdkcore/client.py", line 203, in _implementation_of_do_action endpoint = self._resolve_endpoint(request) File "/usr/local/lib/python2.7/dist-packages/aliyunsdkcore/client.py", line 167, in _resolve_endpoint error_msg.get_msg('SDK_INVALID_REGION_ID')) ClientException: SDK.InvalidRegionId Can not find endpoint to access.
经过调试,发现好像是这个位置出错了
/usr/local/lib/python2.7/dist-packages/aliyunsdkjaq/request/v20161123/AfsCheckRequest.py
class AfsCheckRequest(RpcRequest): def __init__(self): RpcRequest.__init__(self, 'jaq', '2016-11-23', 'AfsCheck')
改成 RpcRequest.init(self, 'Jaq', '2016-11-23', 'AfsCheck') 好像正常了,是我打开方式不对吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.