Errors when building 2.2 r1348 documentation
Philip Semanchuk <[email protected]> Thu, 19 Apr 2007 11:06:35 -0400
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
Hi there,
When I run gmake in the spyce-2.2 directory, I get a number of errors
when building the documentation with python 2.4 (see below). Have I
mucked up the config somehow?
Also, in order to build correctly the documentation requires that the
root in spyceconf.py is unaltered:
root = os.path.join(SPYCE_HOME, 'www')
If I modify that to point to (for instance) the Apache WWW directory,
the absolute paths in the documentation .spy files fail. I'm not sure
how hard this would be to fix.
Thanks
Philip
gmake[1]: Entering directory `/usr/local/spyce-2.2/www/docs'
python ../../run_spyceCmd.py -O developers.spy doc-single.spy doc.spy
eg.spy get.spy license.spy links.spy mail.spy tutorial.spy
whats-new-2-0.spy whats-new-2-1.spy whats-new-2-2.spy
Processing: developers.spy
2007-04-19 10:56:08,284 INFO Creating server with config from
/usr/local/spyce-2.2/spyceconf.py
2007-04-19 10:56:08,818 INFO EXCEPTION: spyce.py:585, in
spyceProcessSingle:
return self.process(*args, **kwargs)
developers.spy:3, in (main):
toc.b('Writing Tag Libraries the hard way', 'tag_new')
NameError: global name 'toc' is not defined
2007-04-19 10:56:08,820 INFO RuntimeException: Traceback (most recent
call last):
File "spyce.py", line 283, in commonHandler
parent_code = thespyce.spyceProcess(*args, **kwargs)
File "spyce.py", line 564, in spyceProcess
result = self.spyceProcessSingle(*args, **kwargs)
File "spyce.py", line 590, in spyceProcessSingle
raise spyceException.spyceRuntimeException(sys.exc_info(), self)
spyceRuntimeException: spyce.py:585, in spyceProcessSingle:
return self.process(*args, **kwargs)
developers.spy:3, in (main):
toc.b('Writing Tag Libraries the hard way', 'tag_new')
NameError: global name 'toc' is not defined
Processing: doc-single.spy
Processing: doc.spy
2007-04-19 10:56:11,853 INFO EXCEPTION: spyce.py:585, in
spyceProcessSingle:
return self.process(*args, **kwargs)
doc.spy:700, in (main):
<code:include filename="examples/handlerintro.spy" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
2007-04-19 10:56:11,855 INFO RuntimeException: Traceback (most recent
call last):
File "spyce.py", line 283, in commonHandler
parent_code = thespyce.spyceProcess(*args, **kwargs)
File "spyce.py", line 564, in spyceProcess
result = self.spyceProcessSingle(*args, **kwargs)
File "spyce.py", line 590, in spyceProcessSingle
raise spyceException.spyceRuntimeException(sys.exc_info(), self)
spyceRuntimeException: spyce.py:585, in spyceProcessSingle:
return self.process(*args, **kwargs)
doc.spy:700, in (main):
<code:include filename="examples/handlerintro.spy" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
Processing: eg.spy
2007-04-19 10:56:12,014 INFO EXCEPTION: spyce.py:585, in
spyceProcessSingle:
return self.process(*args, **kwargs)
eg.spy:47, in (main):
lines = open('_eginfo.txt').readlines() # created by doc.spy
IOError: [Errno 2] No such file or directory: '_eginfo.txt'
2007-04-19 10:56:12,016 INFO RuntimeException: Traceback (most recent
call last):
File "spyce.py", line 283, in commonHandler
parent_code = thespyce.spyceProcess(*args, **kwargs)
File "spyce.py", line 564, in spyceProcess
result = self.spyceProcessSingle(*args, **kwargs)
File "spyce.py", line 590, in spyceProcessSingle
raise spyceException.spyceRuntimeException(sys.exc_info(), self)
spyceRuntimeException: spyce.py:585, in spyceProcessSingle:
return self.process(*args, **kwargs)
eg.spy:47, in (main):
lines = open('_eginfo.txt').readlines() # created by doc.spy
IOError: [Errno 2] No such file or directory: '_eginfo.txt'
Processing: get.spy
Processing: license.spy
Processing: links.spy
Processing: mail.spy
Processing: tutorial.spy
Processing: whats-new-2-0.spy
2007-04-19 10:56:12,521 INFO EXCEPTION: spyce.py:585, in
spyceProcessSingle:
return self.process(*args, **kwargs)
whats-new-2-0.spy:17, in (main):
<code:include filename="examples/handlerintro.spy" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
2007-04-19 10:56:12,523 INFO RuntimeException: Traceback (most recent
call last):
File "spyce.py", line 283, in commonHandler
parent_code = thespyce.spyceProcess(*args, **kwargs)
File "spyce.py", line 564, in spyceProcess
result = self.spyceProcessSingle(*args, **kwargs)
File "spyce.py", line 590, in spyceProcessSingle
raise spyceException.spyceRuntimeException(sys.exc_info(), self)
spyceRuntimeException: spyce.py:585, in spyceProcessSingle:
return self.process(*args, **kwargs)
whats-new-2-0.spy:17, in (main):
<code:include filename="examples/handlerintro.spy" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
Processing: whats-new-2-1.spy
2007-04-19 10:56:12,729 INFO EXCEPTION: spyce.py:585, in
spyceProcessSingle:
return self.process(*args, **kwargs)
whats-new-2-1.spy:18, in (main):
<code:include filename="examples/whatsnew.spy" run="=1" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
2007-04-19 10:56:12,731 INFO RuntimeException: Traceback (most recent
call last):
File "spyce.py", line 283, in commonHandler
parent_code = thespyce.spyceProcess(*args, **kwargs)
File "spyce.py", line 564, in spyceProcess
result = self.spyceProcessSingle(*args, **kwargs)
File "spyce.py", line 590, in spyceProcessSingle
raise spyceException.spyceRuntimeException(sys.exc_info(), self)
spyceRuntimeException: spyce.py:585, in spyceProcessSingle:
return self.process(*args, **kwargs)
whats-new-2-1.spy:18, in (main):
<code:include filename="examples/whatsnew.spy" run="=1" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
Processing: whats-new-2-2.spy
2007-04-19 10:56:12,870 INFO EXCEPTION: spyce.py:585, in
spyceProcessSingle:
return self.process(*args, **kwargs)
whats-new-2-2.spy:22, in (main):
<code:include filename="examples/handlerintro.spy" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
2007-04-19 10:56:12,872 INFO RuntimeException: Traceback (most recent
call last):
File "spyce.py", line 283, in commonHandler
parent_code = thespyce.spyceProcess(*args, **kwargs)
File "spyce.py", line 564, in spyceProcess
result = self.spyceProcessSingle(*args, **kwargs)
File "spyce.py", line 590, in spyceProcessSingle
raise spyceException.spyceRuntimeException(sys.exc_info(), self)
spyceRuntimeException: spyce.py:585, in spyceProcessSingle:
return self.process(*args, **kwargs)
whats-new-2-2.spy:22, in (main):
<code:include filename="examples/handlerintro.spy" />
modules/taglib.py:63, in tagBegin:
result = tag.begin(**tag._attrs)
code.spi:20, in begin:
import pp
ImportError: No module named pp
chmod u+x developers.spy doc-single.spy doc.spy eg.spy get.spy
license.spy links.spy mail.spy tutorial.spy whats-new-2-0.spy
whats-new-2-1.spy whats-new-2-2.spy
gmake[1]: Leaving directory `/usr/local/spyce-2.2/www/docs'
python run_spyceCmd.py -O www/index.spy
Processing: www/index.spy
2007-04-19 10:56:13,430 INFO Creating server with config from
/usr/local/spyce-2.2/spyceconf.py
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/