NextPVR Forums

Full Version: Locast - KeyError during install
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm a brand-new Locast user (donating $5/mo). I downloaded 0.9.4 and ran through the steps, but get the following error when running python locast.py install:

Generating 819 XMLTV file for C:\Users\Public\NPVR-data\locast-xmltv.xml
<Response [200]>
Getting list of stations based on DMA...
Loading FCC Stations list...
Generating extras file
Traceback (most recent call last):
  File "C:\Users\Public\NPVR-data\scripts\locast\locast.py", line 255, in <module>
    UpdateNextPVR(extrasbase, opts.base, xmltv_file[len(opts.base):])
  File "C:\Users\Public\NPVR-data\scripts\locast\lib\extrautils.py", line 13, in UpdateNextPVR
    backend.SessionLogin()
  File "C:\Users\Public\NPVR-data\scripts\locast\lib\libnextpvr.py", line 42, in SessionLogin
    salt = parse_qs(parsed.query)['salt'][0]
KeyError: 'salt'


What's my next step?

Thanks!
Locast seems to be connecting fine. Is NextPVR up and running?

If yes I want to sure that NextPVR is working what do you see with

curl -v http://localhost:8866/

Martin
Thanks for the quick response!
I get:

* Trying ::1...
* TCP_NODELAY set
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8866 (#0)
> GET / HTTP/1.1
> Host: localhost:8866
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Server: NextPVR WebLite
< Date: Wed, 01 Sep 2021 17:05:21 GMT
< X-AspNet-Version: 4.0.30319
< Location: /logon.aspx?ReturnUrl=%2fdefault.aspx
< Cache-Control: private
< Content-Type: text/html; charset=utf-8
< Content-Length: 154
< Connection: Close
<
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/logon.aspx?ReturnUrl=%2fdefault.aspx">here</a>.</h2>
</body></html>
* Closing connection 0
That looks like V4. Are you running V5 on port 8867?

Martin
Even worse: I was running 3.7.7!
I've uninstalled, installed latest and the scripts work just fine as expected.

thanks!!
Good to hear thanks for letting me know.

Martin