HP Forums
I need help for disaster recovery - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: I need help for disaster recovery (/thread-11375.html)



I need help for disaster recovery - Podalirius - 09-10-2018 11:21 AM

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!!!


RE: I need help for disaster recovery - ijabbott - 09-10-2018 04:19 PM

(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.


RE: I need help for disaster recovery - Podalirius - 09-10-2018 05:18 PM

(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!!!