You are not logged in.

#201 2014-03-26 16:44:49

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: quickserve - easy ad-hoc file sharing

Hi xyne!
Thanks for this great piece of sw wink
I'm having troubles since, well don't know since when exactly. I only know 2 weeks ago quickserve was working pretty well.

quickserve --multicast /home/federico/share_dir/
/usr/bin/python3: Error while finding spec for 'ThreadedServers.MulticastQuickserve' (<class 'ImportError'>: No module named 'ThreadedServers')
pacman -Sl xyne-x86_64 | grep "installato"
xyne-x86_64 python3-threaded_servers 2014-1 [installato]
xyne-x86_64 quickserve 2013.5-1 [installato]
xyne-x86_64 reflector 2014-3 [installato: 2014-4]

(reflector from community)
I have python from testing (testing/python 3.4.0-2), i guess this is the cause, isn't it?

Again, thanks for your work wink

Offline

#202 2014-03-26 16:52:23

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,410
Website

Re: quickserve - easy ad-hoc file sharing

nierro wrote:

Hi xyne!
Thanks for this great piece of sw wink

Thanks smile

nierro wrote:

I have python from testing (testing/python 3.4.0-2), i guess this is the cause, isn't it?

Yep. The packages need to be rebuilt with Python 3.4. I will update the ones in my repo once Python 3.4 is officially released for Arch.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#203 2014-03-26 16:57:18

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: quickserve - easy ad-hoc file sharing

Ok, thank you very much smile

Offline

#204 2016-10-15 21:33:22

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,410
Website

Re: quickserve - easy ad-hoc file sharing

New option to recursively transfer directories:

  --tar {none,gz,bz2,xz} [{none,gz,bz2,xz} ...]
                        Enable directories to be transfered as optionally
                        compressed tar archives. This option accepts the
                        compression types to enable.

smile


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#205 2018-04-26 11:33:22

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,410
Website

Re: quickserve - easy ad-hoc file sharing

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.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#206 2018-10-10 11:54:59

Lassulus
Member
Registered: 2010-11-07
Posts: 8

Re: quickserve - easy ad-hoc file sharing

Since switching to NixOS I always missed quickserve.
Now I packaged it, I hope you don't mind https://github.com/NixOS/nixpkgs/pull/48083
I haven't packaged avahi support though. Maybe I will do it in the future.

Offline

#207 2018-11-04 03:25:14

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,410
Website

Re: quickserve - easy ad-hoc file sharing

@Lassulus
I don't mind at all. It's fun to see my projects show up on other distros. I've added a link to the project page. Thanks for creating a package on NixOS.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#208 2019-01-09 01:25:32

SubS0
Member
Registered: 2015-02-10
Posts: 32

Re: quickserve - easy ad-hoc file sharing

It seems to be a really nice tool !

I can't launch quickserve when the ipv6 stack is disabled and can't find a way to force ipv4-only. Is it possible ?

With ipv6 enabled, it works :

PeeredQuickserveServer
  PID              17665
  Addresses       
    br0:  192.168.1.110
    br0:  fe80::4216:7eff:feaa:e879
    eno1: fe80::4216:7eff:feaa:e879
    lo:   127.0.0.1
    lo:   ::1
  Port             8000
  Filelist         None
  Filterlist       None
  MOTD             None
  Upload directory None
  Tar              Disabled
  Paths           
    antoine
      /home/antoine
  Multicast        False
  Avahi            False
  Static Peers     None

br0 is a bridge tight to eno1.

I can't understand how to force listening on one address only, despites the -a option.

$ quickserve -a 192.168.1.110 .

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/PeeredQuickserve.py", line 565, 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/PeeredQuickserve.py", line 554, in main
    page_generators,
  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 452, in __init__
    self.server_bind()
  File "/usr/lib/python3.7/http/server.py", line 137, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind
    self.socket.bind(self.server_address)
socket.gaierror: [Errno -9] Address family for hostname not supported

Offline

#209 2019-01-27 18:56:43

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,410
Website

Re: quickserve - easy ad-hoc file sharing

The error should be fixed with today's release of python3-threaded_servers. Please test it and let me know if it works as expected. Thanks for reporting the error.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#210 2019-01-29 15:04:58

SubS0
Member
Registered: 2015-02-10
Posts: 32

Re: quickserve - easy ad-hoc file sharing

Yes Xyne, it now works as expected with -a option.
Thanks a lot, it is a very helpful software.

Offline

Board footer

Powered by FluxBB