Python论坛  - 讨论区

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

2005年06月28日 星期二 11:54

cpunion cpunion at 263.net
Tue Jun 28 11:54:48 HKT 2005

刚在行者堂编辑资料,保存时出现下面的页面,再打开行者堂,提示页面不存在。

--> -->
 
 
*NameError*global name '_' is not defined 	*Please 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 
<file:///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* = 
, self.*page* = 
, self.page.*page_name* = u'WoodpeckerHacker'

 /usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py 
<file:///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 
<file:///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* = 
, 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 
<file:///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* = , _ 
/undefined/

*NameError*: global name '_' is not defined
      __doc__ = 'Name not found globally.'
      __getitem__ = >
      __init__ = >
      __module__ = 'exceptions'
      __str__ = >
      args = ("global name '_' is not defined",)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050628/6187a884/attachment.html

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

2005年06月28日 星期二 12:13

Steven Lu neveta at gmail.com
Tue Jun 28 12:13:45 HKT 2005

好像恢复了吧?

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"替换为电邮符"@"

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

2005年06月28日 星期二 12:34

Zoom Quiet zoom.quiet at gmail.com
Tue Jun 28 12:34:03 HKT 2005

天!!!DX们编辑时怎么将原先的历史都清除了???



在 05-6-28,Steven Lu<neveta at gmail.com> 写道:
> 好像恢复了吧?
> 
> 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
> 
> 
> 


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

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

2005年06月28日 星期二 12:38

Zoom Quiet zoom.quiet at gmail.com
Tue Jun 28 12:38:13 HKT 2005

呜乎哀哉!!
重新定位到 WoodpeckerHackers
幸好有历史源代码…………

在 05-6-28,Zoom Quiet<zoom.quiet at gmail.com> 写道:
> 天!!!DX们编辑时怎么将原先的历史都清除了???
> 
> 在 05-6-28,Steven Lu<neveta at gmail.com> 写道:
> > 好像恢复了吧?
> >
> > 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
> >
> >
> >
> 
> --
> [Time is unimportant, only life important!]
> 


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

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

2005年06月28日 星期二 12:48

cpunion cpunion at 263.net
Tue Jun 28 12:48:48 HKT 2005

不是清除,修改了按保存就出这个错误,我们公司的WIKI也一样,我好久没用了。 
不过我们公司那个只是保存失败,没有出现页面不见的情况。

Zoom Quiet wrote:

>天!!!DX们编辑时怎么将原先的历史都清除了???
>
>
>
>在 05-6-28,Steven Lu<neveta at gmail.com> 写道:
>  
>
>>好像恢复了吧?
>>
>>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
>>
>>
>>
>>    
>>
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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日 星期二 16:15

cpunion cpunion at 263.net
Tue Jun 28 16:15:09 HKT 2005

服务器在哪啊?好像特别的慢,我使用香港的代理服务器也不行。

Zoom Quiet wrote:

>天!!!DX们编辑时怎么将原先的历史都清除了???
>
>
>
>在 05-6-28,Steven Lu<neveta at gmail.com> 写道:
>  
>
>>好像恢复了吧?
>>
>>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
>>
>>
>>
>>    
>>
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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日 星期二 16:53

Zoom Quiet zoom.quiet at gmail.com
Tue Jun 28 16:53:24 HKT 2005

北京,电信机房的服务器,
估计是南北通信的问题,
中国的电信分家后,自个儿国内到处都不通的,
估计都是领导人犯痔疮闹的………………!!!

2005/6/28, cpunion <cpunion at 263.net>:
> 服务器在哪啊?好像特别的慢,我使用香港的代理服务器也不行。
> 
> Zoom Quiet wrote:
> 
> >天!!!DX们编辑时怎么将原先的历史都清除了???
> >
> >
> >
> >在 05-6-28,Steven Lu<neveta at gmail.com> 写道:
> >
> >
> >>好像恢复了吧?
> >>
> >>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
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >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号