Re: Problems with installation of pyblosxom (ImportError: No module named Pyblosxom.pyblosxom)

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Thu, 24 Mar 2005, Matej Cepl wrote:
> 
> ...
>
> However, when trying to run direclty the script through the browser (it
> would be <http://www.ceplovi.cz/cgi-bin/pyblosxom.cgi>) I get this in
> error.log:
>
>  Traceback (most recent call last):
>    File "/data/cgi-bin/ceplovi/pyblosxom.py", line 18, in ?
>      import Pyblosxom.pyblosxom
>  ImportError: No module named Pyblosxom.pyblosxom
>
> Does anybody have a hint, what should I do to make pyblosxom working,
> please?


I have two sets of guesses.  The first guess is that you have your 
codebase set wrong or not set at all.  The theory here is that when you 
execute pyblosxom.cgi on the command line it picks up PyBlosxom on the 
path, but when it's executed by the web-server, it doesn't get picked up 
on the path.

The second guess is that your web-server doesn't have read access to the 
PyBlosxom code.  So if the web-server can't read those files, then Python 
can't import them and you'll get the above message.

I'm thinking it's probably the latter guess.

Hope that helps--
/will


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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.