Re: Russian wiki

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have to update pages twice now to see its content.

--> -->
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line 1207, in run
    handler(self.page.page_name, self)
  File "/var/www/html/wiki.centos.org/wiki_instance/data/plugin/action/show.py", line 27, in execute
    if not request.user.may.read(pagename):
  File "/usr/lib/python2.6/site-packages/MoinMoin/security.py", line 111, in _getPermission
    allowed = self.request.cfg.acl_before.may(self.request, self.user.name, self._right)
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikiacl.py", line 178, in may
    is_group_member = request.dicts.has_member
  File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line 298, in getDicts
    dicts.scandicts()
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 374, in scandicts
    self.addgroup(request, pagename)
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 292, in addgroup
    grp =  Group(request, groupname)
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 48, in __init__
    self.initRegex()
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 57, in initRegex
    cls.regex = re.compile(cls.regex, re.MULTILINE | re.UNICODE)
  File "/usr/lib64/python2.6/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib64/python2.6/re.py", line 238, in _compile
    raise ValueError('Cannot process flags argument with a compiled pattern')
ValueError: Cannot process flags argument with a compiled pattern

Additionally cgitb raised this exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 146, in handle
    handler.handle()
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 566, in handle
    doc = view.format(formatter, self.context)
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 343, in format
    return formatter.section(self.formatContent(), {'class': 'cgitb'})
  File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 38, in formatContent
    self.formatDebugInfo(),
  File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 83, in formatDebugInfo
    self.formatTraceback(),
  File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 96, in formatTraceback
    return self.formatAllTracebacks(self.formatOneTraceback)
  File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 108, in formatAllTracebacks
    tracebacks.append(formatFuction((type, value, tb)))
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 423, in formatOneTraceback
    self.formatter.orderedList(self.tracebackFrames(info),
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 434, in tracebackFrames
    frames.append(frame.format(self.formatter))
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 197, in format
    vars, highlight = self.scan()
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 286, in scan
    vars = self.scanVariables(reader)
  File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py", line 298, in scanVariables
    value = getattr(parent, token, __UNDEF__)
  File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line 298, in getDicts
    dicts.scandicts()
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 374, in scandicts
    self.addgroup(request, pagename)
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 292, in addgroup
    grp =  Group(request, groupname)
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 48, in __init__
    self.initRegex()
  File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line 57, in initRegex
    cls.regex = re.compile(cls.regex, re.MULTILINE | re.UNICODE)
  File "/usr/lib64/python2.6/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib64/python2.6/re.py", line 238, in _compile
    raise ValueError('Cannot process flags argument with a compiled pattern')
ValueError: Cannot process flags argument with a compiled pattern
Refreshing page helps to render it correctly.

2015-08-23 0:18 GMT+06:00 Ilyas Arinov <arinov.ilyas@xxxxxxxxx>:
I am not sure, but ru section fails to load now. Last changes was translating SIG section. Please, help to fix this issue.

2015-08-22 21:24 GMT+06:00 Ilyas Arinov <arinov.ilyas@xxxxxxxxx>:
Thanks. Now I can do it by myself.

2015-08-22 19:43 GMT+06:00 Alan Bartlett <ajb@xxxxxxxxxx>:
On 22 August 2015 at 14:37, Akemi Yagi <amyagi@xxxxxxxxx> wrote:
> On Sat, Aug 22, 2015 at 5:19 AM, Ilyas Arinov <arinov.ilyas@xxxxxxxxx> wrote:
>> Hello.
>>
>> Can you help me please with Download, Search, SIG, Promote, Donate and About
>> pages. Just like you do before with copying English pages to ru section.
>
> You can help yourself. Here's how.
>
> For example, suppose you want work on the Download page, you can see
> the raw text of that page by:
>
> https://wiki.centos.org/Download?action="">
>
> Copy the content from there. Then create your ru page by:
>
>
https://wiki.centos.org/ru/Download?action="">
>
> and paste the saved content there (except for the #acl line).
>
> Let me know if you encounter any issue.
>
> Akemi

I have already initialised the ru/Download and the ru/Search pages.

As Akemi has now explained how to copy across the raw text from the
English pages to the ru/ wiki section, I'll leave the rest for you as
an experiment.

Alan.



_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-docs

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux