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

Matej Cepl <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Organization Northeastern University, Boston, MA
Message-ID <[email protected]>
will guaraldi wrote:
> 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.

This one is right -- apparently cgi-bin script doesn't get outside of 'www'
directory. When I moved pyblosxom directory into 'www' area, it seems
working now. However, when I tried to upgrade to version 1.2 (downloaded on
Sunday from pyblosxom.sf.net), I got error when running ./pyblosxom.cgi --
it cannot import from __future__ nested_scopšes. It is python 2.1.3, so it
should be compatible with pyblosxom, right (INSTALL file advertises Python
2.1 as required)?

Thanks for the help,

Matěj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I know not with what weapons World War III will be fought, but
World War IV will be fought with sticks and stones.
   -- Albert Einstein




-------------------------------------------------------
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.