Re: gitweb problem

Stephen Watson <[email protected]> Mon, 27 Sep 2010 17:45:40 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
Thomas Leonard <[email protected]> wrote:

> On 25 September 2010 10:45, Stephen Watson <[email protected]>
wrote:
> > I don't like git, and git doesn't like me, but we're using it for
ROX-Filer
> > and ROX-Lib so I have to deal with it.  The problem is since I switched
to a
> > 64 bit machine gitweb has stopped working.  If you go to
> > http://kerofin.demon.co.uk/git/gitweb.cgi you'll find no projects
listed,
> > but I know there should be two.
> 
> You could try setting the environment variable GIT_TRACE=1 (or 2).
> That sometimes shows what's going on. Otherwise, strace it?

GIT_TRACE doesn't seem to be much help:

GIT_TRACE=2 /usr/share/git-web/gitweb.cgi 
trace: built-in: git 'version'
Status: 200 OK
Content-Type: text/html; charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 1.6.4.2, (C) 2005-2006, Kay Sievers
<[email protected]>, Christian Gierke -->
<!-- git core binaries version 1.6.4.2 -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="gitweb/1.6.4.2 git/1.6.4.2"/>
<meta name="robots" content="index, nofollow"/>
<title>Untitled Git</title>
<link rel="stylesheet" type="text/css" href="gitweb.css"/>
<link rel="alternate" title="Untitled Git projects list"
href="?a=project_index" type="text/plain; charset=utf-8" />
<link rel="alternate" title="Untitled Git projects feeds" href="?a=opml"
type="text/x-opml" />
<link rel="shortcut icon" href="git-favicon.png" type="image/png" />
</head>
<body>
<div class="page_header">
<a title="git homepage" href="http://git-scm.com/"><img src="git-logo.png"
width="72" height="27" alt="git" class="logo"/></a><a href="/">projects</a>
/ </div>
<form method="get" action="http://localhost"
enctype="application/x-www-form-urlencoded">
<p class="projsearch">Search:
<input type="text" name="s"  />
</p>
</form>
fatal: Not a git repository: '/srv/git/rox-lib'
fatal: Not a git repository: '/srv/git/rox-filer'
<table class="project_list">
<tr>
<th>Project</th>
<th><a class="header" href="?o=descr">Description</a></th>
<th><a class="header" href="?o=owner">Owner</a></th>
<th><a class="header" href="?o=age">Last Change</a></th>
<th></th>
</tr>
</table>
<div class="page_footer">
<a class="rss_logo" href="?a=opml">OPML</a> <a class="rss_logo"
href="?a=project_index">TXT</a>
</div>
</body>
</html>

GIT_TRACE=2 perl /usr/share/git-web/gitweb.cgi 
trace: built-in: git 'version'
Status: 200 OK
Content-Type: text/html; charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 1.6.4.2, (C) 2005-2006, Kay Sievers
<[email protected]>, Christian Gierke -->
<!-- git core binaries version 1.6.4.2 -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="gitweb/1.6.4.2 git/1.6.4.2"/>
<meta name="robots" content="index, nofollow"/>
<title>Untitled Git</title>
<link rel="stylesheet" type="text/css" href="gitweb.css"/>
<link rel="alternate" title="Untitled Git projects list"
href="?a=project_index" type="text/plain; charset=utf-8" />
<link rel="alternate" title="Untitled Git projects feeds" href="?a=opml"
type="text/x-opml" />
<link rel="shortcut icon" href="git-favicon.png" type="image/png" />
</head>
<body>
<div class="page_header">
<a title="git homepage" href="http://git-scm.com/"><img src="git-logo.png"
width="72" height="27" alt="git" class="logo"/></a><a href="/">projects</a>
/ </div>
<form method="get" action="http://localhost"
enctype="application/x-www-form-urlencoded">
<p class="projsearch">Search:
<input type="text" name="s"  />
</p>
</form>
trace: built-in: git 'for-each-ref' '--format=%(committer)'
'--sort=-committerdate' '--count=1' 'refs/heads'
trace: built-in: git 'config' '-z' '-l'
trace: built-in: git 'for-each-ref' '--format=%(committer)'
'--sort=-committerdate' '--count=1' 'refs/heads'
trace: built-in: git 'config' '-z' '-l'
<table class="project_list">
<tr>
<th>Project</th>
<th><a class="header" href="?o=descr">Description</a></th>
<th><a class="header" href="?o=owner">Owner</a></th>
<th><a class="header" href="?o=age">Last Change</a></th>
<th></th>
</tr>
<tr class="dark">
<td><a class="list" href="?p=rox-filer;a=summary">rox-filer</a></td>
<td><a class="list" title="Filer for the ROX desktop"
href="?p=rox-filer;a=summary">Filer for the ROX desktop</a></td>
<td><i>Stephen Watson</i></td>
<td class="age2">5 weeks ago</td>
<td class="link"><a href="?p=rox-filer;a=summary">summary</a> | <a
href="?p=rox-filer;a=shortlog">shortlog</a> | <a
href="?p=rox-filer;a=log">log</a> | <a
href="?p=rox-filer;a=tree">tree</a></td>
</tr>
<tr class="light">
<td><a class="list" href="?p=rox-lib;a=summary">rox-lib</a></td>
<td><a class="list" title="library for ROX applications"
href="?p=rox-lib;a=summary">library for ROX applications</a></td>
<td><i>Stephen Watson</i></td>
<td class="age2">14 months ago</td>
<td class="link"><a href="?p=rox-lib;a=summary">summary</a> | <a
href="?p=rox-lib;a=shortlog">shortlog</a> | <a
href="?p=rox-lib;a=log">log</a> | <a href="?p=rox-lib;a=tree">tree</a></td>
</tr>
</table>
<div class="page_footer">
<a class="rss_logo" href="?a=opml">OPML</a> <a class="rss_logo"
href="?a=project_index">TXT</a>
</div>
</body>
</html>


-- 
Stephen Watson     http://www.kerofin.demon.co.uk/
If you read this on a mailing list, send any reply back to the list and not
to me.  Not even CC.
Given cash, I speak the truth

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
rox-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rox-devel