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

Done by manual provided, but can not start it #10

Open
SFinctor opened this issue Sep 15, 2022 · 1 comment
Open

Done by manual provided, but can not start it #10

SFinctor opened this issue Sep 15, 2022 · 1 comment
Labels
question Further information is requested

Comments

@SFinctor
Copy link

-- Logs begin at Fri 2021-01-29 17:21:45 UTC, end at Thu 2022-09-15 22:57:20 UTC. --
Sep 15 22:38:41 bruny systemd[1]: Started Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:41 bruny mailToTelegramForwarder[2961]: Traceback (most recent call last):
Sep 15 22:38:41 bruny mailToTelegramForwarder[2961]: File "/usr/local/bin/mailToTelegramForwarder", line 278, in
Sep 15 22:38:41 bruny mailToTelegramForwarder[2961]: class MailBody:
Sep 15 22:38:41 bruny mailToTelegramForwarder[2961]: File "/usr/local/bin/mailToTelegramForwarder", line 281, in MailBody
Sep 15 22:38:41 bruny mailToTelegramForwarder[2961]: images: typing.Optional[dict[str, MailAttachment]] = None
Sep 15 22:38:41 bruny mailToTelegramForwarder[2961]: TypeError: 'type' object is not subscriptable
Sep 15 22:38:41 bruny systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Sep 15 22:38:41 bruny systemd[1]: [email protected]: Failed with result 'exit-code'.
Sep 15 22:38:42 bruny systemd[1]: [email protected]: Scheduled restart job, restart counter is at 1.
Sep 15 22:38:42 bruny systemd[1]: Stopped Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:42 bruny systemd[1]: Started Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:42 bruny mailToTelegramForwarder[2987]: Traceback (most recent call last):
Sep 15 22:38:42 bruny mailToTelegramForwarder[2987]: File "/usr/local/bin/mailToTelegramForwarder", line 278, in
Sep 15 22:38:42 bruny mailToTelegramForwarder[2987]: class MailBody:
Sep 15 22:38:42 bruny mailToTelegramForwarder[2987]: File "/usr/local/bin/mailToTelegramForwarder", line 281, in MailBody
Sep 15 22:38:42 bruny mailToTelegramForwarder[2987]: images: typing.Optional[dict[str, MailAttachment]] = None
Sep 15 22:38:42 bruny mailToTelegramForwarder[2987]: TypeError: 'type' object is not subscriptable
Sep 15 22:38:42 bruny systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Sep 15 22:38:42 bruny systemd[1]: [email protected]: Failed with result 'exit-code'.
Sep 15 22:38:42 bruny systemd[1]: [email protected]: Scheduled restart job, restart counter is at 2.
Sep 15 22:38:42 bruny systemd[1]: Stopped Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:42 bruny systemd[1]: Started Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:42 bruny mailToTelegramForwarder[2990]: Traceback (most recent call last):
Sep 15 22:38:42 bruny mailToTelegramForwarder[2990]: File "/usr/local/bin/mailToTelegramForwarder", line 278, in
Sep 15 22:38:42 bruny mailToTelegramForwarder[2990]: class MailBody:
Sep 15 22:38:42 bruny mailToTelegramForwarder[2990]: File "/usr/local/bin/mailToTelegramForwarder", line 281, in MailBody
Sep 15 22:38:42 bruny mailToTelegramForwarder[2990]: images: typing.Optional[dict[str, MailAttachment]] = None
Sep 15 22:38:42 bruny mailToTelegramForwarder[2990]: TypeError: 'type' object is not subscriptable
Sep 15 22:38:42 bruny systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Sep 15 22:38:42 bruny systemd[1]: [email protected]: Failed with result 'exit-code'.
Sep 15 22:38:43 bruny systemd[1]: [email protected]: Scheduled restart job, restart counter is at 3.
Sep 15 22:38:43 bruny systemd[1]: Stopped Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:43 bruny systemd[1]: Started Mail to Telegram Forwarder - Service for: 'mailToTelegramForwarder'.
Sep 15 22:38:43 bruny mailToTelegramForwarder[2993]: Traceback (most recent call last):

@awalon awalon added the question Further information is requested label Jul 12, 2023
@awalon
Copy link
Owner

awalon commented Jul 12, 2023

Hello,
this could be caused by an outdated Python3 version (similar to issue #14), please check that you used at least version 3.9.2.
Greets

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

No branches or pull requests

2 participants