From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.1.5] (unknown [101.128.125.100]) by gnuweeb.org (Postfix) with ESMTPSA id CA503804D1; Sat, 3 Sep 2022 10:52:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1662202336; bh=30yPUhQc9dtxGKiNf/JLcNtgA3P9zfdbZG58PndeBMs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OD0Gviwwj/X/GOs22HUIinBmPB7UN+MTDRwRef8sxJ9WS+SlLZDBONdmCmJwstOGL OFvUo/dGcodX2c24OMO2AXhaJV4geEfaHRqR7/jlI3PkNZqoS4cX4ihioeTsYQpaCq nRsPdLfigY305GsHxvYWoqUizutBPpqj4pzlpBjDgsc0hL+Z5cNk8seRjq5tdy7Bg1 8J94JbQ17WmPYka4E6BKIAiG+tvuZZohqMM6KH5HQ6dO0vGBf3w06AcXQAvItjKMuX KdiH/ZM2d6hmC1j1xi8m/3GkMcbIJQ3/TaK6ZJ6prwoRluafW4Ii/U1fBPw9189Si/ eqM0rQld8PkuQ== Message-ID: Date: Sat, 3 Sep 2022 17:52:13 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v2 0/3] New Discord bot and full refactor scripts Content-Language: en-US To: Ammar Faizi Cc: GNU/Weeb Mailing List , Alviro Iskandar Setiawan References: <20220827030236.1094-1-kiizuha@gnuweeb.org> <7a414bd1-68f1-86a4-e647-7ee071a4300d@gnuweeb.org> <4de7a42e-bdae-f3b3-2674-20d673d71a58@gnuweeb.org> <643c97fb-d517-4662-4ce0-6e31a97c9e07@gnuweeb.org> <604e99d6-23fb-8a47-5445-ca10c8655729@gnuweeb.org> <37043daf-bbf9-1ed5-185c-2c223313a0a7@gnuweeb.org> <32523d6d-17c4-82c0-c76a-2c85c92b3a12@gnuweeb.org> From: Muhammad Rizki In-Reply-To: <32523d6d-17c4-82c0-c76a-2c85c92b3a12@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: On 03/09/2022 17.34, Ammar Faizi wrote: > On 9/3/22 5:32 PM, Ammar Faizi wrote: >> I got other errors when the bot is broadcasting the email to a Discord >> channel. Will send that in a separate email. > > I don't have the reproducer for these errors, so let's ignore it at the > moment unless you exactly understand what the cause of these: > > Execution of job "Listener.__run (trigger: interval[0:00:30], next run > at: 2022-09-03 17:22:44 WIB)" skipped: maximum number of running > instances reached (1) >   [send_text_email] >   Traceback (most recent call last): >     File > "/home/ammarfaizi2/app/lore-daemon.dev/daemon/dscord/mailer/listener.py", line 50, in __run >       await self.__handle_atom_url(url) >     File > "/home/ammarfaizi2/app/lore-daemon.dev/daemon/dscord/mailer/listener.py", line 69, in __handle_atom_url >       await self.__handle_mail(url, mail) >     File > "/home/ammarfaizi2/app/lore-daemon.dev/daemon/dscord/mailer/listener.py", line 77, in __handle_mail >       await self.__send_to_discord(url, mail, >     File > "/home/ammarfaizi2/app/lore-daemon.dev/daemon/dscord/mailer/listener.py", line 121, in __send_to_discord >       await m.reply(f"{d}/{f}", file=File(f)) >     File > "/home/ammarfaizi2/.local/lib/python3.10/site-packages/discord/file.py", > line 97, in __init__ >       self.fp = open(fp, 'rb') >   FileNotFoundError: [Errno 2] No such file or directory: > '0001-io_uring-cleanly-separate-request-types-for-iopoll.patch' > My other mistakes, I think it's because I didn't add the env value for `STORAGE_DIR`, but it's weird, I tested it just fine last time :thinking: