Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1208141

Bug#1075997: pagekite: Fail with python 3.12 (AttributeError: module 'ssl' has no attribute 'wrap_socket')

From Petter Reinholdtsen <pere@hungry.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1075997: pagekite: Fail with python 3.12 (AttributeError: module 'ssl' has no attribute 'wrap_socket')
Date 2024-08-13 08:10 +0200
Message-ID <JaSTf-4FUd-3@gated-at.bofh.it> (permalink)
References (2 earlier) <IYydz-148G-1@gated-at.bofh.it> <IYydz-148G-1@gated-at.bofh.it> <JaSTf-4FUd-5@gated-at.bofh.it> <IYd97-Rbt-1@gated-at.bofh.it> <JaSTf-4FUd-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Sunil Mohan Adapa]
> I have a slightly different patch. I have been able to eliminate the
> error and also replace the old method with new one while keeping all
> the old behavior. I have tested that it was able to connect
> successfully to the server. However, I don't have credits in my
> account. Please help test it further. If it looks good, we can make a
> release of the package.

I can confirm that this got my pagekite working again.

The service emit some strange messages to journald, but I believe those
are not relevant for this error and not fatal:

pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/pk.py:1242: SyntaxWarning: invalid escape sequence '\.'
pagekite[20706]:   'localhost': '((::ffff:)?127\..*|::1)',
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/common.py:153: SyntaxWarning: invalid escape sequence '\.'
pagekite[20706]:   SERVICE_DOMAIN_RE = re.compile('\.(' + '|'.join(SERVICE_DOMAINS) + ')$')
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/selectables.py:656: SyntaxWarning: invalid escape sequence '\s'
pagekite[20706]:   XMPP_REGEXP = re.compile("<[^>]+\sto=([^\s>]+)[^>]*>")
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:163: SyntaxWarning: invalid escape sequence '\d'
pagekite[20706]:   HTTP_HEADER = re.compile('(?ism)^(([A-Z]+) ([^\n]+) HTTP/\d+\.\d+\s*)$')
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:216: SyntaxWarning: invalid escape sequence '\.'
pagekite[20706]:   '(?:wp-admin/(?!admin-ajax|css/)|wp-config\.php'
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:218: SyntaxWarning: invalid escape sequence '\.'
pagekite[20706]:   '|system32/|\.\.|\.ht(?:access|pass)'
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:222: SyntaxWarning: invalid escape sequence '\.'
pagekite[20706]:   '|(?:adm[^\n]*|install[^\n]*|setup)\.php)'
pagekite[20706]: /usr/lib/python3/dist-packages/pagekite/proto/filters.py:224: SyntaxWarning: invalid escape sequence '\d'
pagekite[20706]:   ' HTTP/\d+\.\d+\s*)$')

Perhaps worthy of its own bug report, or to be ignored as not fatal?

-- 
Happy hacking
Petter Reinholdtsen

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1075997: pagekite: Fail with python 3.12 (AttributeError: module 'ssl' has no attribute 'wrap_socket') Petter Reinholdtsen <pere@hungry.com> - 2024-07-09 09:10 +0200
  Bug#1075997: pagekite: Fail with python 3.12 (AttributeError: module 'ssl' has no attribute 'wrap_socket') Petter Reinholdtsen <pere@hungry.com> - 2024-07-10 07:40 +0200
  Bug#1075997: pagekite: Fail with python 3.12 (AttributeError: module 'ssl' has no attribute 'wrap_socket') Petter Reinholdtsen <pere@hungry.com> - 2024-08-13 08:10 +0200

csiph-web