Re: [viewvc-users] viewvc highlight with pygments

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 09/14/2011 10:14 AM, Alon Bar-Lev wrote:
> Hello,
> 
> I am trying to use viewvc-1.1.11 with Pygments-1.4 and failing!
> 
> To reduce the noise I am using viewvc as standalone server installed
> directly from the tarball.
> 
> Using strace I can see that some files of pygments are accessed successfully.
> 
> I don't see any log for viewvc so it is difficult for me to specify
> more information.
> 
> Can anyone help, it should work out of the box, right?

I suppose that depend on which box you're pulling from.  :-)

Are you running a ViewVC installed from the source distribution, or
something pulled in via your server's package management system?  Our
Pygments integration uses MIME types to determine what kind of syntax to
expect in the given file -- are you making use of a MIME types mapping file
(the 'mime_types_files' configuration option) or have Subversion's
svn:mime-type property set on the files in question?

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2838519

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk5wzXIACgkQokEGqRcG/W4GIgCeLv7iUYgds5HeTv8gpxHfhSP2
h4UAn2xrqUvEVM3P2z/fL8BFfyE3wUxJ
=Jady
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.