Re: Re: RST & Pyblosxom

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
It depends on what web-server you're using and how it's set up.  On my
server, we have the error log in /var/log/apache/error_log .  If I check
there, it tells me exactly what the errors were.

What you're seeing is that the web-server is probably running as a
different user and you need to give that user permissions to read the file
in order for it to run the plugin.

Don't know if that helps or not.  Some of the issues involved are a bit
more complicated and change from server to server.

/will


On Sat, 24 Jan 2004, Doug Ransom wrote:
>
> I found if I copied a module to the plugins directory but did not chmod it to 755, pyblosxom will know its there, try and run it, and fail.
>
> I don't know if there is any way to make this easier to debug?  A warning to check permissions?
>
> I am new to linux, that contributes to my problems getting stuff working.
>
> Doug
>
>
>
> [email protected] wrote:
>
> >hi,
> >
> >I cc'ed the pyblosxom-users list in case anybody there can help.  It looks
> >like the python interpreter can't find rst.py.  According to
> >http://cvs.sourceforge.net/viewcvs.py/pyblosxom/pyblosxom/contrib/entryparsers/README?rev=1.3&view=auto,
> >you have to copy this file into your plugins directory.  If that's not the
> >issue, I'm not sure what the problem is.
> >
> >good luck!
> >Sean
> >
> >On Sat, 24 Jan 2004, Doug Ransom wrote:
> >
> >
> >
> >>Sean,
> >>
> >>I have no hope of getting restrutcured text working with pyblosxom and
> >>rst.py.  Would you plese take a quick look at the attached apache log
> >>file snippet and let me know if anything strikes you as obvious.
> >>
> >>Doug
> >>
> >>
> >>
> >[...]
> >[Sat Jan 24 08:35:24 2004] [error] [client 64.180.83.196]   File
> >"/usr/local/lib/python2.3/site-packages/Pyblosxom/pyblosxom.py", line 268,
> >in run
> >[Sat Jan 24 08:35:24 2004] [error] [client 64.180.83.196]
> >plugin_utils.initialize_plugins(config)
> >[Sat Jan 24 08:35:24 2004] [error] [client 64.180.83.196]   File
> >"/usr/local/lib/python2.3/site-packages/Pyblosxom/plugin_utils.py", line
> >74, in initialize_plugins
> >[Sat Jan 24 08:35:24 2004] [error] [client 64.180.83.196]     _module =
> >__import__(mem)
> >[Sat Jan 24 08:35:24 2004] [error] [client 64.180.83.196] ImportError: No
> >module named rst
> >
> >
> >
> >
> >
>
>

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


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
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.