Re: error

Francois Granger <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <a05200f0fbb01fe05f5c9@[62.147.236.60]>
At 11:25 +0800 03/06/2003, in message [pyblosxom-users] Re: error, 
Wari Wahab wrote:
>Michael Corbett wrote:
>
>>I have just attempted to install PyBlosxom on my mac running osx 
>>2.6. Its been a struggle to get to where I am. I have gotten into 
>>the entry form at:
>>http://living.mine.nu/cgi-bin/living/weblog-add.py
>>But the category pulldown menu doesn't work.
>
>See if 
>http://roughingit.subtlehints.net/pyblosxom/weblogs/tools/tutorial/weblog-add.html 
>can help. I believe that the weblog-add program needs main blog 
>directory that you configured in weblog-add.py to have 
>subdirectories. You did edit weblog-add.py right?

Line 28 in mine:

# toplevel path to where the files should get created
blog_root='/Volumes/OS99/blog'

replace with yours, same as the one line 12 of config.py

# Where are this blog's entries kept?
py['datadir'] = "/Volumes/OS99/blog"



>
>>And when I tried to post it said that there was an error: no 
>>category none. When I go to http://living.mine.nu/ all I get is the 
>>code in the file "blog". Could you help.

The file "pyblosxom.cgi" is not executed because it has
#!/usr/bin/env python2

as a first line. This normaly should read
#!/usr/bin/env python

without the "2". There is the same issue in some other ".py" files. 
The other way would be to create a symlink named "python2" to the 
"python" binary.


-- 
Hofstadter's Law :
It always takes longer than you expect, even when you take into 
account Hofstadter's Law.


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
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.