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

Docker seem dead #5

Open
billouetaudrey opened this issue Jun 1, 2023 · 3 comments
Open

Docker seem dead #5

billouetaudrey opened this issue Jun 1, 2023 · 3 comments

Comments

@billouetaudrey
Copy link

Hi, can you check it please :

Traceback (most recent call last): File "/epub_to_pdf/main.py", line 2, in <module> from telegram.ext import ( ImportError: cannot import name 'Filters' from 'telegram.ext' (/usr/local/lib/python3.10/dist-packages/telegram/ext/__init__.py) QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc' X connection to :1 broken (explicit kill or server shutdown). Ignoring window icon: Size 65538 exceeds maximum xcb request length 0. Ignoring window icon: Size 65538 exceeds maximum xcb request length 0. The X11 connection broke: I/O error (code 1) XIO: fatal IO error 2 (No such file or directory) on X server ":1" after 346 requests (346 known processed) with 0 events remaining.

@Helias
Copy link
Owner

Helias commented Jun 2, 2023

ImportError: cannot import name 'Filters' from 'telegram.ext'
This seems more an issue about the python-telegram-bot library, we should put a fixed version in the Docker file in the step pip3 install python-telegram-bot compatible with that, or we could replace Filters with filters

@Helias
Copy link
Owner

Helias commented Jun 2, 2023

hope I fixed it, check it now with the latest version

@Helias Helias closed this as completed Jun 2, 2023
@billouetaudrey
Copy link
Author

No fixed :'(

`[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.1.0 - built May 27 2023 18:53:23
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server
Traceback (most recent call last):
File "/epub_to_pdf/main.py", line 75, in
main()
File "/epub_to_pdf/main.py", line 62, in main
updater = Updater(TOKEN, use_context=True)
TypeError: Updater.init() got an unexpected keyword argument 'use_context'
X connection to :1 broken (explicit kill or server shutdown).
`

@Helias Helias reopened this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants