Package Details: python3-threaded_servers 2020-1

Git Clone URL: https://aur.archlinux.org/python3-threaded_servers.git (read-only, click to copy)
Package Base: python3-threaded_servers
Description: Threaded server modules (ThreadedHTTPSServer, ThreadedMulticastServer, Quickserve, Pacserve).
Upstream URL: https://xyne.archlinux.ca/projects/python3-threaded_servers
Keywords: python server
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 81
Popularity: 0.117637
First Submitted: 2013-05-10 20:09
Last Updated: 2020-12-02 23:19

Latest Comments

1 2 Next › Last »

Xyne commented on 2020-12-02 23:15

Fixed. Thanks for reporting.

m.schabhuettl commented on 2020-12-02 14:40

@Xyne: can confirm that the fix from @radiomike works.

Anyone who has the same issue - a temporary fix could be, to change line 267 from:

bytestring = buf.tostring() to bytestring = buf.tobytes()

in /usr/lib/python3.9/site-packages/ThreadedServers/common.py

Cheers!

radiomike commented on 2020-12-02 12:54

Broken as of python 3.9 update.

Uses deprecated .tostring() method in common.py

Can be fixed by replacing .tostring() with .tobytes() in common.py

Xyne commented on 2020-07-26 16:14

@geekinthesticks makepkg uses the user's keyring, not pacman's keyring. You need to add my key with gpg, not pacman-key.

geekinthesticks commented on 2020-06-18 08:54

I am getting the following error: ==> Verifying source file signatures with gpg... python3-threaded_servers-2019.7.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680)

If I add the key:

bignuc AUR/python3-threaded_servers » sudo pacman-key --recv-keys EC3CBE7F607D11E663149E811D1F0DC78F173680 1 ↵ [sudo] password for ian: gpg: key 1D1F0DC78F173680: "Xyne. (key #3) xyne@archlinux.ca" not changed gpg: Total number processed: 1 gpg: unchanged: 1

The key is still not recognized.

Mouath commented on 2018-08-21 19:56

@olive you need to rebuild manually

yaourt -S python3-threaded_servers pacserve

olive commented on 2018-08-19 16:21

Seems to be broken as 19 August 2018.

/usr//bin/pacserve --multicast

crash with the following error:

Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib/python3.7/site-packages/ThreadedServers/Pacserve.py", line 320, in <module> run(main) File "/usr/lib/python3.7/site-packages/ThreadedServers/common.py", line 421, in run raise e File "/usr/lib/python3.7/site-packages/ThreadedServers/common.py", line 413, in run main() File "/usr/lib/python3.7/site-packages/ThreadedServers/Pacserve.py", line 309, in main page_generators, File "/usr/lib/python3.7/site-packages/ThreadedServers/Pacserve.py", line 108, in init super().init(args, kwargs) File "/usr/lib/python3.7/site-packages/ThreadedServers/PeeredQuickserve.py", line 194, in init super().init(*args, kwargs) File "/usr/lib/python3.7/site-packages/ThreadedServers/Quickserve.py", line 205, in init super().init(address, handler, options, args, kwargs) #Python3 File "/usr/lib/python3.7/site-packages/ThreadedServers/HTTPS.py", line 254, in __init__ http.server.HTTPServer.__init__(self, server_address, handler, *args, kwargs) File "/usr/lib/python3.7/socketserver.py", line 446, in init self.socket_type) File "/usr/lib/python3.7/socket.py", line 151, in init _socket.socket.init(self, family, type, proto, fileno) OSError: [Errno 97] Address family not supported by protocol</module>

It now seems to work after I re-enabled ipv6 (that I had disabled)

Xyne commented on 2018-04-26 11:28

I've added Avahi support alongside multicast support for peer detection. There are probably still some bugs to work out but it works so far in my initial tests.

Xyne commented on 2015-11-09 00:31

@thelinuxguy
Nope. I've posted my arguments online for using "python3-" instead of "python-". Briefly, it's logically consistent and will avoid similar renaming hassles as occurred with the 2-to-3 migration, however far off into the future it may be. Package names should be static and systematic, not implicitly dependent on external impermanent factors.

thelinuxguy commented on 2015-11-03 15:33

could you remove the '3' from the package name to conform with archlinux naming of packages?