[darcs-users] testing new darcsweb, patch bot

Simon Michael simon at joyful.com
Thu Aug 7 01:55:33 UTC 2008


Thanks. I have been testing some more.

I believe there was something wrong with the repo: although darcs check 
shows nothing and darcs whatsnew shows nothing, I have both 
ColorPrinter.lhs and ColourPrinter.lhs files and darcs changes shows 
history for both. I couldn't figure out its state, but if anyone cares I 
can answer more questions about it.

After getting a fresh lazy copy from darcs.net, I can successfully run 
"darcs annotate --xml-output GNUmakefile". darcsweb annotate still 
failed, but with a different error, which again I append below in case 
it's useful. I probably won't be enabling annotate though, it's a bit 
too expensive.






  /var/www/darcsweb/darcsweb.cgi in ()
  2560         else:
  2561                 phash = None
  2562         do_annotate(fname, phash, "shade")
  2563
  2564 elif action == "shortlog":
do_annotate = <function do_annotate at 0x94fe60>, fname = 
'/GNUmakefile', phash = None
  /var/www/darcsweb/darcsweb.cgi in do_annotate(fname='/GNUmakefile', 
phash=None, style='shade')
  1882 def do_annotate(fname, phash, style):
  1883         print_header()
  1884         ann = get_annotate(fname, phash)
  1885         if not ann:
  1886                 print """
ann undefined, global get_annotate = <function get_annotate at 
0x94f1b8>, fname = '/GNUmakefile', phash = None
  /var/www/darcsweb/darcsweb.cgi in get_annotate(fname='GNUmakefile', 
hash=None)
  1064         cmd += ' "%s"' % fname
  1065
  1066         return parse_annotate(run_darcs(cmd))
  1067
  1068
global parse_annotate = <function parse_annotate at 0x94f0c8>, global 
run_darcs = <function run_darcs at 0x94e488>, cmd = 'annotate 
--xml-output "GNUmakefile"'
  /var/www/darcsweb/darcsweb.cgi in parse_annotate(src=<open file 
'<fdopen>', mode 'r' at 0x950648>)
  1018                         pauthor = patch.getAttribute("author")
  1019                         pdate = patch.getAttribute("date")
  1020                         pdate = time.strptime(pdate, "%Y%m%d%H%M%S")
  1021                 else:
  1022                         # added lines inherit the creation from 
the annotate
pdate = u'Wed May 21 19:39:10 CEST 2003', global time = <module 'time' 
from '/usr/lib/python2.5/lib-dynload/time.so'>, time.strptime = 
<built-in function strptime>
  /repos/darcs/_strptime.py in strptime(data_string=u'Wed May 21 
19:39:10 CEST 2003', format='%Y%m%d%H%M%S')
   328     if not found:
   329         raise ValueError("time data did not match format: 
data=%s  fmt=%s" %
   330                          (data_string, format))
   331     if len(data_string) != found.end():
   332         raise ValueError("unconverted data remains: %s" %
data_string = u'Wed May 21 19:39:10 CEST 2003', format = '%Y%m%d%H%M%S'

<type 'exceptions.ValueError'>: time data did not match format: data=Wed 
May 21 19:39:10 CEST 2003 fmt=%Y%m%d%H%M%S
       args = (u'time data did not match format: data=Wed May 21 
19:39:10 CEST 2003 fmt=%Y%m%d%H%M%S',)
       message = u'time data did not match format: data=Wed May 21 
19:39:10 CEST 2003 fmt=%Y%m%d%H%M%S'



More information about the darcs-users mailing list