Re: A returning user - having installation problems
Chris G <[email protected]> Thu, 28 Jan 2010 20:30:29 +0000
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <20100128203029.GB21457@chris> |
On Thu, Jan 28, 2010 at 02:16:14PM -0500, will kahn-greene wrote:
> On 01/28/2010 02:03 PM, Chris G wrote:
> > I used pyblosxom for a while around version 1.3 (I think) and I'm now
> > back trying it again. I'm not doing too well at the moment. I'm
> > trying to install the 1.5 beta version on ubuntu 9.10 server.
> >
> > So, I'll run through what I have done:-
> >
> > Get the code
> >
> > svn co https://pyblosxom.svn.sourceforge.net/svnroot/pyblosxom/trunk/pyblosxom/ pyblosxom
> >
> > As root, run the install
> >
> > python setup.py install
>
> That should have installed Python as a site-package and the
> pyblosxom-cmd command in bin.
>
Yes, it has, well nearly:-
chris@server:~$ which pyblosxom-cmd
/usr/local/bin/pyblosxom-cmd
chris@server:~$
> After doing that, to create a blog you do:
>
> % pyblosxom-cmd create <dir>
>
> and that's it. PyBlosxom builds the directory structure for your blog
> with flavour files and pyblosxom.cgi and config.py files.
>
Yes, that's where I'm getting the error I was reporting:-
chris@server:~$ pyblosxom-cmd create xxx
pyblosxom-cmd version 1.5 dev
Creating '/home/chris/xxx'...
Creating '/home/chris/xxx/entries'...
Creating '/home/chris/xxx/plugins'...
Creating file '/home/chris/xxx/config.py'...
Traceback (most recent call last):
File "/usr/local/bin/pyblosxom-cmd", line 5, in <module>
pkg_resources.run_script('pyblosxom==1.5', 'pyblosxom-cmd')
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 448,
in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1166,
in run_script
execfile(script_filename, namespace, namespace)
File
"/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/EGG-INFO/scripts/pyblosxom-cmd",
line 25, in <module>
sys.exit(command_line_handler("pyblosxom-cmd", sys.argv))
File
"/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/commandline.py",
line 431, in command_line_handler
return f(command, argv)
File
"/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/commandline.py",
line 268, in create_blog
_copyfile(source, d, "config.py", fix=True)
File
"/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/commandline.py",
line 248, in _copyfile
fp = open(os.path.join(frompath, fn), "r")
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/dist-packages/pyblosxom-1.5-py2.6.egg/Pyblosxom/data/config.py'
> Sounds like you should read through the README and INSTALL files. There
> are a lot of changes in PyBlosxom 1.5 specifically to make it easy to
> install.
>
I think I have followed the README and INSTALL.
Looking harder at the above error it seems as if there should be a
config.py in the installation somewhere that can't be found.
--
Chris Green
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com