Re: autoping.py

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Just before the sys.append line add:

import sys

That should fix it.  :)

/will


On Fri, 5 Mar 2004, Steve Mallett wrote:

> Hi folks,
>
> I've just setup pyblosxom (which is working swimmingly), am new to
> python & am having an 'issue' with autoping.py.
>
> Should:
>
> # Please change this value to where you pyblosxom is installed.
> #BASEURL = 'http://roughingit.subtlehints.net/pyblosxom/'
> # Modify this to where your pyblosxom and config.py is installed
> sys.path.append('/var/www/cgi-bin/config')
> sys.path.append('/var/www/cgi-bin/Pyblosxom/')
>
> causing this error:
> sys.path.append('/var/www/cgi-bin/config')
> NameError: name 'sys' is not defined
>
> I've tried every variation of the setting I can think of.
>
>

-- 
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
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.