Post Reply 
CallStranger
28-06-2020, 20:13
Post: #4
RE: CallStranger
I have installed this package (not easy to get the right level of Python 3 that works with my Linux version). When I run the command:

Code:
python3 CallStranger.py

I get this error:

Code:
Traceback (most recent call last):
  File "CallStranger.py", line 3, in <module>
    import upnpy
  File "/sd1/callstranger/CallStranger-master/upnpy/__init__.py", line 29, in <module>
    from upnpy.upnp.UPnP import UPnP
  File "/sd1/callstranger/CallStranger-master/upnpy/upnp/UPnP.py", line 1, in <module>
    from upnpy.ssdp.SSDPRequest import SSDPRequest
  File "/sd1/callstranger/CallStranger-master/upnpy/ssdp/SSDPRequest.py", line 20
    self.set_header('HOST', f'{self.SSDP_MCAST_ADDR}:{self.SSDP_PORT}')
                                                                     ^
SyntaxError: invalid syntax

Is this perhaps because my version of Python (3.5.2) is too old? I tried newer versions of Python but they don't work with Ubuntu Xenial (I get SSL errors).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CallStranger - DrD - 28-06-2020, 09:42
RE: CallStranger - simoncn - 28-06-2020, 16:27
RE: CallStranger - DrD - 28-06-2020, 19:00
RE: CallStranger - simoncn - 28-06-2020 20:13
RE: CallStranger - simoncn - 28-06-2020, 20:33
RE: CallStranger - DrD - 28-06-2020, 21:01
RE: CallStranger - simoncn - 28-06-2020, 21:26
RE: CallStranger - DrD - 28-06-2020, 23:30
RE: CallStranger - Donuk - 30-06-2020, 13:13
RE: CallStranger - simoncn - 30-06-2020, 22:12
RE: CallStranger - Donuk - 01-07-2020, 07:35

Forum Jump:


User(s) browsing this thread: 1 Guest(s)