[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: viewcvs and cgi

From: Tobias Ringstrom <tobias_at_ringstrom.mine.nu>
Date: 2003-09-10 17:35:00 CEST

cmpilato@collab.net wrote:
> "Dave Oxley" <Dave@JungleMoss.com> writes:
>
>>ImportError: No module named svn
>>
>>Any ideas why it would work for mod_python, but not with cgi?
>
> Funky environment? You could write a little Python CGI script which
> basically just prints out the environment hash, and give that output a
> look-see.

Try the following python script:

        import cgi
        cgi.test()

It will show you the environment and other stuff as a nice HTML page.

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 10 17:35:50 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.