linuxmint / warpinator

Share files across the LAN
GNU General Public License v3.0
1.2k stars 81 forks source link

1.0.4 start up unsuccessful - TypeError: __init__() got an unexpected keyword argument 'host_ttl' #34

Closed SwampRabbit closed 4 years ago

SwampRabbit commented 4 years ago

Hello I am attempting to get a package of 1.0.4 (release) to work, I packaged with pbuilder with no changes to anything, installed build depends and run depends meet requirements or greater. Nothing special about the physical network. Warpinator starts up, but I get the following when launching:

2020-06-05 09:25:49,163::warpinator: Initializing Warpinator
2020-06-05 09:25:49,228::warpinator: Starting server on 10.10.10.10
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/libexec/warpinator/server.py", line 210, in run
    self.start_zeroconf()
  File "/usr/libexec/warpinator/server.py", line 83, in start_zeroconf
    other_ttl=30)
TypeError: __init__() got an unexpected keyword argument 'host_ttl'

I do have system logs, but I didn't see anything in them yet. Please let me know if there is anything I can provide or do to assist with narrowing down the issue. Thanks

mtwebster commented 4 years ago

Hi, sorry - this is fixed in git master: https://github.com/linuxmint/warpinator/commit/15ce1b783a0e6853492e22cb082eedab799b0cce

There have been quite a few other stability improvements, hopefully we'll get 1.0.5 out there soon.

SwampRabbit commented 4 years ago

@mtwebster thank you for the info, I'll package up git master and give it a go.

SwampRabbit commented 4 years ago

@mtwebster I've repackaged using Git master and now I get:

No module named 'netifaces'

I assume this is python3-netifaces and this is a new build depend / runtime depend not previously listed? I am packaging for a Debian Buster base BTW.

Edit for the above, I installed python3-netifaces and Warpinator launches, not sure why ${python3:Depends} in the control file didn't pull it in for me.

mtwebster commented 4 years ago

Fixed, I had thought it was in the standard python library.

Thanks

SwampRabbit commented 4 years ago

@mtwebster You bet, this is turning out to be a really useful application, keep up the great work!