Comment 0 for bug 1674195

Revision history for this message
Florent Gallaire (fgallaire) wrote :

[flext@web99 tb]$ python2.7 ../BZRR/fix-gmtime/bzr log --timezone local
bzr: ERROR: exceptions.ValueError: timestamp out of range for platform time_t

Traceback (most recent call last):
  File "/home/flext/BZRR/fix-gmtime/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/commands.py", line 1138, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/builtins.py", line 2893, in run
    Logger(b, rqst).show(lf)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/log.py", line 382, in show
    self._show_body(lf)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/log.py", line 412, in _show_body
    lf.log_revision(lr)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/log.py", line 1570, in log_revision
    lines.append('timestamp: %s' % (self.date_string(revision.rev),))
  File "/home/flext/BZRR/fix-gmtime/bzrlib/log.py", line 1538, in _date_string_with_timezone
    self.show_timezone)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/osutils.py", line 859, in format_date
    _format_date(t, offset, timezone, date_fmt, show_offset)
  File "/home/flext/BZRR/fix-gmtime/bzrlib/osutils.py", line 919, in _format_date
    tt = datetime.fromtimestamp(t)
ValueError: timestamp out of range for platform time_t

bzr 2.8.0dev1 on python 2.7.12 (Linux-2.6.18-416.el5PAE-i686-with-
    redhat-5.11-Final)
arguments: ['../BZRR/fix-gmtime/bzr', 'log', '--timezone', 'local']
plugins: bash_completion[2.8.0dev1], changelog_merge[2.8.0dev1],
    grep[2.8.0dev1], launchpad[2.8.0dev1], netrc_credential_store[2.8.0dev1],
    news_merge[2.8.0dev1], po_merge[2.8.0dev1], weave_fmt[2.8.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'