`
cherryQQ
  • 浏览: 1133309 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论

AttributeError: can't set attribute

阅读更多

上次goAgent报错:AttributeError

按照baidu出来的goagent部署时,会出现goagent上传出错:

File "uploader.zip\google\appengine\tools\appengine_rpc.py", line 436, in _Aut
henticate
  File "uploader.zip\google\appengine\tools\appengine_rpc.py", line 280, in _Aut
henticate
  File "uploader.zip\google\appengine\tools\appengine_rpc.py", line 232, in _Get
AuthToken
  File "uploader.zip\google\appengine\tools\appengine_rpc.py", line 94, in __ini
t__
AttributeError: can't set attribute
Exception KeyError: KeyError(36805488,) in  ignored

 

 

google goagent 上传失败的原因:是由于使用了两步验证:

 

 

必须输入,在 google 两步验证时生成的应用程序密码: ***** jlapdre***

并不是邮箱密码:

 

重新输入:应用程序密码后

 

上传成功,请忽略 Exception KeyError 错误 , 编辑 proxy.ini 把你的 appid 填进去,谢谢。

 

分享到:
评论
2 楼 sam.sheng.3 2015-05-23  
dream80 写道
是的,这个主要就是二步验证的问题,很多人不知道是为什么。都启用了二步验证,之前好像有一个教材很火,其中就说要开启两步验证验证,搞晕了一批人啊。强烈建议看看这个:http://80-80.net/thread-2524-1-1.html


不厚道!发的是广告!!
1 楼 dream80 2013-07-21  
是的,这个主要就是二步验证的问题,很多人不知道是为什么。都启用了二步验证,之前好像有一个教材很火,其中就说要开启两步验证验证,搞晕了一批人啊。强烈建议看看这个:http://80-80.net/thread-2524-1-1.html

相关推荐

    解决python多线程报错:AttributeError: Cant pickle local object问题

    报错信息: Traceback (most recent call last): File “D:/flaskProject/test.py”, line 35, in test pool.apply(self.out, args=(i,)) File “Python37-32\lib\multiprocessing\pool.py”, line 261, in apply ...

    Android代码-StatusView

    statusView.setStatus(Status.ERROR); statusView.setStatus(Status.COMPLETE); statusView.setStatus(Status.IDLE); //hide status If you want to dismiss automagically after oncomplete is called, then add ...

    简单讲解Python编程中namedtuple类的用法

    f1.age += 1 # 报错:AttributeError: can't set attribute ``` `namedtuple` 还可以很方便地转换为 `OrderedDict`,这在处理数据序列化或解析时非常有用: ```python print(f1._asdict()) # 输出:OrderedDict([...

    FormEditText文本验证提示

    There are several values you can set to the test attribute: regexp: for custom regexp numeric: for an only numeric field alpha: for an alpha only field alphaNumeric: guess what? personName: checks if...

    python防止随意修改类属性的实现方法

    v.x = 4 # 这将抛出AttributeError: can't set attribute ``` 然而,如描述中提到的,虽然`@property`阻止了直接修改`x`,但是仍然可以通过`_x`来改变`x`的值: ```python v._x = 4 print(v.x) # 输出:4 ``` ...

    基于Python Scrapy实现的蜂鸟数据采集爬虫系统 含IP代理(反爬)、日志处理和全部源代码等

    # This timeout can be set per spider using download_timeout spider attribute and per-request using download_timeout Request.meta key # 'DUPEFILTER_CLASS': "scrapy_redis.dupefilter.RFPDupeFilter",...

    python使用property和描述器来创建可管理的属性

    raise AttributeError('can not delete this attribute') ``` 除了使用`@property`,我们还可以手动创建`getter`、`setter`和`deleter`方法,并通过`property()`函数来创建`property`对象,如`Car2`类所示: ```...

    PowerCommands for Visual Studio 2008

    It can be executed from the references node, a single reference node or set of reference nodes. Paste References This command pastes a reference or set of references from the clipboard. It can be ...

    WPTools.v6.29.1.Pro

    This is only useful if ObjRef = nil and so no ObjRef.Filename can be set. + TParagraph.GetSubText now has optional parameter to disable the object reference char codes #1, #2 and #3 * ...

    Servlet查询数据库案例--Query(java源码)

    throw new ServletException("Query: can't initialize: " + e.getMessage(), e); } } /** Close the database connection when the servlet is unloaded */ public void destroy() { try { db.close()...

    考研英语高频词汇大全

    - 例句:We must abide by the rules set out by the organization. 3. **abolish** (vt.): - 废除(制度、法律等) - 例句:The government decided to abolish capital punishment. 4. **absorb** (vt.): ...

    VclZip pro v3.10.1

    You will receive an error if you do. PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS. ==================== Version ...

    IBM MQ错误码大全

    2003: Unit of work encountered fatal error or backed out.** - **含义**:工作单元遇到了致命错误或被回滚。 - **解决方案**:检查程序代码中的事务处理逻辑,确保所有操作都正确地参与了事务。 **5. 2004: ...

    arcgis工具

    Ctrl+A:方位 Ctrl+F:偏转 Ctrl+L:长度 Ctrl+D:X,Y增量 Ctrl+G:方位/长度 Ctrl+P:平行 Ctrl+E:垂直 Ctrl+T:切线 Ctrl+Delete:删除草图 F2:完成草图 F6:绝对X,Y坐标 F7:线段偏转 T:显示容限 已经输入的...

    JSP Simple Examples

    By using this method we can get more information about the error process if we print a stack trace from the exception. Runtime Errors Errors are arised when there is any logic problem with the ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    link ▶Don't use an #include when a forward declaration would suffice. When you include a header file you introduce a dependency that will cause your code to be recompiled whenever the header file ...

    python3.6.5参考手册 chm

    PEP 520: Preserving Class Attribute Definition Order PEP 468: Preserving Keyword Argument Order New dict implementation PEP 523: Adding a frame evaluation API to CPython PYTHONMALLOC environment ...

    erlanghandbook

    Erlang uses a rich set of datatypes known as terms, which include: - **Atoms**: Simple values like `true`, `false`, or any word starting with a lowercase letter. - **Numbers**: Integers and floating-...

Global site tag (gtag.js) - Google Analytics