Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116504 - www-apps/viewcvs-0.9.3: enscript support is broken
Summary: www-apps/viewcvs-0.9.3: enscript support is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 09:18 UTC by Christian Schoenebeck
Modified: 2007-03-01 20:47 UTC (History)
2 users (show)

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


Attachments
Patch to fix broken enscript functionality in viewcvs-0.9.3 (enscript_fix.patch,1.05 KB, patch)
2006-02-08 19:48 UTC, Taylor Braun-Jones
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schoenebeck 2005-12-23 09:18:28 UTC
After enabling enscript support for syntax highlighting, I get the following error message:

Failure during use of an external program:
enscript --color --language=html -Ecpp --output - -

Python Exception Occurred
Traceback (most recent call last):
  File "/var/www/localhost/viewcvs/lib/viewcvs.py", line 2630, in run_cgi
    main()
  File "/var/www/localhost/viewcvs/lib/viewcvs.py", line 2594, in main
    view_checkout(request)
  File "/var/www/localhost/viewcvs/lib/viewcvs.py", line 1916, in view_checkout
    markup_stream(request, fp, revision, request.mime_type)
  File "/var/www/localhost/viewcvs/lib/viewcvs.py", line 663, in markup_stream
    markup_stream_enscript(lang, fp)
  File "/var/www/localhost/viewcvs/lib/viewcvs.py", line 494, in markup_stream_enscript
    enscript.write(chunk)
IOError: [Errno 32] Broken pipe

I played around with some command line options of enscript and modified viewcvs.py accordingly, but I still got a similar error message.
Comment 1 Taylor Braun-Jones 2006-02-08 19:48:58 UTC
Created attachment 79296 [details, diff]
Patch to fix broken enscript functionality in viewcvs-0.9.3
Comment 2 Christian Schoenebeck 2006-02-09 03:51:37 UTC
Yep, that patch did it for me! Thanks!
Comment 3 Christian Schoenebeck 2006-06-07 09:33:18 UTC
I wonder if this package is maintained at all? There's a patch for this bug since months and nobody added it to the Gentoo repository yet.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2006-06-07 11:29:18 UTC
I'm around, just haven't had a chance to fix this yet.
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2007-03-01 20:47:26 UTC
Fixed in www-apps/viewvc