这个错误什么意思,高人指点下。谢谢
时间:2011-03-26
来源:互联网
运行网上下来的源码。结果在日志中有出错提示,代码如下:
错误1
2011-03-26 09:52:04,592 ERROR Traceback (most recent call last):
File "D:\pthon25\c\cpp\pnl.py", line 1469, in __init_grid_rate
self.grdTable.EnableRowGridLines(0, False)
AttributeError: 'Grid' object has no attribute 'EnableRowGridLines'
错误2
File "D:\pthon25\c\cpp\pnl.py", line 3209, in clear_data_cols
if self.__danger_call_col > 4:
AttributeError: 'Cpnl' object has no attribute '_Cpnl__danger_call_col'
Grid有EnableRowGridLines这个属性吗?,我在帮助中只看到有'EnableGridLines'
错误2更看不懂...郁闷
错误1
2011-03-26 09:52:04,592 ERROR Traceback (most recent call last):
File "D:\pthon25\c\cpp\pnl.py", line 1469, in __init_grid_rate
self.grdTable.EnableRowGridLines(0, False)
AttributeError: 'Grid' object has no attribute 'EnableRowGridLines'
错误2
File "D:\pthon25\c\cpp\pnl.py", line 3209, in clear_data_cols
if self.__danger_call_col > 4:
AttributeError: 'Cpnl' object has no attribute '_Cpnl__danger_call_col'
Grid有EnableRowGridLines这个属性吗?,我在帮助中只看到有'EnableGridLines'
错误2更看不懂...郁闷
作者: solmyr117 发布时间: 2011-03-26
选择使用高质量的代码。质量不高的代码,或者文档不正确的代码,问题百出。
作者: iambic 发布时间: 2011-03-26
引用楼主 solmyr117 的回复:
运行网上下来的源码。结果在日志中有出错提示,代码如下:
错误1
2011-03-26 09:52:04,592 ERROR Traceback (most recent call last):
File "D:\pthon25\c\cpp\pnl.py", line 1469, in __init_grid_rate
self.grdTable.EnableRowGridLin……
运行网上下来的源码。结果在日志中有出错提示,代码如下:
错误1
2011-03-26 09:52:04,592 ERROR Traceback (most recent call last):
File "D:\pthon25\c\cpp\pnl.py", line 1469, in __init_grid_rate
self.grdTable.EnableRowGridLin……
应该是代码中写了EnableRowGridLines这个属性,而错误提示说Grid没有EnableRowGridLines这个属性吧
作者: chungwen_Chiang 发布时间: 2011-03-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28