Re: installation mac os x

"G.M. Bodnar" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
At a glance, it looks as if py["codebase"] points to the wrong place.
Unless you moved the pyblosxom source directory, you'd want to set
py["codebase"] = "/home/user/Desktop/pyblosxom-1.3.2/"

Hope this does the trick for you.

Greg
--- -

On Mon, Sep 11, 2006 at 03:42:56PM NZST, [email protected] wrote:
> 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
> _______________________________________________
> pyblosxom-users mailing list
> pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-users

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

_______________________________________________
pyblosxom-users mailing list
pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
signature.asc (application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFBTaUGRGKEmkMxe4RAgLKAKCI/TZLJlkEMvS6qD/0Cs74Zlk7ywCfS6WB
RoGgPn/kOndfMvOaXxUGmho=
=FW1/
-----END PGP SIGNATURE-----
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.