Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25837 - ViewCVS outputs a traceback when attemping to highlight a .py file
Summary: ViewCVS outputs a traceback when attemping to highlight a .py file
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: [OLD] CVS repository (show other bugs)
Hardware: All Linux
: High major
Assignee: Kurt Lieber (RETIRED)
URL: http://www.gentoo.org/cgi-bin/viewcvs...
Whiteboard:
Keywords:
: 25841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-03 16:05 UTC by Jason A. Mobarak (RETIRED)
Modified: 2003-10-18 14:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason A. Mobarak (RETIRED) gentoo-dev 2003-08-03 16:05:22 UTC
When trying to view my projects via ViewCVS the the "view" option produces a
traceback such as this one:

Python Exception Occurred

Traceback (most recent call last):
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 2625, in run_cgi
    main()
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 2589, in main
    view_checkout(request)
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 1914, in view_checkout
    markup_stream(request, fp, revision, request.mime_type)
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 662, in markup_stream
    markup_stream_enscript(lang, fp)
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 501, in markup_stream_enscript
    enscript.close()
  File "/home/httpd/viewcvs/lib/popen.py", line 180, in close
    self.file.close()
IOError: [Errno 32] Broken pipe

This happens on every revision entry in cvs.

Reproducible: Always
Steps to Reproduce:
1. Go to the "aether" module in viewcvs
2. Select view for any revision

Actual Results:  
A python traceback is spit out at me.

Expected Results:  
Highlighted the revision.
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2003-08-03 16:16:06 UTC
For highlightning a python file viewcvs needs a plugin for enscript.  Check out http://viewcvs.sourceforge.net/#Colorize for further instructions.

This is a task for the infrastructure-team.  May the bug-wranglers reassign it to the right person (I think tigger has access to the servers)?
Comment 2 Jason A. Mobarak (RETIRED) gentoo-dev 2003-08-03 17:48:54 UTC
*** Bug 25841 has been marked as a duplicate of this bug. ***
Comment 3 Axxackall 2003-08-11 11:50:39 UTC
I've fixed that problem in my recent ebuild (0.9.2-r2), which tarball is attached
Comment 4 Axxackall 2003-08-11 12:05:49 UTC
actuall attachment is in the bug # 16501.
Comment 5 Kurt Lieber (RETIRED) gentoo-dev 2003-10-18 14:29:16 UTC
should be fixed now.