--> -->

ValueError

(75, 'Value too large for defined data type')

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. /usr/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_show>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'EventStats/HitCounts'
  2. /usr/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestCGI object>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'EventStats/HitCounts'
    • ).send_page undefined
    • count_hit undefined
  3. /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})

    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 = 7
  4. /usr/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'[[StatsChart(hitcounts)]]\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    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 ? at 0x2b93c2f998f0, file "EventStats/HitCounts", line 2>
  5. /usr/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 ? at 0x2b93c2f998f0, file "EventStats/HitCounts", 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 ? at 0x2b93c2f998f0, file "EventStats/HitCounts", line 2>
  6. /var/www/vhosts/openservo.org/httpdocs/EventStats/HitCounts in ?

  7. /usr/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'StatsChart', args=u'hitcounts')

    1. 288 def macro(self, macro_obj, name, args):
    2. 289 # call the macro
    3. 290 return macro_obj.execute(name, args)
    4. 291
    5. 292 def _get_bang_args(self, line):
    • macro_obj = <MoinMoin.wikimacro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
    • name = u'StatsChart'
    • args = u'hitcounts'
  8. /usr/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'StatsChart', args=u'hitcounts')

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = u'hitcounts'
  9. /usr/lib/python2.4/site-packages/MoinMoin/macro/StatsChart.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=u'hitcounts', **kw={})

    1. 29 formatter.text(_('Bad chart type "%s"!') % args) +
    2. 30 formatter.sysmsg(0))
    3. 31
    4. 32 return func(macro.formatter.page.page_name, macro.request)
    5. 33
    • func = <function linkto>
    • macro = <MoinMoin.wikimacro.Macro instance>
    • macro.formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • macro.formatter.page = <MoinMoin.Page.Page instance>
    • macro.formatter.page.page_name = u'EventStats/HitCounts'
    • macro.request = <MoinMoin.request.RequestCGI object>
  10. /usr/lib/python2.4/site-packages/MoinMoin/stats/hitcounts.py in linkto (pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestCGI object>, params='')

    1. 27 if not request.cfg.chart_options:
    2. 28 request.formatter = Formatter(request)
    3. 29 return text(pagename, request, params)
    4. 30
    5. 31 if _debug:
    • global text = <function text>
    • pagename = u'EventStats/HitCounts'
    • request = <MoinMoin.request.RequestCGI object>
    • params = ''
  11. /usr/lib/python2.4/site-packages/MoinMoin/stats/hitcounts.py in text (pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestCGI object>, params='')

    1. 147 filterpage = request.form['page'][0]
    2. 148
    3. 149 days, views, edits = get_data(pagename, request, filterpage)
    4. 150
    5. 151 hits = TupleDataset()
    • days undefined
    • views undefined
    • edits undefined
    • global get_data = <function get_data>
    • pagename = u'EventStats/HitCounts'
    • request = <MoinMoin.request.RequestCGI object>
    • filterpage = None
  12. /usr/lib/python2.4/site-packages/MoinMoin/stats/hitcounts.py in get_data (pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestCGI object>, filterpage=None)

    1. 91 if filterpage and eventpage != filterpage:
    2. 92 continue
    3. 93 time_tuple = request.user.getTime(wikiutil.version2timestamp(event[0]))
    4. 94 day = tuple(time_tuple[0:3])
    5. 95 if day != ratchet_day:
    • time_tuple = (2011, 12, 28, 4, 7, 54, 2, 362, 0)
    • request = <MoinMoin.request.RequestCGI object>
    • request.user = <MoinMoin.user.User at 0x2b93c2bf90e0 name:'' id:1337414737.81.10902 valid:0>
    • request.user.getTime = <bound method User.getTime of <MoinMoin.user.Use...c2bf90e0 name:'' id:1337414737.81.10902 valid:0>>
    • global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/python2.4/site-packages/MoinMoin/wikiutil.pyc'>
    • wikiutil.version2timestamp = <function version2timestamp>
    • event = (132496541325045274175868L, u'VIEWPAGE', {'HTTP_REFERER': u'http://www1.baidu.com/s?cl=3&wd=openservo&tn=ubuntuu_cb', 'HTTP_USER_AGENT': u'Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0', 'REMOTE_ADDR': u'122.194.2.83', 'pagename': u'StepByStep'})
  13. /usr/lib/python2.4/site-packages/MoinMoin/user.py in getTime (self=<MoinMoin.user.User at 0x2b93c2bf90e0 name:'' id:1337414737.81.10902 valid:0>, tm=1.3249654132504528e+17)

    1. 534 @return: tm tuple adjusted for user's timezone
    2. 535 """
    3. 536 return timefuncs.tmtuple(tm + self.tz_offset)
    4. 537
    5. 538
    • global timefuncs = <module 'MoinMoin.util.timefuncs' from '/usr/lib...on2.4/site-packages/MoinMoin/util/timefuncs.pyc'>
    • timefuncs.tmtuple = <function tmtuple>
    • tm = 1.3249654132504528e+17
    • self = <MoinMoin.user.User at 0x2b93c2bf90e0 name:'' id:1337414737.81.10902 valid:0>
    • self.tz_offset = 0
  14. /usr/lib/python2.4/site-packages/MoinMoin/util/timefuncs.py in tmtuple (tmsecs=1.3249654132504528e+17)

    1. 19 if -86400 <= tmsecs <= 86400: # if we are around 0, we maybe had
    2. 20 tmsecs = 0 # 0 initially, so reset it to 0.
    3. 21 return time.gmtime(tmsecs or time.time())
    4. 22
    5. 23 def formathttpdate(tmsecs=None):
    • global time = <module 'time' from '/usr/lib64/python2.4/lib-dynload/timemodule.so'>
    • time.gmtime = <built-in function gmtime>
    • tmsecs = 1.3249654132504528e+17
    • time.time = <built-in function time>

ValueError

(75, 'Value too large for defined data type')

  • args = (75, 'Value too large for defined data type')

System Details

  • Date: Sat, 19 May 2012 08:05:48 +0000
  • Platform: Linux s15236456.onlinehome-server.info 2.6.18-028stab099.3 #1 SMP Wed Mar 7 15:20:22 MSK 2012 x86_64
  • Python: Python 2.4.3 (/usr/bin/python)
  • MoinMoin: Release 1.5.7 (release)