[Pydotorg-www] build of website fails

mike at poordog.net mike at poordog.net
Fri Oct 13 19:01:07 CEST 2006


Hello,

I recently volunteered to help maintain the python.org website. I am
having a bit of trouble building the site on my local machine.

I installed most of the packages from apt-get and compiled some from source.
Everything seemed fine. So any suggestions would be appreciated.
I am guessing something was not installed correctly.

Anyhow, Here are the errors.


<snip>
Skipping pep-3103.txt (outfile up to date)
Rebuilding mirrors file
Rebuilding website
pyramid --data data --out out --resources images,styles,files,js
--relativeurls
Traceback (most recent call last):
  File "/usr/bin/pyramid", line 2, in ?
    from pyramid import build
  File "/usr/lib/python2.4/site-packages/pyramid/build.py", line 6, in ?
    from pyramid.flatteners import flatten
  File "/usr/lib/python2.4/site-packages/pyramid/flatteners.py", line 2, in ?
    from pyramid import restParser, page, yamlRegistry as Y, dictutils, utils
  File "/usr/lib/python2.4/site-packages/pyramid/yamlRegistry.py", line
220, in ?
    class Loader(syck.Loader):
AttributeError: 'module' object has no attribute 'Loader'
Traceback (most recent call last):
  File "/var/www/beta.python.org/beta.python.org/build/build.py", line
154, in ?
    main()
  File "/var/www/beta.python.org/beta.python.org/build/build.py", line
150, in main
    build(args)
  File "/var/www/beta.python.org/beta.python.org/build/build.py", line 79,
in build
    build_site(args)
  File "/var/www/beta.python.org/beta.python.org/build/build.py", line
112, in build_site
    cmd('%s %s' % (command, ' '.join(args)))
  File "/var/www/beta.python.org/beta.python.org/build/build.py", line 58,
in cmd
    raise RuntimeError('%s failed w/ exit code %d' % (command, err))
RuntimeError: pyramid --data data --out out --resources
images,styles,files,js --relativeurls  failed w/ exit code 256
root at ubu:/var/www/beta.python.org/beta.python.org# vi /usr/lib/python2.
python2.3/ python2.4/
root at ubu:/var/www/beta.python.org/beta.python.org# vi
/usr/lib/python2.4/site-packages/py
pycurl.so    pygst.py     pygst.pyo    pygtk.py     pygtk.pyo    pyPgSQL/ 
   pyuno.so
pygst.pth    pygst.pyc    pygtk.pth    pygtk.pyc    pyid3lib.so  pyramid/
root at ubu:/var/www/beta.python.org/beta.python.org# vi
/usr/lib/python2.4/site-packages/pyramid/build.py
</snip>

tulku at ubu:/var/www/beta.python.org/beta.python.org# python
Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyramid import yamlRegistry as Y, dictutils, utils
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/pyramid/yamlRegistry.py", line
220, in ?
    class Loader(syck.Loader):
AttributeError: 'module' object has no attribute 'Loader'
>>>


thanks,
Mike



More information about the Pydotorg-www mailing list