You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this would be under the circumstances where the founder deleted their account, the script will emit the following:
$ python atheme2json.py services.db test.json
Traceback (most recent call last):
File "atheme2json.py", line 133, in<module>sys.exit(main())
File "atheme2json.py", line 127, in main
output = convert(infile)
File "atheme2json.py", line 119, in convert
raise ValueError("no user corresponding to channel founder", chname, chdata.get('founder'))
ValueError: ('no user corresponding to channel founder', '#channel', None)
Where Atheme's ChanServ INFO for the channel would show something like:
> INFO #channel
ChanServ: Information on #channel:
ChanServ: Founder :
ChanServ: Successor : nick-of-successor
...
Atheme's help for ChanServ (/msg ChanServ HELP) emits the following:
<ChanServ> ***** ChanServ Help *****
<ChanServ> ChanServ gives normal users the ability to maintain control
<ChanServ> of a channel, without the need of a bot. Channel takeovers are
<ChanServ> virtually impossible when a channel is registered with ChanServ.
<ChanServ> Registration is a quick and painless process. Once registered,
<ChanServ> the founder can maintain complete and total control over the channel.
<ChanServ> Please note that channels will expire after 180 days of inactivity,
<ChanServ> or if there are no eligible channel successors.
<ChanServ> Activity is defined as a user with one of +FHORafhoqrsv being on the channel.
<ChanServ> Successors are primarily those who have the +S (if available) or +R flag
<ChanServ> set on their account in the channel, although other people may be chosen
<ChanServ> depending on their access level and activity.
In which it states that the successor can be used (base on "+S (if available) or +R flag" or "although other people may be chosen depending on their access level and activity" in which, perhaps it would make sense for the script to elect the successor (unless Oragono has a similar concept). I can try and make a fix, we would have to introduce logic to determine a successor based on all the CA lines.
The text was updated successfully, but these errors were encountered:
kylef
changed the title
atheme2json exits when a channel doesn't have foundation, but does have a successor
atheme2json exits when a channel doesn't have founder, but does have a successor
Nov 27, 2020
I think this would be under the circumstances where the founder deleted their account, the script will emit the following:
Where Atheme's
ChanServ INFO
for the channel would show something like:Atheme's help for ChanServ (
/msg ChanServ HELP
) emits the following:In which it states that the successor can be used (base on "+S (if available) or +R flag" or "although other people may be chosen depending on their access level and activity" in which, perhaps it would make sense for the script to elect the successor (unless Oragono has a similar concept). I can try and make a fix, we would have to introduce logic to determine a successor based on all the
CA
lines.The text was updated successfully, but these errors were encountered: