Re: Trouble with viewsvn diff views



On Mon, 2007-04-30 at 11:32 +0200, Tshepang Lekhonkhobe wrote:
When trying to viewcvs diffs like:

http://svn.gnome.org/viewcvs/tracker/trunk/src/trackerd/trackerd.c?limit_changes=100&r1=563&r2=564&pathrev=564

I get the following error:

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
File "/var/www/viewcvs-web/lib/viewvc.py", line 3833, in main
request.run_viewvc()
File "/var/www/viewcvs-web/lib/viewvc.py", line 392, in run_viewvc
self.view_func(self)
File "/var/www/viewcvs-web/lib/viewvc.py", line 2880, in view_diff
fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options)
File "/var/www/viewcvs-web/lib/vclib/svn/__init__.py", line 641, in rawdiff
return vclib._diff_fp(temp1, temp2, info1, info2, self.diff_cmd, args)
File "/var/www/viewcvs-web/lib/vclib/__init__.py", line 265, in __init__
self.fp = popen.popen(diff_cmd, args, "r")
File "/var/www/viewcvs-web/lib/popen.py", line 79, in popen
sys.stdout.flush()
File "/var/www/viewcvs-web/lib/sapi.py", line 108, in flush
self.server.flush()
File "/var/www/viewcvs-web/lib/sapi.py", line 83, in __getattr__
return getattr(self.self(), key)
File "/var/www/viewcvs-web/lib/sapi.py", line 80, in self
return self.__dict__['servers'][thread.get_ident()]
KeyError: 1174452576

I haven't tried any other browser but Epiphany. Please confirm that
you get the same problem.

I occasionally see this happen. Generally, if I wait about
five seconds and do a Shift+reload, the problem goes away.
I have no idea what causes it.

--
Shaun


_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



Relevant Pages

  • Re: Trouble with viewsvn diff views
    ... An Exception Has Occurred ... Traceback: ... KeyError: 1174452576 ... I haven't tried any other browser but Epiphany. ...
    (GNOME)
  • Trouble with viewsvn diff views
    ... When trying to viewcvs diffs like: ... An Exception Has Occurred ... Traceback: ... I haven't tried any other browser but Epiphany. ...
    (GNOME)
  • Re: File handling: The easy and the hard way
    ... An error could happen and no traceback may result. ... from the developer only when they absolutely need it. ... >> exception is nothing to be concerned with, ... > reasons in a manner acceptable to average users. ...
    (comp.lang.python)
  • Re: File handling: The easy and the hard way
    ... A traceback is not an error message. ... > you're trying to write data to a data file, ... > You're not going to be able to catch every exception - not meaningfully, ...
    (comp.lang.python)
  • Re: Prepending to traceback
    ... Replace system exception hook with your on function that gets ... # Get traceback lines and append the current session log ... > PyParsing, line 5, in SomeStatement ...
    (comp.lang.python)