Opened 17 years ago
Closed 17 years ago
#2446 closed defect (fixed)
Problem with DoxygenPlugin and trac 0.11b1
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | high | Component: | DoxygenPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I try to install the doxygen plugin with trac 0.11b1. It doesn't work, I have the following problem :
Trac detected an internal error:
AssertionError: HDF dataset not available. Check your clearsilver installation
Python Traceback Most recent call last:
- File "c:\program files\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\web\main.py", line 398, in _dispatch_request
Code fragment:
- try:
- if not env and env_error:
- raise HTTPInternalError(env_error)
- try:
- dispatcher = RequestDispatcher(env)
- dispatcher.dispatch(req)
- except RequestDone:
- pass
- resp = req._response or []
- except HTTPException, e:
program ... frames [{'function': '_dispatch_request', 'lines_before': [' try:', ' ... has_admin True line ' dispatcher.dispatch(req)' lineno 397 message u'AssertionError: HDF dataset not available. Check your clearsilver ... req <Request "GET u'/doxygen/'"> resp [] tb <traceback object at 0x0170D878> tb_hide None traceback 'Traceback (most recent call last):\n File "c:
program ... - File "c:\program files\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\web\main.py", line 204, in dispatch
Code fragment:
- template, content_type = \
- self._post_process_request(req, *resp)
- # Give the session a chance to persist changes
- if req.session:
- req.session.save()
- req.display(template, content_type or 'text/html')
- else: # Genshi
- template, data, content_type = \
- self._post_process_request(req, *resp)
- if 'hdfdump' in req.args:
- req.perm.require('TRAC_ADMIN')
- File "c:\program files\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\web\api.py", line 297, in display
Code fragment:
- def display(self, template, content_type='text/html', status=200):
- """Render the response using the ClearSilver template given by the
template
parameter, which can be either the name of the template file,- or an already parsed
neo_cs.CS
object. - """
- assert self.hdf, 'HDF dataset not available. Check your clearsilver installation'
- if self.args.has_key('hdfdump'):
- # FIXME the administrator should probably be able to disable HDF
- # dumps
- self.perm.require('TRAC_ADMIN')
- content_type = 'text/plain'
File "c:\program files\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\web\main.py", line 398, in _dispatch_request
dispatcher.dispatch(req)
File "c:\program files\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\web\main.py", line 204, in dispatch
req.display(template, content_type or 'text/html')
File "c:\program files\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\web\api.py", line 297, in display
assert self.hdf, 'HDF dataset not available. Check your clearsilver installation'
System Information:
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Trac: 0.11b1 Python: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c7 SQLite: 3.3.4 pysqlite: 2.3.2 Genshi: 0.4.4 Subversion: 1.4.6 (r28521) jQuery: 1.2.1
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Owner: | changed from Radek Bartoň to Christian Boos |
---|
comment:3 Changed 17 years ago by
Keywords: | assersion removed |
---|---|
Priority: | normal → high |
There are actually some changes: diff:doxygenplugin/0.10@1983//doxygenplugin/0.11@2069
Seems to work "fine"(*) with 0.11 for me, but yes, it seems there's still only a clearsilver plugin. Strange, I thought I did the migration once, that shouldn't be a big deal.
(*) "fine" as in: there's a lot of issues with this plugin - I don't even know where I'd start with if I had the time to do so ;-) )
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [3132]) Finalize porting to 0.11 (tested with [trac 6391]).
I remember now why I kept the Clearsilver template... I was a bit reluctant to have to read the doxygen generated files in memory.
So those changes will have a slight performance/memory impact, until Genshi supports raw includes (and more efficient streaming).
Should fix #2446.
According to revision history cboos didn't make any further changes to 0.11 branch than just copy of 0.10 branch. This means that DoxygenPlugin is not ready for 0.11 anyhow.