Modify

Opened 14 years ago

Last modified 10 years ago

#8375 new defect

Cannot set up beta version without errors

Reported by: afrogamer@… Owned by:
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 (1)

comment:1 Changed 10 years ago by Ryan J Ollos

Owner: John Hampton deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.