GerryDazoo / Slinger

Reuse SlingBox hardware without SlingBox Servers
170 stars 34 forks source link

Works great when I run python code in Thonny Python IDE, but #299

Closed skijohn877 closed 1 year ago

skijohn877 commented 1 year ago

Works great when I run python code in Thonny Python IDE on my raspberry pi, but when I copy sling.service and try to enable with systemctl it gets an error -

root@pihole:/tmp# cat sling.log File "slingbox_server.py", line 363 nonlocal sid, seq, s_ctl, dbuf, skey, stat, smode ^ SyntaxError: invalid syntax

GerryDazoo commented 1 year ago

Your using python2. THe software requires python3

skijohn877 commented 1 year ago

Thanks, works great now