installation mac os x
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Can someone help me with the problems I have with installing
PyBlosxom on Mac OS X 10.4.7? I browsed through the archives but
still had no succes in various attempts.
Thanks for any feedback.
Gert
This is what I did:
1. downloaded: pyblosxom-1.3.2
2. cp ~/Desktop/pyblosxom-1.3.2/web/pyblosxom.cgi /Library/WebServer/
CGI-Executables/
3. cp ~/Desktop/pyblosxom-1.3.2/web/config.py /Library/WebServer/CGI-
Executables/
4. chmod a+x /Library/WebServer/CGI-Executables/pyblosxom.cgi
5. mkdir /Library/WebServer/Documents/PybEntries
6. mkdir /Library/WebServer/Documents/PybEntries/entries
7. mkdir /Library/WebServer/Documents/PybEntries/flavours
8. In "config.py" I changed the lines
py["codebase"] = "/Library/Webserver/CGI-Executables"
py['datadir'] = "/Library/Webserver/Documents/PybEntries/entries"
9. Created a document: test.txt with some text and saved
this in "/Library/WebServer/Documents/PybEntries/entries"
10. Started up a browser:
---> Result request for: http://127.0.0.1/cgi-bin/pyblosxom.cgi
=======================
Internal Server Error
=======================
11. In pyblosxom.cgi I uncommented line (8):
import cgitb; cgitb.enable()
---> Result request for: http://127.0.0.1/cgi-bin/pyblosxom.cgi
================================================================
A problem occurred in a Python script.
Here is the sequence of function calls leading up to the error,
in the order they occurred.
/Library/WebServer/CGI-Executables/pyblosxom.cgi
25 sys.path.insert(0, cfg["codebase"])
26
27 from Pyblosxom.pyblosxom import PyBlosxom
28
29 if __name__ == '__main__':
Pyblosxom undefined, PyBlosxom undefined
ImportError: No module named Pyblosxom.pyblosxom
args = ('No module named Pyblosxom.pyblosxom',)
================================================================
-------------------------------------------------------------------------
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