Modify ↓
Opened 18 years ago
Closed 15 years ago
#150 closed defect (worksforme)
build fails on latest trac svn with bitten-master with postgres
Reported by: | ben@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build master | Version: | dev |
Keywords: | Cc: | ||
Operating System: | BSD |
Description
When running bitten-master, the bitten-slave is unable to get past the Registration phase as bitten-master fails with the following message:
Traceback (most recent call last): File "/usr/local/bin/bitten-master", line 7, in ? sys.exit( File "/usr/local/src/bitten/bitten/master.py", line 467, in main master.run(timeout=5.0) File "/usr/local/src/bitten/bitten/util/beep.py", line 134, in run callback() File "/usr/local/src/bitten/bitten/master.py", line 67, in _enqueue_builds queue.populate() File "/usr/local/src/bitten/bitten/queue.py", line 194, in populate build.insert(db=db) File "/usr/local/src/bitten/bitten/model.py", line 413, in insert (self.config, self.rev, self.rev_time, self.platform, File "/usr/local/src/trac/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/local/src/trac/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/local/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 3111, in execute raise OperationalError, msg libpq.OperationalError: ERROR: syntax error at or near ""UTC"" at character 179
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by ben@…
comment:2 Changed 15 years ago by osimons
- Resolution set to worksforme
- Status changed from new to closed
I'm quite sure this has been fixed since ticket was created, as many users run Postgres without reporting this issue. I'm closing it, but please reopen if this is still a problem with recent Trac and recent Bitten trunk.
Note: See
TracTickets for help on using
tickets.
After updating to 8.2.3 postgres, I was able to get a little more insight into the issue, new traceback with postgres error from the logs:
It would appear the repr of a datetime object is not being done properly into a valid SQL datetime.