Edgewall Software
Modify

Opened 17 years ago

Closed 15 years ago

#148 closed defect (worksforme)

Bitten 0.5.3 and from svn r378 failed to upgrade db on trac 0.10.3 with Postgresql backend using pyPgSQL

Reported by: TYatsurak@… Owned by: cmlenz
Priority: critical Milestone: 0.6
Component: General Version: dev
Keywords: trac 0.10.3 postgresql relation Cc:
Operating System: Linux

Description

Fedora 6,Python 2.4.4, Postgresql 8.1

Succesfull installation of svn version, "python setup.py test" issued only failed tests about custom svn build.

Bitten enabled in trac.ini, I see button "Build Status", but "trac-admin /trac upgrade --no-backup" shows "no upgrade neccesary", in db there are no bitten related tables, behind button:

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/bitten/trac_ext/web_ui.py", line 168, in process_request
  File "build/bdist.linux-i686/egg/bitten/trac_ext/web_ui.py", line 355, in _render_overview
  File "build/bdist.linux-i686/egg/bitten/model.py", line 163, in select
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 3111, in execute
    raise OperationalError, msg
OperationalError: ERROR:  relation "bitten_config" does not exist

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by osimons

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

I'm closing this. There are many confirmations that Bitten works with Postgres (except som remaining nits in other open tickets), but note that most will likely be using the psycopg2 db driver - which is the preferred way for TracInstall.

This ticket however suggests some install issue as it does not seem detect Bitten at all. Please update to Trac 0.11 and try Bitten trunk (0.6dev). Reopen ticket if problem persists.

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.