adamklump12 / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

gource does not run with a very recent Hg from selenic.com #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install a reasonably current Mercurial from selenic.com
2. Install gource from MacPorts (0.23)
3. gource in the Mercurial source code repository you have cloned

What is the expected output? What do you see instead?
Fails with the following backtrace:

-----
495 [17:02] roberto@roberto-al:UP/hg-current>  gource     
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 1.4.2+6-1139fcfeaeda)
** Extensions loaded: mq, patchbomb, record, keyword, alias, transplant,
graphlog, convert, fetch, pbranch, hgshelve
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python/mercurial/dispatch.py", line 30, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python/mercurial/dispatch.py", line 46, in _runcatch
    return _dispatch(ui, args)
  File "/usr/local/lib/python/mercurial/dispatch.py", line 464, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/local/lib/python/mercurial/dispatch.py", line 334, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python/mercurial/dispatch.py", line 515, in _runcommand
    return checkargs()
  File "/usr/local/lib/python/mercurial/dispatch.py", line 469, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python/mercurial/dispatch.py", line 463, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/local/lib/python/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python/mercurial/extensions.py", line 116, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/local/lib/python/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python/hgext/graphlog.py", line 364, in graph
    return orig(*args, **kwargs)
  File "/usr/local/lib/python/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python/mercurial/commands.py", line 2067, in log
    for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep):
  File "/usr/local/lib/python/mercurial/cmdutil.py", line 1108, in iterate
    prepare(ctx, fns)
  File "/usr/local/lib/python/mercurial/commands.py", line 2065, in prep
    displayer.show(ctx, copies=copies)
  File "/usr/local/lib/python/mercurial/cmdutil.py", line 662, in show
    self._show(ctx, copies, props)
  File "/usr/local/lib/python/mercurial/cmdutil.py", line 844, in _show
    self.ui.write(templater.stringify(self.t(key, **props)))
  File "/usr/local/lib/python/mercurial/templatefilters.py", line 14, in
stringify
    return "".join([stringify(t) for t in thing if t is not None])
  File "/usr/local/lib/python/mercurial/util.py", line 220, in increasingchunks
    for chunk in source:
  File "/usr/local/lib/python/mercurial/templater.py", line 60, in process
    item = iters[0].next()
  File "/usr/local/lib/python/mercurial/util.py", line 220, in increasingchunks
    for chunk in source:
  File "/usr/local/lib/python/mercurial/templater.py", line 60, in process
    item = iters[0].next()
  File "/usr/local/lib/python/mercurial/templater.py", line 133, in _process
    yield self._filter(expr, get, map)
  File "/usr/local/lib/python/mercurial/templater.py", line 103, in _filter
    return self.cache[expr](get)
  File "/usr/local/lib/python/mercurial/templater.py", line 98, in apply
    x = get(val)
  File "/usr/local/lib/python/mercurial/templater.py", line 113, in get
    v = v(**map)
TypeError: showdate() takes exactly 3 non-keyword arguments (0 given)
Gource v0.23
Usage: gource [OPTIONS] [PATH]

Options:
  -h, --help                       Help

  -WIDTHxHEIGHT                    Set window size
  -f                               Fullscreen

  -p, --start-position POSITION    Begin at some position in the log (0.0-1.0)
      --stop-position  POSITION    Stop at some position
      --stop-on-idle               Stop on break in activity
      --stop-at-end                Stop at end of the log
      --loop                       Loop at the end of the log

  -a, --auto-skip-seconds SECONDS  Auto skip to next entry if nothing happens
                                   for a number of seconds (default: 3)
  -s, --seconds-per-day SECONDS    Speed in seconds per day (default: 4)
      --realtime                   Realtime playback speed
  -i, --file-idle-time SECONDS     Time files remain idle (default: 60)
  -e, --elasticity FLOAT           Elasticity of nodes
  -b, --background FFFFFF          Background colour in hex

  --user-image-dir DIRECTORY       Dir containing images to use as avatars
  --default-user-image IMAGE       Default user image file
  --colour-images                  Colourize user images

  --date-format FORMAT     Specify display date string (strftime format)
  --log-format  FORMAT     Specify format of log (git,cvs,custom)
  --git-branch             Get the git log of a particular branch
  --git-log-command        Show git log command used by gource
  --cvs-exp-command        Show cvs-exp.pl log command used by gource
  --hg-log-command         Show hg log (Mercurial) command used by gource

  --multi-sampling         Enable multi-sampling
  --crop AXIS              Crop view on an axis (vertical,horizontal)

  --bloom-multiplier       Adjust the amount of bloom (default: 1.0)
  --bloom-intensity        Adjust the intensity of the bloom (default: 0.75)

  --disable-auto-skip      Disable auto skipping
  --disable-progress       Disable the progress bar
  --disable-bloom          Disable bloom effect

  --hide-users             Hide users
  --hide-tree              Hide the tree
  --hide-files             Hide files
  --hide-usernames         Hide usernames
  --hide-filenames         Hide filenames
  --hide-dirnames          Hide directory names
  --hide-date              Hide the date

  --max-files NUMBER       Max number of active files (default: 1000)
  --max-file-lag SECONDS   Max time files of a commit can take to appear

  --max-user-speed UNITS   Speed users can travel per second (default: 500)

  --user-friction SECONDS  Time users come to a complete hault (default: 0.67)
  --user-scale SCALE       Change scale of users (default: 1.0)

  --follow-user USER       Camera will automatically follow this user
  --highlight-user USER    Highlight the names of a particular user
  --highlight-all-users    Highlight the names of all users
  --file-filter REGEX      Ignore files matching this regexe

  --output-ppm-stream FILE Write frames as PPM to a file ('-' for STDOUT)
  --output-framerate FPS   Framerate of output (25,30,60)

PATH may be a Git or Mercurial directory, a log file or '-' to read STDIN.
If ommited, gource will attempt to generate a log from the current directory.

-----

What version of the product are you using? On what operating system?
0.23 from MacPorts

** Mercurial Distributed SCM (version 1.4.2+6-1139fcfeaeda)
** Extensions loaded: mq, patchbomb, record, keyword, alias, transplant,
graphlog, convert, fetch, pbranch, hgshelve

Please provide any additional information below.

Original issue reported on code.google.com by kel...@gmail.com on 18 Jan 2010 at 4:06

GoogleCodeExporter commented 8 years ago
Tested it with hg 1.6 and it seems to work.

Original comment by acaudw...@gmail.com on 9 Jul 2010 at 2:27