Modify

Opened 4 years ago

#8375 new defect

Cannot set up beta version without errors

Reported by: afrogamer@… Owned by: pacopablo
Priority: normal Component: IrcLogsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Instructions for configuring the beta version seem confusing. Default config makes reference to gozer but not to supy, although both are meant to be supplied.

I had 0.11 set up and working, but I need multiple channel support, so upgraded to the beta.

I currently have "TypeError: not enough arguments for format string" on trying to load trac. That's with this config:

[irclogs]
basepath = /var/lib/supybot/logs/ChannelLogger
channel = #livesim
indexer = builtin:///var/lib/trac/indexer/irclogs.idx?cache=true
navbutton = IRC Logs
show_msg_types = comment,action
provider = file
timezone = UTC
format = supy
paths = %%(channel).s%%Y%%m%%d.log
network = alitheg

If I change the paths to be minus the 's' (unless it's a special character which I've misunderstood), I get "ValueError: unsupported format character 'm' (0x6d) at index 14"

I've even tried the example path of:

%%(channel)s/%%(channel)s-%%Y-%%m-%%d.log

but that just gives the original type error.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.