免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1989 | 回复: 2
打印 上一主题 下一主题

哪位兄弟玩过 pyshell0.91a [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-05 12:59 |只看该作者 |倒序浏览
http://pyshell.sourceforge.net/

看起来不错,但是在WINDOWS 下却无法运行
下面的错误:

  1. Welcome to PyShell (loading sitewide init script)
  2. Exception exceptions.AttributeError: "'_echo' object has no attribute '_child_cr
  3. eated'" in <bound method _echo.__del__ of <ps_builtins._echo object at 0x00CB62F
  4. 0>> ignored
  5. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  6. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00CB
  7. 6750>> ignored
  8. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  9. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00D5
  10. 2570>> ignored
  11. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  12. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00CB
  13. 60D0>> ignored
  14. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  15. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00CB
  16. 6750>> ignored
  17. Hi, wmjie (loading user init script) ... Info:  Pyshell 0.91 (Python: 2.5.2)

  18. Exception exceptions.AttributeError: "'_echo' object has no attribute '_child_cr
  19. eated'" in <bound method _echo.__del__ of <ps_builtins._echo object at 0x00D527B
  20. 0>> ignored

  21.   Error:  [Error 2] : 'test'

  22. Exception exceptions.AttributeError: "'_ver' object has no attribute '_child_cre
  23. ated'" in <bound method _ver.__del__ of <ps_builtins._ver object at 0x00D52590>>
  24. ignored
  25. Exception exceptions.AttributeError: "'_cd' object has no attribute '_child_crea
  26. ted'" in <bound method _cd.__del__ of <ps_builtins._cd object at 0x00CB6750>> ig
  27. nored
  28. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  29. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00D5
  30. 2890>> ignored
  31. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  32. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00CB
  33. 60D0>> ignored
  34. DONE
  35. Exception exceptions.AttributeError: "'_alias' object has no attribute '_child_c
  36. reated'" in <bound method _alias.__del__ of <ps_builtins._alias object at 0x00CB
  37. 63F0>> ignored
  38. wmjie@FB:~>
复制代码


在linux下需要 module-readline 哪位大侠知道这个module 去哪里搞啊?

论坛徽章:
0
2 [报告]
发表于 2008-08-05 21:22 |只看该作者

论坛徽章:
0
3 [报告]
发表于 2008-08-06 09:42 |只看该作者
谢谢楼上的兄弟.

WIN的问题已经解决了.
只要在 cmdbase.py 里面增加一个
    def _child_created(self):
            pass

就可以了.

但是linux下的 readline 还是没有办法.
不过FREEBSD下面就没有问题.....
郁闷~~~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP