Opened 11 years ago

Closed 11 years ago

update failed

Reported by: Owned by: diley@… Colin Guthrie normal WorkLogPlugin normal 0.10

Description

after installing the WorkLogPlugin a update of the database is needed.
message:
update failed .... -> field 'time'

comment:1 Changed 11 years ago by Colin Guthrie

Oooh! My first customer!

Which revision are you using?

I don't have any field named time with the latest revision!

That said, did you run trac-admin /path/to/trac upgrade after the install?

I forgot to mention that on my Wiki page, which I'll add now :)

Col

comment:2 Changed 11 years ago by Colin Guthrie

Resolution: → fixed new → closed

OK, I've just checked and it works fine after running the trac-admin upgrade.

I was using a column name called time in an older version but this has since been dropped. This may have caused problems with older sqlite versions (tested on 3.4.0) and with other db backends.

Not tested on postgres or mysql but hopefully it should work.

Cheers.

comment:3 Changed 11 years ago by anonymous

Resolution: fixed closed → reopened

Worklog needs an upgrade
Command failed: 'builtin_function_or_method' object has no attribute 'time'


comment:4 Changed 11 years ago by Colin Guthrie

Resolution: → duplicate reopened → closed

Duplicate of #1710 (I know it's a later ticket, but it's got more info on it).

Modify Ticket

Change Properties