Newbie Needs Help -- Name and Key errors
Bob Langdon
bingdo19 at earthlink.net
Tue Apr 25 15:01:02 EDT 2000
Thanks Fredrik!
Dumb ?, but how do I set the DOCUMENT_ROOT environment variable?
>From the fcsetup module?
> just guessing here, but it looks like
>
> 1) you need to the DOCUMENT_ROOT environment variable
> before running the script
>
> 2) the fcsetup.py module should define a variable called DEPOT,
> but doesn't.
>
> > I think DEPOT might be a reference to the MySQL database, using the
> > Berkley dbmodule (which I can't find). I certainly can't find a
> > directory named DEPOT anywhere on the old host's server.
>
> DEPT is a variable name, not a directory name. the "from
> fcsetup import *" line imports all variables from the fcsetup
> module.
>
> > Neither can I fathom where "DOCUMENT_ROOT" is defined, or find a file
> > called "os.environ."
>
> "os.environ" refers to a variable in the standard "os" module,
> not a file. see the library reference for more info.
>
> </F>
>
>
More information about the Python-list
mailing list