[Trac] OT - generic web database Trac-like system?
I like and use Trac. For a different purpose, I would like to track a list of items, each of which has many attributes. I thought of just adding a ton of custom fields to Trac, but it's not a great fit - I don't need the workflow aspects, but I like Trac's easy reporting and general UI. Is there some existing system that can do this? That is, make it easy to define/add fields to a database (preferably in web UI), then enter records into that database, then very flexibly sort/report on selected fields of the records? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] trac-admin initenv error: Cannot load Python bindings for SQLite
Hi, i'm trying to use the stable Trac version 0.12 on CentOS release 5.4 (Final) with Python 2.7.1 However, i ran into the error included below when i tried to creatd a new Trac environment TracError: Cannot load Python bindings for SQLite i suspect that is caused by two versions of Python installed in my system % /usr/local/bin/python -V Python 2.7.1 % /usr/bin/python -V Python 2.4.3 i should not touch the /usr/bin/python (2.4.3) installation since a lot of system-related stuff depends on it. The 2.7.1 Python was installed via "make altinstall" instead of "make install". For 2.7.1, i don't need to bother with the SQLite bindings AFAIK. Any suggestion what the problem might be? Thanks. -- # trac-admin /usr/local/trac/FOO initenv Creating a new Trac environment at /usr/local/trac/FOO Trac will first ask a few questions about your environment in order to initialize and prepare the project database. Please enter the name of your project. This name will be used in page titles and descriptions. Project Name [My Project]> FOO Please specify the connection string for the database to use. By default, a local SQLite database is created in the environment directory. It is also possible to use an already existing PostgreSQL database (check the Trac documentation for the exact connection string syntax). Database connection string [sqlite:db/trac.db]> Creating and Initializing Project Initenv for '/usr/local/trac/FOO' failed. Failed to create environment. Cannot load Python bindings for SQLite Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/admin/console.py", line 413, in do_initenv options=options) File "build/bdist.linux-i686/egg/trac/env.py", line 221, in __init__ self.create(options) File "build/bdist.linux-i686/egg/trac/env.py", line 409, in create DatabaseManager(self).init_db() File "build/bdist.linux-i686/egg/trac/db/api.py", line 145, in init_db connector, args = self.get_connector() File "build/bdist.linux-i686/egg/trac/db/api.py", line 195, in get_connector raise TracError(connector.error) TracError: Cannot load Python bindings for SQLite -- -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Git trac 0.12 post receive hook problem
Hi! We are having a problem in trac. When committing the new enhancements with git we do not see any information in the ticket. We installed the gitplugin and configure the post receiving hooks following http://trac-hacks.org/wiki/GitPlugin#post-receivehookscripts. Our requirement: As specified in CommitTicketUpdater documentation, the tickets typed in the commit message should display something in the ticket in trac, so we can access to the changeset from the ticket. The problem: Now when we commit the code with ‘command #ticket_number’, there is not new information in the ticket in trac (only the recorded changeset) We activated the DEBUG with a commit (see attached file) and we could not identity any problem (there is a line that says 'Failed to load Subversion bindings', but I am not sure this is relevant due we use git) OS: Debian Environment: Trac 0.12.1 Python: 2.5 Plugins: GitPlugin We would appreciate any help to solve this problem! Regards, Following is the debug log adlux-trac:/var/git/adlux-trac# git commit -am 'testing #3' Created commit 39b2cd1: testing #3 1 files changed, 1 insertions(+), 1 deletions(-) adlux-trac:/var/git/adlux-trac# git push Counting objects: 5, done. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 330 bytes, done. Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. To /var/git-server/adlux.git/ 8980ef7..39b2cd1 master -> master 03:31:10 Trac[env] INFO: environment startup [Trac 0.12] 03:31:10 Trac[loader] DEBUG: Loading git from /usr/lib/python2.5/site- packages/TracGit-0.12.0.5dev-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading github from /usr/lib/python2.5/ site-packages/GithubPlugin-0.4-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.about from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.admin.console from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.attachment from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.db.mysql from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.db.postgres from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:10 Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/ lib/python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": ("DistributionNotFound: Pygments>=0.6" not found) 03:31:11 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": ("DistributionNotFound: docutils>=0.3" not found) 03:31:11 Trac[loader] DEBUG: Loading trac.mimeview.silvercity from / usr/lib/python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Skipping "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]": ("DistributionNotFound: SilverCity>=0.9.4" not found) 03:31:11 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("DistributionNotFound: textile>=2.0" not found) 03:31:11 Trac[loader] DEBUG: Loading trac.prefs from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.search from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.ticket.query from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.ticket.report from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.timeline from /usr/lib/ python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.versioncontrol.admin from / usr/lib/python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_authz from /usr/lib/python2.5/site-packages/Trac-0.12-py2.5.egg 03:31:11 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_fs from / usr/lib/python2.5/site-packages/Trac-0.12