Post Reply 
I need help for disaster recovery
09-10-2018, 11:21 AM (This post was last modified: 09-10-2018 11:30 AM by Podalirius.)
Post: #1
I need help for disaster recovery
Hi, I had a severe disaster on my computer.
I reinstalled Xubuntu 18.04, then anaconda3 and pyILPER 1.7.2 for the PIL-Box.
It is passed great amout of time that I installed the pyILPER for the first time, and I don't
remember well all thinks to do.
Today Anaconda works well but starting the pyILPER give me the
message: Serial device not configured: Run pyILPER configuration.
I click over OK and pyILPER close with the error Segmentation Fault,
or the error: [1:1:0100/000000.634914:ERROR:broker_posix.cc(41)] Invalid node channel message
Segmentation fault (core dumped)
so I don't have any possibility to set the correct value for connection
to the ttyUSB0 port as in the pyILPER install and config manuals.
Connecting the pyILPER to the USB port cause as expected the creation
of ttyUSB0 on /dev.
Every help will be very greatly appreciated!!!
Thank you very much!!!
Find all posts by this user
Quote this message in a reply
09-10-2018, 04:19 PM
Post: #2
RE: I need help for disaster recovery
(09-10-2018 11:21 AM)Podalirius Wrote:  Hi, I had a severe disaster on my computer.
I reinstalled Xubuntu 18.04, then anaconda3 and pyILPER 1.7.2 for the PIL-Box.
It is passed great amout of time that I installed the pyILPER for the first time, and I don't
remember well all thinks to do.
Today Anaconda works well but starting the pyILPER give me the
message: Serial device not configured: Run pyILPER configuration.
I click over OK and pyILPER close with the error Segmentation Fault,
or the error: [1:1:0100/000000.634914:ERROR:broker_posix.cc(41)] Invalid node channel message
Segmentation fault (core dumped)
so I don't have any possibility to set the correct value for connection
to the ttyUSB0 port as in the pyILPER install and config manuals.
Connecting the pyILPER to the USB port cause as expected the creation
of ttyUSB0 on /dev.
Every help will be very greatly appreciated!!!
Thank you very much!!!

This is just a guess, but perhaps you are not in the "dialout" group? Debian and Ubuntu settings make "dialout" the group-owner of TTY serial ports. To check if you are in the "dialout" group, run the 'id' command and look for "20(dialout)" somewhere in the output ("dialout" has group ID 20 by default on Debian and Ubuntu).

If you are not in the "dialout" group, you can add yourself to the group as follows:

sudo gpasswd -a USERNAME dialout

where USERNAME is your username.

You need to log out and log in again for the above to take effect, then the 'id' command should show you to be a member of the "dialout" group.

If you are already in the "dialout" group, please ignore what I wrote above.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
09-10-2018, 05:18 PM (This post was last modified: 09-10-2018 06:50 PM by Podalirius.)
Post: #3
RE: I need help for disaster recovery
(09-10-2018 04:19 PM)ijabbott Wrote:  
(09-10-2018 11:21 AM)Podalirius Wrote:  Hi, I had a severe disaster on my computer.
I reinstalled Xubuntu 18.04, then anaconda3 and pyILPER 1.7.2 for the PIL-Box.
It is passed great amout of time that I installed the pyILPER for the first time, and I don't
remember well all thinks to do.
Today Anaconda works well but starting the pyILPER give me the
message: Serial device not configured: Run pyILPER configuration.
I click over OK and pyILPER close with the error Segmentation Fault,
or the error: [1:1:0100/000000.634914:ERROR:broker_posix.cc(41)] Invalid node channel message
Segmentation fault (core dumped)
so I don't have any possibility to set the correct value for connection
to the ttyUSB0 port as in the pyILPER install and config manuals.
Connecting the pyILPER to the USB port cause as expected the creation
of ttyUSB0 on /dev.
Every help will be very greatly appreciated!!!
Thank you very much!!!

This is just a guess, but perhaps you are not in the "dialout" group? Debian and Ubuntu settings make "dialout" the group-owner of TTY serial ports. To check if you are in the "dialout" group, run the 'id' command and look for "20(dialout)" somewhere in the output ("dialout" has group ID 20 by default on Debian and Ubuntu).

If you are not in the "dialout" group, you can add yourself to the group as follows:

sudo gpasswd -a USERNAME dialout

where USERNAME is your username.

You need to log out and log in again for the above to take effect, then the 'id' command should show you to be a member of the "dialout" group.

If you are already in the "dialout" group, please ignore what I wrote above.

Thank you for your help!!!
I have confused installing instructions.
I thinked that software dependencies will be resolved by anaconda.
But these dependencies are before the anaconda installing!
So I have installed all dependencies and now all works very well!
Again, thank you very much!!!
Find all posts by this user
Quote this message in a reply
Post Reply 




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