Edgewall Software
Modify

Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#248 closed enhancement (worksforme)

HDF dataset not available. Check your clearsilver installation on Trac 0.11-dev

Reported by: traydent@… Owned by: cmlenz
Priority: major Milestone:
Component: General Version: dev
Keywords: Cc:
Operating System: Linux

Description

When accessing Build Status from menubar (URL /trac/projetcname/build) :

Trac detected an internal error: AssertionError: HDF dataset not available. Check your clearsilver installation

Installtion information

Trac 0.11dev-r6501
Python 2.4.4 (#1, Jan 3 2008, 13:33:54) [GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)]
setuptools 0.6c7
SQLite 3.4.2
pysqlite 2.4.0
Genshi 0.5dev-r799
mod_python 3.3.1
Pygments 0.9
Subversion 1.4.4 (r25188)
jQuery 1.2.1
Bitten 0.6dev-r519

Python Tracback

File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6501-py2.4.egg/trac/web/main.py", line 406, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6501-py2.4.egg/trac/web/main.py", line 204, in dispatch
  req.display(template, content_type or 'text/html')
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6501-py2.4.egg/trac/web/api.py", line 297, in display
  assert self.hdf, 'HDF dataset not available. Check your clearsilver installation'

Attachments (1)

install_diff.txt (892 bytes) - added by iain@… 16 years ago.
Suggested patch for installation docs.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 17 years ago by cmlenz

  • Milestone 0.6 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Well, as the error messsage says, you will have to install ClearSilver to use Bitten for now, as I don't want to break compat with Trac 0.10 at this point.

comment:2 Changed 17 years ago by traydent@…

I think Clear Silver? is installed :

# easy_install ClearSilver
Searching for ClearSilver
Best match: clearsilver 0.10.1
Processing clearsilver-0.10.1-py2.4-linux-i686.egg
clearsilver 0.10.1 is already the active version in easy-install.pth

Using /usr/lib/python2.4/site-packages/clearsilver-0.10.1-py2.4-linux-i686.egg
Processing dependencies for ClearSilver
Finished processing dependencies for ClearSilver
#

comment:3 Changed 17 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

Dear cmlenz!!! Clear Silver? installation is NOT source for this trouble! Please, DO NOT formal reply. Feature must be review and eliminated. Thanks, beforehand!

comment:4 Changed 17 years ago by cmlenz

Well, for some reason Trac thinks that Clearsilver is not properly installed, because (a) it's not in the installation information table, and (b) you're getting that error.

So, please trydo the following: on the command line, enter:

  $ python -c "import neo_cgi; print dir(neo_cgi)"

and report back the output.

If that works, do you maybe have multiple versions of Python installed? Are you sure that the process running Trac is using the same Python used on your command-line?

comment:5 Changed 17 years ago by traydent@…

Got this from the command line

# python -c "import neo_cgi; print dir(neo_cgi)"
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "build/bdist.linux-i686/egg/neo_cgi.py", line 7, in ?
  File "build/bdist.linux-i686/egg/neo_cgi.py", line 6, in __bootstrap__
ImportError: /root/.python-eggs/clearsilver-0.10.1-py2.4-linux-i686.egg-tmp/neo_cgi.so: undefined symbol: NERR_PARSE

Additionnaly, if it might show some usefull informations :

# ls -hvl /usr/lib/python2.*/site-packages/
/usr/lib/python2.3/site-packages/:
total 0
lrwxrwxrwx 1 root root 45 2008-02-08 01:01 _snackmodule.so -> ../../python2.4/site-packages/_snackmodule.so
lrwxrwxrwx 1 root root 39 2008-02-08 01:00 python-support.pth -> /var/lib/python-support/python2.3/.path
lrwxrwxrwx 1 root root 38 2008-02-08 01:01 snack.py -> ../../python2.4/site-packages/snack.py

/usr/lib/python2.4/site-packages/:
total 1,2M
[...]
drwxr-xr-x  4 root root 4,0K 2008-02-17 02:54 Bitten-0.6dev_r519-py2.4.egg
[...]
-rw-r--r--  1 root root 215K 2008-02-12 00:47 Genshi-0.5dev_r799-py2.4-linux-i686.egg
[...]
drwxr-xr-x  4 root root 4,0K 2008-02-08 22:31 Pygments-0.9-py2.4.egg
-rw-r--r--  1 root root  119 2008-01-03 13:36 README
drwxr-xr-x  4 root root 4,0K 2008-02-12 00:45 Trac-0.11dev_r6501-py2.4.egg
drwxr-xr-x  4 root root 4,0K 2008-02-19 14:55 Trac-0.11dev_r6558-py2.4.egg
-rw-r--r--  1 root root  43K 2008-02-12 00:48 TracAccountManager-0.2dev_r3111-py2.4.egg
-rw-r--r--  1 root root  79K 2008-02-12 00:49 TracRevtreePlugin-0.5.13dev_r2920-py2.4.egg
-rw-r--r--  1 root root  71K 2008-02-22 22:42 TracTags-0.6-py2.4.egg
-rw-r--r--  1 root root 7,7K 2008-02-12 00:49 TracTocMacro-11.0.0.2-py2.4.egg
-rw-r--r--  1 root root  30K 2008-02-12 00:49 TracWysiwyg-0.2_r3201-py2.4.egg
[...]
-rw-r--r--  1 root root  42K 2008-02-17 02:57 clearsilver-0.10.1-py2.4-linux-i686.egg
[...]
-rw-r--r--  1 root root  568 2008-02-22 22:42 easy-install.pth
lrwxrwxrwx  1 root root   68 2008-02-21 02:20 easy_install.py -> /usr/share/pycentral/python-setuptools/site-packages/easy_install.py
-rw-r--r--  1 root root  311 2008-02-21 02:20 easy_install.pyc
[...]
lrwxrwxrwx  1 root root   75 2008-02-22 02:39 pysqlite-2.4.1.egg-info -> /usr/share/pycentral/python-pysqlite2/site-packages/pysqlite-2.4.1.egg-info
drwxr-xr-x  2 root root 4,0K 2008-02-22 02:39 pysqlite2
[...]
drwxr-xr-x  4 root root 4,0K 2008-02-21 02:20 setuptools
drwxr-xr-x  4 root root 4,0K 2008-02-08 20:46 setuptools-0.6c7-py2.4.egg
drwxr-xr-x  2 root root 4,0K 2008-02-21 02:20 setuptools.egg-info
lrwxrwxrwx  1 root root   67 2008-02-21 02:20 setuptools.pth -> /usr/share/pycentral/python-setuptools/site-packages/setuptools.pth
lrwxrwxrwx  1 root root   60 2008-02-21 02:20 site.py -> /usr/share/pycentral/python-setuptools/site-packages/site.py
-rw-r--r--  1 root root 1,8K 2008-02-21 02:20 site.pyc
[...]

/usr/lib/python2.5/site-packages/:
total 264K
drwxr-xr-x 2 root root 4,0K 2008-02-08 01:01 Numeric
-rw-r--r-- 1 root root  24K 2007-09-26 21:18 _snackmodule.so
drwxr-xr-x 2 root root 4,0K 2008-03-02 21:58 apt
-rw-r--r-- 1 root root  16K 2008-02-19 21:08 apt_inst.so
-rw-r--r-- 1 root root 136K 2008-02-19 21:08 apt_pkg.so
drwxr-xr-x 2 root root 4,0K 2008-03-02 21:58 aptsources
drwxr-xr-x 2 root root 4,0K 2008-02-08 01:01 cairo
-rw-r--r-- 1 root root 5,8K 2008-01-30 02:23 debconf.py
-rw-r--r-- 1 root root  21K 2008-01-10 11:09 gmenu.so
drwxr-xr-x 2 root root 4,0K 2008-02-22 02:38 pysqlite2
lrwxrwxrwx 1 root root   39 2008-02-08 01:00 python-support.pth -> /var/lib/python-support/python2.5/.path
-rw-r--r-- 1 root root  227 2008-02-19 21:08 python_apt-0.6.17.egg-info
-rw-r--r-- 1 root root  28K 2007-09-26 21:15 snack.py

comment:6 Changed 16 years ago by iain@…

  • Priority changed from blocker to major
  • Type changed from defect to enhancement

I had exactly the same problem with trac 0.11, current svn bitten [547] and clearsilver 0.10.1. I resolved it by installing clearsilver 0.10.5 from source, similar to this person.

I had originally tried to easy_install clearsilver which could provide only 0.10.1. I think this would be a common mistake, so it might be worth indicating which versions are compatible in the bitten installation instructions, or even testing for the clearsilver version and giving a more specific error message. That said, I think this is a configuration issue, and not a bitten bug.

Thanks,

Iain Haslam.

Changed 16 years ago by iain@…

Suggested patch for installation docs.

comment:7 Changed 15 years ago by osimons

  • Resolution set to worksforme
  • Status changed from reopened to closed

Using a recent Trac 0.11.x and current Bitten 0.6dev from trunk, there is no longer any ClearSilver/HDF code remaining. Everything should run fine without it installed. Please reopen if any further issues are discovered.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.