1と2のリビジョン間の差分

削除された箇所はこのように表示されます。 追加された箇所はこのように表示されます。
行 107: 行 107:
= システムレベルでのタイムゾーンの設定 =

環境変数"{{{TZ}}}"を設定せずとも、システムレベルでのタイムゾーンを設定する場合、以下のようにする。

例えばJSTに設定する場合、デフォルトのタイムゾーン情報ファイルをJSTのものに置き換える。
{{{
cp /usr/share/zoneinfo/Japan /etc/localtime
}}}

次いでシステム設定ファイル"{{{/etc/sysconfig/clock}}}"でタイムゾーンを指定する。

{{{
ZONE="Asia/Tokyo"
}}}

再起動後、システムが認識するタイムゾーンがJSTに変更される。
--> -->

TypeError

'dict' object is not callable

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1170 self.page.send_page(self, msg=msg)
    2. 1171 else:
    3. 1172 handler(self.page.page_name, self)
    4. 1173
    5. 1174 # generate page footer (actions that do not want this footer use
    • handler = <function do_diff>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'CentOS'
  2. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_diff (pagename=u'CentOS', request=<MoinMoin.request.RequestCGI object>)

    1. 170 from MoinMoin.util.diff import diff
    2. 171 request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body()))
    3. 172 newpage.send_page(request, count_hit=0, content_only=1, content_id="content-below-diff")
    4. 173 else:
    5. 174 lines = wikiutil.linediff(oldpage.getlines(), newpage.getlines())
    • newpage = <MoinMoin.Page.Page instance>
    • newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • count_hit undefined
    • content_only undefined
    • content_id undefined
  3. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'content_id': 'content-below-diff', 'content_only': 1, 'count_hit': 0})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 0
  4. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'[[TableOfContents(1)]]\n\n= \u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u307e\u307e\u4f7f\u3046\u8a2d\u5b9a =\n{{{/e...\n\n\u518d\u8d77\u52d5\u5f8c\u3001\u30b7\u30b9\u30c6\u30e0\u304c\u8a8d\u8b58\u3059\u308b\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u304cJST\u306b\u5909\u66f4\u3055\u308c\u308b\u3002\n\n----\n\u30ab\u30c6\u30b4\u30ea\u30fc\uff1a\u6280\u8853\n', format_args='', do_cache=1, **kw={'start_line': 0})

    1. 1345 try:
    2. 1346 code = self.loadCache(request)
    3. 1347 self.execute(request, parser, code)
    4. 1348 except Exception, e:
    5. 1349 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object <module> at 0x803b8a830, file "CentOS", line 2>
  5. /home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object <module> at 0x803b8a830, file "CentOS", line 2>)

    1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1375 try:
    3. 1376 exec code
    4. 1377 except 'CacheNeedsUpdate':
    5. 1378 raise Exception('CacheNeedsUpdate')
    • code = <code object <module> at 0x803b8a830, file "CentOS", line 2>
  6. /home/osakichi/www/CentOS in ()

TypeError

'dict' object is not callable

  • args = ("'dict' object is not callable",)
  • message = "'dict' object is not callable"

System Details

  • Date: Sun, 28 Apr 2024 20:52:51 +0000
  • Platform: FreeBSD www612.sakura.ne.jp 11.2-RELEASE-p15 FreeBSD 11.2-RELEASE-p15 #0: Fri Aug 19 12:13:37 JST 2022 root@www3666.sakura.ne.jp:/usr/obj/home/pkg/src/sys/GENERIC amd64
  • Python: Python 2.7.18 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.7 (release)