Login | Register
My pages Projects Community openCollabNet

Discussions > users > RE : Apache Problem > Reply to message

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

Reply to message

* = Required fields
* Subject
* Body
Send reply to
Author (directly in email)
Please type the letters in the image above.

Original message

Author dplank
Full name Darryl Plank
Date 2007-11-29 03:13:01 PST
Message I wonder what account I should use? "Postgres" or "root"? I tried both and
neither work. When I type:

cadmin.py -s http://localhost/XMLRPC test

I get:

cadmin.py: command not found

This seems logical since "cadmin.py" is in "/usr/share/current/api/", which
is not in the environment variable "PATH".

If I include the directory in PATH, and try again, I get an error saying
"cadmin.py" is not executable. This also seems logical, since "cadmin.py"
is a python script, and there is no mechanism in place to associate files
ending in "py" with python. If I force things by putting "python" in front
of "cadmin.py", I get another series of errors ...

The documentation says the installation of the python scripts is as simple
as copying them from the tarball to "/usr/share/current". This is what I
did, but I wonder if things are really that simple. In the tarball for
current-1.6.1 I found the python scripts in a directory named "src". I
copied the contents of this directory, which includes subdirectories, to

However it seems the procedure explained in the documentation is incomplete,
and I'm not sure how to complete it.

-- Darryl

> -----Message d'origine-----
> De : Jared Greenwald [mailto:greenwaldjar​ed at gmail dot com]
> Envoyé : mardi 27 novembre 2007 16:11
> À : users at current dot tigris dot org
> Objet : Re: Apache Problem

> The XMLRPC interface isn't something that you would look at in your
> browser. The fact that you see the test page at all means that the
> server is up and running. You could try running the test command -
> that would test the client/server pieces are working. Something
> like....

> cadmin.py -s http://localhost/XMLRPC test

> If you don't get any errors from that, you should be all set to start
> working with current.

> -Jared