CVS commit: ChangeLog
Tomas Cerha
cerha at brailcom.org
Wed May 21 17:01:35 CEST 2008
Update of /var/lib/cvs/wiking
In directory cesnet:/tmp/cvs-serv15561
Modified Files:
ChangeLog
Log Message:
(PytisModule): Added support for handling URI subpath for pytis module records.
/var/www/hosts/www.freebsoft.org/src/wiking:
cvs update: Updating .
U ChangeLog
? config.pyc
cvs update: Updating defs
cvs update: Updating doc
cvs update: Updating doc/src
cvs update: Updating doc/src/admin
? doc/src/admin/config.pyc
cvs update: Updating doc/src/cms
cvs update: Updating doc/src/devel
? doc/src/devel/application.pyc
cvs update: Updating doc/src/user
cvs update: Updating lib
cvs update: Updating lib/wiking
U lib/wiking/db.py
? lib/wiking/__init__.pyc
? lib/wiking/application.pyc
? lib/wiking/cms
? lib/wiking/configuration.pyc
? lib/wiking/db.pyc
? lib/wiking/export.pyc
? lib/wiking/modules.pyc
? lib/wiking/request.pyc
? lib/wiking/util.pyc
cvs update: Updating lib/wiking/cms
cvs update: Updating resources
cvs update: Updating resources/css
cvs update: Updating sql
cvs update: Updating translations
+ mkdir -p /var/www/hosts/www.freebsoft.org/doc/wiking
+ /var/www/hosts/www.freebsoft.org/src/wiking/../lcg/bin/lcgmake.py /var/www/hosts/www.freebsoft.org/src/wiking/doc/src /var/www/hosts/www.freebsoft.org/doc/wiking
AttributeError
Python 2.4.4: /usr/bin/python
Wed May 21 17:01:35 2008
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/var/www/hosts/www.freebsoft.org/src/lcg/bin/lcgmake.py
171 if __name__ == "__main__":
172 try:
173 main()
174 except KeyboardInterrupt:
175 raise
main = <function main>
/var/www/hosts/www.freebsoft.org/src/lcg/bin/lcgmake.py in main()
85 # Read the source files (first real action after processing options).
86 reader = lcg.reader(src, name, ext=ext, recourse=recourse, encoding=opt['encoding'])
87 node = reader.build()
88 # Decide which exporter to use.
89 kwargs = {}
node undefined
reader = <lcg.read.DocDirReader object>
reader.build = <bound method DocDirReader.build of <lcg.read.DocDirReader object>>
/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/read.py in build(self=<lcg.read.DocDirReader object>)
126 return ContentNode(id=self._id, title=self._title(), brief_title=self._brief_title(),
127 descr=self._descr(), variants=variants, content=self._content(),
128 children=[child.build() for child in self._children()],
129 resource_provider=self._resource_provider_,
130 globals=self._globals(), hidden=self._hidden)
children undefined
child = <lcg.read.DocDirReader object>
child.build = <bound method DocDirReader.build of <lcg.read.DocDirReader object>>
self = <lcg.read.DocDirReader object>
self._children = <bound method DocDirReader._children of <lcg.read.DocDirReader object>>
/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/read.py in build(self=<lcg.read.DocDirReader object>)
126 return ContentNode(id=self._id, title=self._title(), brief_title=self._brief_title(),
127 descr=self._descr(), variants=variants, content=self._content(),
128 children=[child.build() for child in self._children()],
129 resource_provider=self._resource_provider_,
130 globals=self._globals(), hidden=self._hidden)
children undefined
child = <config.Reader object>
child.build = <bound method Reader.build of <config.Reader object>>
self = <lcg.read.DocDirReader object>
self._children = <bound method DocDirReader._children of <lcg.read.DocDirReader object>>
/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/read.py in build(self=<config.Reader object>)
125 variants = self.variants()
126 return ContentNode(id=self._id, title=self._title(), brief_title=self._brief_title(),
127 descr=self._descr(), variants=variants, content=self._content(),
128 children=[child.build() for child in self._children()],
129 resource_provider=self._resource_provider_,
descr undefined
self = <config.Reader object>
self._descr = <bound method Reader._descr of <config.Reader object>>
variants = ('en',)
global content = <module 'lcg' from '/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/__init__.pyc'>
self._content = <bound method Reader._content of <config.Reader object>>
/var/www/hosts/www.freebsoft.org/src/wiking/doc/src/admin/config.py in _content(self=<config.Reader object>)
8
9 def _content(self):
10 from wiking import cfg
11 def descr(option):
12 content = []
wiking undefined
cfg undefined
/var/www/hosts/www.freebsoft.org/src/wiking/lib/wiking/__init__.py
41 from util import *
42 from request import *
43 from modules import *
44 from db import *
45 from application import *
modules undefined
/var/www/hosts/www.freebsoft.org/src/wiking/lib/wiking/modules.py
245
246
247 class Resources(Module, RequestHandler):
248 """Serve the resource files as provided by the LCG's 'ResourceProvider'.
249
Resources undefined
Module = None
RequestHandler = None
/var/www/hosts/www.freebsoft.org/src/wiking/lib/wiking/modules.py in Resources()
257
258 """
259 _RESOURCES = {'css': (lcg.XStylesheet, 'text/css'),
260 'media': (lcg.XMedia, 'audio/mpeg'),
261 'images': (lcg.XImage, 'image/gif'),
_RESOURCES undefined
global lcg = None
lcg.XStylesheet undefined
lcg.XMedia undefined
lcg.XImage undefined
lcg.XScript undefined
lcg.XFlash undefined
AttributeError: 'module' object has no attribute 'XStylesheet'
__doc__ = 'Attribute not found.'
__getitem__ = <bound method AttributeError.__getitem__ of <exceptions.AttributeError instance>>
__init__ = <bound method AttributeError.__init__ of <exceptions.AttributeError instance>>
__module__ = 'exceptions'
__str__ = <bound method AttributeError.__str__ of <exceptions.AttributeError instance>>
args = ("'module' object has no attribute 'XStylesheet'",)
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/var/www/hosts/www.freebsoft.org/src/wiking/../lcg/bin/lcgmake.py", line 173, in ?
main()
File "/var/www/hosts/www.freebsoft.org/src/wiking/../lcg/bin/lcgmake.py", line 87, in main
node = reader.build()
File "/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/read.py", line 128, in build
children=[child.build() for child in self._children()],
File "/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/read.py", line 128, in build
children=[child.build() for child in self._children()],
File "/var/www/hosts/www.freebsoft.org/src/lcg/lib/lcg/read.py", line 127, in build
descr=self._descr(), variants=variants, content=self._content(),
File "/var/www/hosts/www.freebsoft.org/src/wiking/doc/src/admin/config.py", line 10, in _content
from wiking import cfg
File "/var/www/hosts/www.freebsoft.org/src/wiking/lib/wiking/__init__.py", line 43, in ?
from modules import *
File "/var/www/hosts/www.freebsoft.org/src/wiking/lib/wiking/modules.py", line 247, in ?
class Resources(Module, RequestHandler):
File "/var/www/hosts/www.freebsoft.org/src/wiking/lib/wiking/modules.py", line 259, in Resources
_RESOURCES = {'css': (lcg.XStylesheet, 'text/css'),
AttributeError: 'module' object has no attribute 'XStylesheet'
More information about the Wiking-cvs
mailing list