Python论坛  - 讨论区

标题:[python-chinese] 啄木鸟出问题了

2005年06月28日 星期二 14:23

cpunion cpunion at 263.net
Tue Jun 28 14:23:08 HKT 2005

看来工作做的不够啊,都加入邮件列表了,还不知道python是什么,赶紧检查一下 
主页,有没有加上个简短的介绍。

业绩 wrote:

>Steven Lu,您好!
>
>	这位大哥!能告诉我什么是python吗?
>非常感谢哦……
>
>
>
>======= 2005-06-28 12:13:45 您在来信中写道:=======
>
>  
>
>>好像恢复了吧?
>>
>>2005/6/28, cpunion <cpunion at 263.net>:
>>    
>>
>>>刚在行者堂编辑资料,保存时出现下面的页面,再打开行者堂,提示页面不存在。
>>>
>>>--> --> 
>>> 
>>> 
>>>NameErrorglobal name '_' is not definedPlease include this information in
>>>your bug reports!:
>>>Python Python 2.4: /usr/local/bin/python
>>>FreeBSD host.woodpecker.org.cn 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Aug
>>>i386
>>>MoinMoin Release 1.3.3 [Revision 1.3.3 release]
>>>Tue Jun 28 12:16:34 2005
>>>
>>>A problem occurred in a Python script. Here is the sequence of function
>>>calls leading up to the error, in the order they occurred. 
>>>
>>> /usr/local/lib/python2.4/site-packages/MoinMoin/request.py
>>>in run(self=)
>>>  809                     from MoinMoin.wikiaction import getHandler
>>>  810                     handler = getHandler(self,
>>>action)
>>>  811                     handler(self.page.page_name, self)
>>>  812 
>>>  813             # 5. Or redirect to another page
>>>handler = , self = >>>instance>, self.page = , self.page.page_name =
>>>u'WoodpeckerHacker'
>>>
>>>/usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py
>>>in do_savepage(pagename=u'WoodpeckerHacker',
>>>request=)
>>>  601         try:
>>>  602             savemsg = pg.saveText(savetext, rev,
>>>trivial=trivial,
>>>  603                                   comment=comment)
>>>  604         except pg.EditConflict, msg:
>>>  605             # Handle conflict and send editor
>>>comment = u''
>>>
>>>/usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
>>>in saveText(self=, newtext=u"----
>>>/!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
>>>edit conflict''' ----\n", rev=0, **kw={'comment': u'', 'trivial': 0})
>>>  933             
>>>  934             # write the page file
>>>  935             mtime_usecs, rev =
>>>self._write_file(newtext, action, comment, extra)
>>>  936             self.clean_acl_cache()
>>>  937   
>>>mtime_usecs undefined, rev = 0, self = >>>instance>, self._write_file = >>>>, newtext = u"---- /!\\ '''Edit
>>>conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of edit
>>>conflict''' ----\n", action = 'SAVENEW', comment = u'', extra = u''
>>>
>>>/usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
>>>in _write_file(self=, text=u"----
>>>/!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
>>>edit conflict''' ----\n", action='SAVENEW', comment=u'', extra=u'')
>>>  806         
>>>  807         if not got_lock:
>>>  808             raise self.CouldNotLock, _("Page could not get
>>>locked. Missing 'current' file?")
>>>  809         
>>>  810         # increment rev number of
>>>current(-locked) page
>>>self = , self.CouldNotLock = >>>MoinMoin.PageEditor.CouldNotLock>, _ undefined
>>>
>>>NameError: global name '_' is not defined 
>>>      __doc__ = 'Name not found globally.' 
>>>      __getitem__ = >>>> 
>>>      __init__ = >>>instance>> 
>>>      __module__ = 'exceptions' 
>>>      __str__ = >>>instance>> 
>>>      args = ("global name '_' is not defined",) 
>>>
>>>_______________________________________________
>>>python-chinese list
>>>python-chinese at lists.python.cn
>>>http://python.cn/mailman/listinfo/python-chinese
>>>
>>>
>>>
>>>      
>>>
>>-- 
>>Name:Steven Lu
>>Email:neveta at Gmail.com*
>>MSN:neveta at Gmail.com*
>>Mobile:+86 13325204605(24hours)
>>Telephone:+86 0533-3160666-4444 (8:00-18:00)    
>>               +86 0533-2715861 (18:00-21:30)
>>
>>* Please replace "at" with "@" to prevent the rubbish mail
>>* 为防止垃圾邮件,请自行将"at"替换为电邮符"@"
>>_______________________________________________
>>python-chinese list
>>python-chinese at lists.python.cn
>>http://python.cn/mailman/listinfo/python-chinese
>>
>>    
>>
>
>= = = = = = = = = = = = = = = = = = = =
>			
>
>        致
>礼!
> 
>				 
>        业绩
>        zhuangyeji at 163.com
>          2005-06-28
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
>  
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年06月28日 星期二 14:41

Zoom Quiet zoom.quiet at gmail.com
Tue Jun 28 14:41:11 HKT 2005

首页的没有!
http://wiki.woodpecker.org.cn/moin/FLOSS
中有 Python 的方方面面的中文资料汇集!!!


2005/6/28, cpunion <cpunion at 263.net>:
> 看来工作做的不够啊,都加入邮件列表了,还不知道python是什么,赶紧检查一下
> 主页,有没有加上个简短的介绍。
> 
> 业绩 wrote:
> 
> >Steven Lu,您好!
> >
> >       这位大哥!能告诉我什么是python吗?
> >非常感谢哦……
> >
> >
> >
> >======= 2005-06-28 12:13:45 您在来信中写道:=======
> >
> >
> >
> >>好像恢复了吧?
> >>
> >>2005/6/28, cpunion <cpunion at 263.net>:
> >>
> >>
> >>>刚在行者堂编辑资料,保存时出现下面的页面,再打开行者堂,提示页面不存在。
> >>>
> >>>--> -->
> >>>
> >>>
> >>>NameErrorglobal name '_' is not definedPlease include this information in
> >>>your bug reports!:
> >>>Python Python 2.4: /usr/local/bin/python
> >>>FreeBSD host.woodpecker.org.cn 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Aug
> >>>i386
> >>>MoinMoin Release 1.3.3 [Revision 1.3.3 release]
> >>>Tue Jun 28 12:16:34 2005
> >>>
> >>>A problem occurred in a Python script. Here is the sequence of function
> >>>calls leading up to the error, in the order they occurred.
> >>>
> >>> /usr/local/lib/python2.4/site-packages/MoinMoin/request.py
> >>>in run(self=)
> >>>  809                     from MoinMoin.wikiaction import getHandler
> >>>  810                     handler = getHandler(self,
> >>>action)
> >>>  811                     handler(self.page.page_name, self)
> >>>  812
> >>>  813             # 5. Or redirect to another page
> >>>handler = , self = > >>>instance>, self.page = , self.page.page_name =
> >>>u'WoodpeckerHacker'
> >>>
> >>>/usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py
> >>>in do_savepage(pagename=u'WoodpeckerHacker',
> >>>request=)
> >>>  601         try:
> >>>  602             savemsg = pg.saveText(savetext, rev,
> >>>trivial=trivial,
> >>>  603                                   comment=comment)
> >>>  604         except pg.EditConflict, msg:
> >>>  605             # Handle conflict and send editor
> >>>comment = u''
> >>>
> >>>/usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> >>>in saveText(self=, newtext=u"----
> >>>/!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
> >>>edit conflict''' ----\n", rev=0, **kw={'comment': u'', 'trivial': 0})
> >>>  933
> >>>  934             # write the page file
> >>>  935             mtime_usecs, rev =
> >>>self._write_file(newtext, action, comment, extra)
> >>>  936             self.clean_acl_cache()
> >>>  937
> >>>mtime_usecs undefined, rev = 0, self = > >>>instance>, self._write_file = > >>>>, newtext = u"---- /!\\ '''Edit
> >>>conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of edit
> >>>conflict''' ----\n", action = 'SAVENEW', comment = u'', extra = u''
> >>>
> >>>/usr/local/lib/python2.4/site-packages/MoinMoin/PageEditor.py
> >>>in _write_file(self=, text=u"----
> >>>/!\\ '''Edit conflict - other version:''' --...0Z)]]]\n\n---- /!\\ '''End of
> >>>edit conflict''' ----\n", action='SAVENEW', comment=u'', extra=u'')
> >>>  806
> >>>  807         if not got_lock:
> >>>  808             raise self.CouldNotLock, _("Page could not get
> >>>locked. Missing 'current' file?")
> >>>  809
> >>>  810         # increment rev number of
> >>>current(-locked) page
> >>>self = , self.CouldNotLock = > >>>MoinMoin.PageEditor.CouldNotLock>, _ undefined
> >>>
> >>>NameError: global name '_' is not defined
> >>>      __doc__ = 'Name not found globally.'
> >>>      __getitem__ = > >>>>
> >>>      __init__ = > >>>instance>>
> >>>      __module__ = 'exceptions'
> >>>      __str__ = > >>>instance>>
> >>>      args = ("global name '_' is not defined",)
> >>>
> >>>_______________________________________________
> >>>python-chinese list
> >>>python-chinese at lists.python.cn
> >>>http://python.cn/mailman/listinfo/python-chinese
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>Name:Steven Lu
> >>Email:neveta at Gmail.com*
> >>MSN:neveta at Gmail.com*
> >>Mobile:+86 13325204605(24hours)
> >>Telephone:+86 0533-3160666-4444 (8:00-18:00)
> >>               +86 0533-2715861 (18:00-21:30)
> >>
> >>* Please replace "at" with "@" to prevent the rubbish mail
> >>* 为防止垃圾邮件,请自行将"at"替换为电邮符"@"
> >>_______________________________________________
> >>python-chinese list
> >>python-chinese at lists.python.cn
> >>http://python.cn/mailman/listinfo/python-chinese
> >>
> >>
> >>
> >
> >= = = = = = = = = = = = = = = = = = = =
> >
> >
> >        致
> >礼!
> >
> >
> >        业绩
> >        zhuangyeji at 163.com
> >          2005-06-28
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >
> >
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 


-- 
[Time is unimportant, only life important!]

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号