Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not crash on bad Python service files #40

Open
Arkiver2 opened this issue Jan 30, 2016 · 2 comments
Open

Do not crash on bad Python service files #40

Arkiver2 opened this issue Jan 30, 2016 · 2 comments
Assignees
Labels

Comments

@Arkiver2
Copy link
Member

When a bad Python file is found a message should be printed in the IRC channel to let admins know which Python file should be manually fixed.

@Arkiver2 Arkiver2 added the bug label Jan 30, 2016
@Arkiver2 Arkiver2 self-assigned this Jan 30, 2016
@Arkiver2
Copy link
Member Author

Examples of bad Python service files:

refresh = 7
version = 20160125.01

urls = ['http://www.ibtimes.com.au',
        'http://cn.ibtimes.com',
        'http://www.ibtimes.co.in',
        'http://it.ibtimes.com',
        'http://jp.ibtimes.com',
        'http://www.ibtimes.co.uk',
        'http://www.ibtimes.com']
regex = [r'^https?:\/\/[^\/]*ibtimes/.co\/]
videoregex = []
liveregex = []
refresh = 4
version = 20160125.01

urls = ['http://www.ft.com/rss/home/asia',
        'http://www.ft.com/rss/home/europe',
        'http://www.ft.com/rss/home/india',
        'http://www.ft.com/rss/home/middleeast',
        'http://www.ft.com/rss/home/uk',
        'http://www.ft.com/rss/home/us']
regex = [r'^https?:\/\/[^\/]*ft\.com\/']
videoregex = []r'^https?:\/\/[^\/]*video\.ft\.com\/']
liveregex = []

@Arkiver2
Copy link
Member Author

The messages warning for a bad Python service file should be printed to both the discussion channel and the bot channel, because of the importance of the fix that should be made. Without the fix the bot can't update the Python service files it has loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant