mcctor / artbutler Goto Github PK
View Code? Open in Web Editor NEWA telegram bot responsible for curating & filtering posts according to specified criteriia from various social listings.
A telegram bot responsible for curating & filtering posts according to specified criteriia from various social listings.
I think it probably has to do with the Buffer::difference method in aggregator.rs ... I'm actually thinking of replacing it simply with a database check since the backend is already there.
Apr 24 11:31:10 PM thread 'tokio-runtime-worker' panicked at 'error loading subscribed listings.: DatabaseError(ClosedConnection, "SSL connection has been closed unexpectedly\n")', src/aggregator.rs:114:14
Apr 24 05:23:06 PM INFO artbutler::curator > No new post since last poll for r/memes
, increased wait interval to 32s
Apr 24 05:23:09 PM thread 'tokio-runtime-worker' panicked at 'called Option::unwrap()
on a None
value', src/telegram.rs:42:67
Apr 24 05:23:32 PM INFO artbutler::curator > No new post since last poll for r/earthporn
, increased wait interval to 32s
Apr 24 05:23:38 PM INFO artbutler::curator > 1 new post(s) found for r/memes
! Resetting wait interval
Apr 24 05:23:39 PM INFO artbutler::curator > No new post since last poll for r/memes
, increased wait interval to 2s
Apr 24 05:23:41 PM INFO artbutler::curator > No new post since last poll for r/memes
, increased wait interval to 4s
Apr 24 05:23:42 PM INFO artbutler::telegram > Forwarded PostID: '12xhh23' to UserID: '459911024'
Apr 24 05:23:45 PM INFO artbutler::curator > No new post since last poll for r/memes
, increased wait interval to 8s
Apr 24 05:23:53 PM thread 'main' panicked at 'TX is dead: SendError(Update { id: 434000856, kind: Message(Message { id: MessageId(14440), thread_id: None, date: 2023-04-24T14:23:53Z, chat: Chat { id: ChatId(459911024), kind: Private(ChatPrivate { username: Some("mcctor"), first_name: Some("Mark"), last_name: None, emoji_status_custom_emoji_id: None, bio: None, has_private_forwards: None, has_restricted_voice_and_video_messages: None }), photo: None, pinned_message: None, message_auto_delete_time: None, has_hidden_members: false, has_aggressive_anti_spam_enabled: false }, via_bot: None, kind: Common(MessageCommon { from: Some(User { id: UserId(459911024), is_bot: false, first_name: "Mark", last_name: None, username: Some("mcctor"), language_code: Some("en"), is_premium: true, added_to_attachment_menu: false }), sender_chat: None, author_signature: None, forward: None, reply_to_message: None, edit_date: None, media_kind: Text(MediaText { text: "/listen art new", entities: [MessageEntity { kind: BotCommand, offset: 0, length: 7 }] }), reply_markup: None, is_topic_message: false, is_automatic_forward: false, has_protected_content: false }) }) })', /opt/render/project/.cargo/registry/src/github.com-1ecc6299db9ec823/teloxide-0.12.2/src/dispatching/dispatcher.rs:4
I think it has to do with the UserAggregator::listen
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.