Package Details: python3-threaded_servers 2019.7-1

Git Clone URL: https://aur.archlinux.org/python3-threaded_servers.git (read-only)
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: 80
Popularity: 2.14
First Submitted: 2013-05-10 20:09
Last Updated: 2019-07-04 23:29

Latest Comments

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?

Xyne commented on 2015-02-28 22:46

You need to import the key. Please read the wiki to learn how to manage PGP keys with makepkg.

xubin990510 commented on 2015-02-26 04:04

The PGP signature failed to verify!
With yaourt it tells me:
python3-threaded_servers-2014.11.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680)

hamelg commented on 2013-05-12 19:25

After upgrading, pacserve fails to start with the error :

systemd[1]: Unit pacserve.service entered failed state.
systemd[1]: pacserve.service: main process exited, code=exited, status=1/FAILURE
pacserve[8175]: /usr/bin/python3: No module named Pacserve

to solve that, I just fix the library path in /usr/bin/pacserve :
python3 -mThreadedServers.Pacserve "$@"

hamelg commented on 2013-05-12 19:11

After upgrading, pacserve fails to start with the error :

systemd[1]: Unit pacserve.service entered failed state.
systemd[1]: pacserve.service: main process exited, code=exited, status=1/FAILURE
pacserve[8175]: /usr/bin/python3: No module named Pacserve