On Wed, 2019-03-27 at 12:36 -0500, Tim Camp wrote:
> Last thing I really want to play with is now and next because our
> plant is intensive in this respect.
> Four stations sending info to app, tunein, hd transmitter, rds and
> web.
> 
> So I have started trying to get pypad set up and am running into some
> problems which i'm sure are simply me not having something setup
> properly.
> 
> Is there any short tutorial on this yet?

Agreed, we do need an overview doc. I will try to get one up on the
wiki over the next couple days.


> I have got the scripts instances installed and configured but having
> errors with site id and user not found so I know there's something I
> haven't configured that is hanging me up. 

First thing to check is the Python version you are using. You need
v3.x. On CentOS 7 this initially posed a slight challenge because the
default Python version there is v2.4 and heavily used by various system
utilities. Hence, it cannot be altered or removed. Fortunately, that
distro has provision for easily running multiple Python versions side-
by-side.

If you look at the PyPAD scripts in the source tree
('apis/pypad/scripts/'), you'll see that the first line of each one
looks like this:

#!%PYTHON_BANGPATH%

When those scripts are actually installed into their final location,
the installer replaces that with a 'real' bangpath to the correct
Python interpreter (as detected by 'configure'). On CentOS 7, it gets
changed to:

#!/usr/bin/python3

So you want to be sure that you're aimed at the correct Python
installation. If you try to run PyPAD with Python 2.x, you will get all
sorts of strange errors.

Cheers!


|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |             Chief Developer             |
|                           |             Paravel Systems             |
|---------------------------------------------------------------------|
|         A room without books is like a body without a soul.         |
|                                                                     |
|                                                         -- Cicero   |
|---------------------------------------------------------------------|

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to