Re: installation mac os x
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On 12 Sep 2006, at 3:26 AM, Gert wrote:
> At least while running ./pyblosxom.cgi in the terminal I get an
> encouraging set
> of results that give me the idea that I'm on the right track (see
> below).
> Though, in the browser I still get the error re. line 27.
> ImportError: No module named Pyblosxom.pyblosxom
> args = ('No module named Pyblosxom.pyblosxom',)
>
> I'll post back when I've found out what is going on.
Gert, your apache may not have the proper permissions to read your
pyblosxom directory. You can try to do `chmod -R a+r
pyblosxom-1.3.2`, for example. Which may or may not work (note: do a
chmod a+x on directories inside the Pyblosxom directory).
Another way is to copy the Pyblosxom directory over at your CGI-
Executables/ directory, and unsure that the `web server user` owns
the directory at least.
The final resort is to install pyblosxom using setup.py, which will
put pyblosxom in /usr/lib/python2.3/site-packages/ on a stock Mac OS
X, and you should have no problem with that, you may need Xcode to be
installed though, but I doubt so.
You can test your webserver with shell scripts, for example, say we
have a file called test.sh:
#!/bin/sh
echo '<pre>'
ls -l .
echo '------------------'
ls -l /Users/gert
echo '------------------'
ls -l /Users/gert/pyblosxom-1.3.2
echo '------------------'
ls -l /Users/gert/pyblosxom-1.3.2/Pyblosxom
echo '------------------'
cat /Users/gert/pyblosoxm-1.3.2/Pyblosxom/pyblosxom.py
If you have errors with the above script you could have a permissions
problem.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642