Loading

随笔分类 -  Debug

摘要:问题分析 可能是升级或卸载了spyder依赖的包,导致spyder无法正常运行。 我升级了PyQt5,spyder要求PyQt5<5.13,而安装的最新版本为5.15,导致spyder启动时出现问题。 解决方法 打开Anaconda Prompt,执行: pip install spyder 解释: 阅读全文
posted @ 2020-07-12 16:03 GoodCoder666 阅读(175) 评论(0) 推荐(0)
摘要:最近在编一个Java游戏,处理图片时遇到如下问题: 完整错误信息 Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: input == null! at java.desktop/javax.image 阅读全文
posted @ 2020-03-29 17:39 GoodCoder666 阅读(32) 评论(0) 推荐(0)
摘要:问题 tkinter.Text调用edit_undo()和edit_redo()没反应。 问题分析 这是因为没有设置Text的undo参数为True,设置后才能“激活”edit_undo()和edit_redo()。 这个错误难发现是因为它没有报错,查了好多资料才发现…… 希望以后python官方能 阅读全文
posted @ 2020-03-24 19:37 GoodCoder666 阅读(15) 评论(0) 推荐(0)
摘要:完整错误 jsEnginScriptError: Component is not found in path "components/comp/comp.js" (using by pages/index/index); onAppRoute Error: Component is not fou 阅读全文
posted @ 2020-02-05 12:26 GoodCoder666 阅读(525) 评论(0) 推荐(0)
摘要:因为仅有onPullDownRefresh是不行的,需要配置: 如果是单个页面需要onPullDownRefresh,在对应页面的json文件中设置"enablePullDownRefresh": true,如: { "backgroundTextStyle": "light", "navigati 阅读全文
posted @ 2020-02-04 13:10 GoodCoder666 阅读(616) 评论(0) 推荐(0)
摘要:报错: -501007 invalid parameters | errMsg: Invalid Key Name: _openid 原因: 不能设置_openid,它是云服务器根据用户的openID自动设置的 解决: 不要设置openID 错误代码 wx.cloud.database().coll 阅读全文
posted @ 2020-02-03 21:07 GoodCoder666 阅读(96) 评论(0) 推荐(0)
摘要:wx.showToast({ title: '成功', icon: 'fail', duration: 2000, success: func }) wx.showToast({ title: '成功', icon: 'fail', duration: 2000, success: res => { 阅读全文
posted @ 2020-02-02 15:43 GoodCoder666 阅读(33) 评论(0) 推荐(0)
摘要:错误 Uncaught (in promise) thirdScriptError errCode: -401003 api parameter type error | errMsg: parameter.data should be object instead of undefined; Er 阅读全文
posted @ 2020-02-02 11:17 GoodCoder666 阅读(100) 评论(0) 推荐(0)