ports/153322: www/trac-timingandestimation fails to install
Sergey Chernikov
s.bilberry at gmail.com
Mon Dec 20 20:00:23 UTC 2010
>Number: 153322
>Category: ports
>Synopsis: www/trac-timingandestimation fails to install
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 20 20:00:22 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sergey Chernikov
>Release: 8.2-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD mserv.home.local 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #6: Wed Dec 1 10:14:27 MSK 2010 sc at mserv.home.local:/usr/src/sys/amd64/compile/MSERV amd64
>Description:
DB backend is PostgreSQL 8.4.5.
Upgrading Database Creating bill_date table InternalError: current transaction is aborted, commands ignored until end of transaction block
trac.log warnings and errors for this trac-admin run:
2010-12-19 13:16:43,119 Trac[console] ERROR: Exception in trac-admin command: Traceback (most recent call last):
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/trac/admin/console.py", line 107, in one cmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/usr/local/lib/python2.6/cmd.py", line 218, in onecmd
return self.default(line)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/trac/admin/console.py", line 257, in default
return cmd_mgr.execute_command(*args)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/trac/admin/api.py", line 123, in execute_command
return f(*fargs)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/trac/env.py", line 790, in _do_upgrade
self.env.upgrade(backup=no_backup is None)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/trac/env.py", line 533, in upgrade
with_transaction(self)(participant.upgrade_environment)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/trac/db/api.py", line 77, in transaction_wrapper
fn(ldb)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/timingandestimationplugin/api.py", line 266, in upgrade_environment
self.do_db_upgrade()
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/timingandestimationplugin/api.py", line 114, in do_db_upgrade
dbhelper.set_system_value(self.env, self.db_version_key, self.db_version)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/timingandestimationplugin/dbhelper.py", line 104, in set_system_value
value, key)
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/timingandestimationplugin/dbhelper.py", line 20, in execute_non_query
execute_in_trans(env, (sql, params))
File "build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/timingandestimationplugin/dbhelper.py", line 58, in execute_in_trans
raise e
InternalError: current transaction is aborted, commands ignored until end of transaction block
InternalError: current transaction is aborted, commands ignored until end of transaction block
I've filled a ticket on trac-hacks.org (#8324) it was closed with resolution: "Inappropriate plugin version is used"
>How-To-Repeat:
cd /usr/ports/www/trac-timingandestimation && make install clean
trac-admin <env> upgrade
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list