2006年10月20日 星期五 04:10
下了limodou的newedit作为学习WXPY的参考,运行是出现如下信息:
Traceback (most recent call last):
  File "D:\Downloads\newedit_3.2\NewEdit.py", line 246, in ?
    App()
  File "D:\Downloads\newedit_3.2\NewEdit.py", line 103, in __init__
    self.frame.Show()
AttributeError: 'NoneType' object has no attribute 'Show'
self.frame 为什么变了 'NoneType' ?
py2.4,wxpy2.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20061020/132c9b65/attachment.htm 
2006年10月20日 星期五 09:02
On 10/20/06, Bian Alex <python.bian在gmail.com> wrote: > 下了limodou的newedit作为学习WXPY的参考,运行是出现如下信息: > > Traceback (most recent call last): > File "D:\Downloads\newedit_3.2\NewEdit.py", line 246, in > ? > App() > File "D:\Downloads\newedit_3.2\NewEdit.py", line 103, in > __init__ > self.frame.Show () > AttributeError: 'NoneType' object has no attribute 'Show' > > self.frame 为什么变了 'NoneType' ? > py2.4,wxpy2.6 1. NewEdit已经改名为UliPad了。最新版本是3.4。你可以从 http://wiki.woodpecker.org.cn/moin/UliPad 中下载最新了,建议从svn中同步,因为已经有许多改动从3.4版发布 2. 这是有错误了,可以看一下error.txt -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou 
2006年10月20日 星期五 09:08
Ulipad3.4 downloading......
error.txt
[Traceback]Traceback (most recent call last):
  File "D:\Downloads\newedit_3.2\modules\Mixin.py", line 121, in execplugin
    v = f(*args, **kwargs)
  File "D:\Downloads\newedit_3.2\mixins\Import.py", line 34, in getmainframe
    app.mainframe = frame = MainFrame(app, filenames)
  File "D:\Downloads\newedit_3.2\mixins\MainFrame.py", line 95, in __init__
    makemenu.setmenutext(self, a)
  File "D:\Downloads\newedit_3.2\modules\makemenu.py", line 175, in
setmenutext
    caption = menu.GetText() + '\t' + accel[idname][0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0:
ordinal not in range(128)
2006/10/20, limodou <limodou at gmail.com>:
>
> On 10/20/06, Bian Alex <python.bian at gmail.com> wrote:
> > 下了limodou的newedit作为学习WXPY的参考,运行是出现如下信息:
> >
> > Traceback (most recent call last):
> >   File "D:\Downloads\newedit_3.2\NewEdit.py", line 246, in
> > ?
> >     App()
> >   File "D:\Downloads\newedit_3.2\NewEdit.py", line 103, in
> > __init__
> >     self.frame.Show ()
> > AttributeError: 'NoneType' object has no attribute 'Show'
> >
> > self.frame 为什么变了 'NoneType' ?
> > py2.4,wxpy2.6
>
> 1. NewEdit已经改名为UliPad了。最新版本是3.4。你可以从
> http://wiki.woodpecker.org.cn/moin/UliPad
> 中下载最新了,建议从svn中同步,因为已经有许多改动从3.4版发布
> 2. 这是有错误了,可以看一下error.txt
>
>
> --
> I like python!
> UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
 > My Blog: http://www.donews.net/limodou
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20061020/1bce02cf/attachment.html 
2006年10月20日 星期五 09:24
On 10/20/06, Bian Alex <python.bian在gmail.com> wrote: > Ulipad3.4 downloading...... > error.txt > [Traceback]Traceback (most recent call last): > File "D:\Downloads\newedit_3.2\modules\Mixin.py", line > 121, in execplugin > v = f(*args, **kwargs) > File "D:\Downloads\newedit_3.2\mixins\Import.py", line > 34, in getmainframe > app.mainframe = frame = MainFrame(app, filenames) > File "D:\Downloads\newedit_3.2\mixins\MainFrame.py", line > 95, in __init__ > makemenu.setmenutext(self, a) > File "D:\Downloads\newedit_3.2\modules\makemenu.py", line > 175, in setmenutext > caption = menu.GetText() + '\t' + accel[idname][0] > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: > ordinal not in range(128) > 你的python什么版本? -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou 
2006年10月20日 星期五 09:25
On 10/20/06, limodou <limodou在gmail.com> wrote: > On 10/20/06, Bian Alex <python.bian在gmail.com> wrote: > > Ulipad3.4 downloading...... > > error.txt > > [Traceback]Traceback (most recent call last): > > File "D:\Downloads\newedit_3.2\modules\Mixin.py", line > > 121, in execplugin > > v = f(*args, **kwargs) > > File "D:\Downloads\newedit_3.2\mixins\Import.py", line > > 34, in getmainframe > > app.mainframe = frame = MainFrame(app, filenames) > > File "D:\Downloads\newedit_3.2\mixins\MainFrame.py", line > > 95, in __init__ > > makemenu.setmenutext(self, a) > > File "D:\Downloads\newedit_3.2\modules\makemenu.py", line > > 175, in setmenutext > > caption = menu.GetText() + '\t' + accel[idname][0] > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: > > ordinal not in range(128) > > > 你的python什么版本? > 建议你使用snapshot或svn中的版本,这块我改过的。 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou 
2006年10月20日 星期五 09:38
python2.4.2 2006/10/20, limodou <limodou at gmail.com>: > > On 10/20/06, limodou <limodou at gmail.com> wrote: > > On 10/20/06, Bian Alex <python.bian at gmail.com> wrote: > > > Ulipad3.4 downloading...... > > > error.txt > > > [Traceback]Traceback (most recent call last): > > > File "D:\Downloads\newedit_3.2\modules\Mixin.py", line > > > 121, in execplugin > > > v = f(*args, **kwargs) > > > File "D:\Downloads\newedit_3.2\mixins\Import.py", line > > > 34, in getmainframe > > > app.mainframe = frame = MainFrame(app, filenames) > > > File "D:\Downloads\newedit_3.2\mixins\MainFrame.py", line > > > 95, in __init__ > > > makemenu.setmenutext(self, a) > > > File "D:\Downloads\newedit_3.2\modules\makemenu.py", line > > > 175, in setmenutext > > > caption = menu.GetText() + '\t' + accel[idname][0] > > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position > 0: > > > ordinal not in range(128) > > > > > 你的python什么版本? > > > 建议你使用snapshot或svn中的版本,这块我改过的。 > > > -- > I like python! > UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad > My Blog: http://www.donews.net/limodou > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061020/4806e09e/attachment.htm
2006年10月20日 星期五 09:59
On 10/20/06, Bian Alex <python.bian在gmail.com> wrote: > python2.4.2 > > 我用2.4.3就不存在这个问题。不过你更新了代码更试一下吧。 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou 
2006年10月20日 星期五 10:01
snapshot的3.4出现同样错误 在06-10-20,Bian Alex <python.bian at gmail.com> 写道: > > python2.4.2 > > > > 2006/10/20, limodou <limodou at gmail.com>: > > > > On 10/20/06, limodou <limodou at gmail.com> wrote: > > > On 10/20/06, Bian Alex < python.bian at gmail.com> wrote: > > > > Ulipad3.4 downloading...... > > > > error.txt > > > > [Traceback]Traceback (most recent call last): > > > > File "D:\Downloads\newedit_3.2\modules\Mixin.py", line > > > > 121, in execplugin > > > > v = f(*args, **kwargs) > > > > File "D:\Downloads\newedit_3.2\mixins\Import.py", line > > > > 34, in getmainframe > > > > app.mainframe = frame = MainFrame(app, filenames) > > > > File "D:\Downloads\newedit_3.2\mixins\MainFrame.py", line > > > > 95, in __init__ > > > > makemenu.setmenutext(self, a) > > > > File "D:\Downloads\newedit_3.2\modules\makemenu.py", line > > > > 175, in setmenutext > > > > caption = menu.GetText() + '\t' + accel[idname][0] > > > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position > > 0: > > > > ordinal not in range(128) > > > > > > > 你的python什么版本? > > > > > 建议你使用snapshot或svn中的版本,这块我改过的。 > > > > > > -- > > I like python! > > UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad > > My Blog: http://www.donews.net/limodou > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061020/729337d5/attachment.html
2006年10月20日 星期五 10:06
On 10/20/06, Bian Alex <python.bian在gmail.com> wrote: > snapshot的3.4出现同样错误 > 很奇怪,只有很少的人出现过。不如使用英文界面得了 在UliPad目录下增加一个名为config.ini的文件,然后加入以下内容: [language] default = 这样启动就是英文界面了。有时间我装个python2.4.2试试吧。 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou 
2006年10月20日 星期五 10:40
改成英文界面,可以正常使用了,谢谢 2006/10/20, limodou <limodou at gmail.com>: > > On 10/20/06, Bian Alex <python.bian at gmail.com> wrote: > > snapshot的3.4出现同样错误 > > > 很奇怪,只有很少的人出现过。不如使用英文界面得了 > > 在UliPad目录下增加一个名为config.ini的文件,然后加入以下内容: > > [language] > default = > > 这样启动就是英文界面了。有时间我装个python2.4.2试试吧。 > > -- > I like python! > UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad > My Blog: http://www.donews.net/limodou > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061020/08d5e044/attachment.html
2006年10月20日 星期五 17:00
找到出错的原因了,我用的是ansi的wx.谢谢li兄 UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128) 在06-10-20,Bian Alex <python.bian at gmail.com> 写道: > > 改成英文界面,可以正常使用了,谢谢 > > 2006/10/20, limodou <limodou at gmail.com>: > > > > On 10/20/06, Bian Alex <python.bian at gmail.com> wrote: > > > snapshot的3.4出现同样错误 > > > > > 很奇怪,只有很少的人出现过。不如使用英文界面得了 > > > > 在UliPad目录下增加一个名为config.ini的文件,然后加入以下内容: > > > > [language] > > default = > > > > 这样启动就是英文界面了。有时间我装个python2.4.2试试吧。 > > > > -- > > I like python! > > UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad > > My Blog: http://www.donews.net/limodou > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061020/22c1bcba/attachment.htm
2006年10月20日 星期五 17:02
On 10/20/06, Bian Alex <python.bian在gmail.com> wrote: > 找到出错的原因了,我用的是ansi的wx.谢谢li兄 > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: > ordinal not in range(128) > 哦,原来如此。 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou 
Zeuux © 2025
京ICP备05028076号