Opened 17 years ago
Closed 17 years ago
#1702 closed defect (duplicate)
update failed
Reported by: | Owned by: | Colin Guthrie | |
---|---|---|---|
Priority: | normal | Component: | WorkLogPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
after installing the WorkLogPlugin a update of the database is needed.
message:
update failed .... -> field 'time'
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | 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.
Closing for now as it seems to work for me, but reopen with more info if the latest version causes you problems.
Cheers.
comment:3 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I've got an error while executing trac-admin upgrade:
Worklog needs an upgrade Upgrading usermanual Command failed: 'builtin_function_or_method' object has no attribute 'time'
comment:4 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Duplicate of #1710 (I know it's a later ticket, but it's got more info on it).
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