Modify ↓
Opened 16 years ago
Last modified 11 years ago
#7084 new defect
[Patch] Search index updater script doesn't work
| Reported by: | Thomas Moschny | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | IrcLogsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
At least in our setup, where SupyBot logs the channel contents to a new file each day, the update-irc-search script doesn't work properly. It throws a lot of IO errors, and creates subdirectories for each logfile within the irclogs.idx dir:
$ find /tmp/irclogs.idx /tmp/irclogs.idx/#channel.20080805.log.idx /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db/config /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db/wordid /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db/idword /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db/attributes /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db/uris /tmp/irclogs.idx/#channel.20080805.log.idx/builtin.db/words /tmp/irclogs.idx/#channel.20080804.log.idx /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db/config /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db/wordid /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db/idword /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db/attributes /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db/uris /tmp/irclogs.idx/#channel.20080804.log.idx/builtin.db/words [...]
The attached patch replaces irclogs/console.py with a version that fixes the issue for us. The idea is of course stolen from the parse_refactor branch.
Attachments (1)
Change History (4)
Changed 16 years ago by
| Attachment: | update-irc-search.patch added |
|---|
comment:1 Changed 16 years ago by
| Summary: | Search index updater script doesn't work → [Patch] Search index updater script doesn't work |
|---|
comment:2 Changed 15 years ago by
| Owner: | changed from John Hampton to Robert Corsaro |
|---|
comment:3 Changed 11 years ago by
| Owner: | Robert Corsaro deleted |
|---|
Note: See
TracTickets for help on using
tickets.


