Post Reply 
pyILPER Version 1.3.3 released
04-22-2016, 08:14 PM
Post: #41
RE: pyILPER Version 1.3.3 released
(04-22-2016 07:27 PM)Dave Frederickson Wrote:  When trying to install the developmental version I get about 5 errors...
Bob, any difficulty getting a connection or slow performance with the terminal?

No, no issues at all; I did this:

1. Created folder "134" in c:\work
2. Extracted Dev134 zip file (preserving folders) into c:\work\134
3. Created start_pyilper_v134dev.cmd in c:\work (see code below)
4. Send shortcut of .cmd file to desktop (then rename if desired)
5. Right-click on new desktop icon, click on Properties
6. On Shortcut tab, change 6th item down (Run) to "Minimized" via drop-down list (to hide DOS window while ipyILPer is running)
7. Double click on icon and pyILPer starts right up

.cmd file contents:
Code:
:: Startup script to launch pyILPer dev version 1.3.4
:: Opens in c:\work
::

c:
chdir \work

python C:\Work\134\pyilper-master\start.py

Did you manually modify the config file? The trace-back seems to imply the JSON decoder crashed, perhaps due to an invalid file? If so, try killing it, and pyILPer will likely create a new one; but it's just a guess, I've no idea how Python works.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
04-23-2016, 03:00 PM
Post: #42
RE: pyILPER Version 1.3.3 released
(04-22-2016 07:27 PM)Dave Frederickson Wrote:  When trying to install the developmental version I get about 5 errors like this:
Code:
C:\Users\Dave>python h:\pyilper-master\start.py
Traceback (most recent call last):
  File "h:\pyilper-master\pyilper\userconfig.py", line 101, in read
    config= json.load(f)
  File "C:\Miniconda3\lib\json\__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "C:\Miniconda3\lib\json\__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "C:\Miniconda3\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Miniconda3\lib\json\decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Bob, any difficulty getting a connection or slow performance with the terminal?

Dave

Dave,
The issue you are having is because you have installed it through the "python3 setup.py install" command as instructed.
The above command install the package into the standard python3 environment and not into the parallel anaconda environment.
Now, while anaconda manage all the dependencies for you, the standard python3 does not.
This mean that you have to search the web for the missing packages and install them individually.
In this case, pyPILPER is installed but it is missing QT (qt-4.8.7-1), pyQT (pyqt-4.11.4-py35_1), pySerial (pyserial-2.7-py35_0) and probably others.
Typical developer and/or sys admin stuff.
I am not a Python developer and I am not aware of the helper tools that a knowledgeable python developer uses.
I did the same as you and got the same results, then I have installed pySerial and got a little further, now I have to install QT and this seems more complicated.
I have to stop because I need to do other tests and when theses tests are completed, I will do it and give you the package list plus the install procedure.
Sylvain
Find all posts by this user
Quote this message in a reply
04-23-2016, 03:07 PM
Post: #43
RE: pyILPER Version 1.3.3 released
(04-23-2016 03:00 PM)Sylvain Cote Wrote:  The issue you are having is because you have installed it through the "python3 setup.py install" command as instructed.

Hi Sylvain,

I reinstalled MiniConda and now it works.

Dave
Find all posts by this user
Quote this message in a reply
Post Reply 




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