Raspberry Pi 4 Tutorial - fatal error

More
7 years 2 months ago #143680 by BigJohnT
Replied by BigJohnT on topic Raspberry Pi 4 Tutorial

zanga wrote: On the page for installing OpenBox

sudo apt install OpenBox needs to be changed to:
sudo apt install openbox (at least on my system)


That typo has been fixed, thanks for the report.

JT

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #143700 by zanga
Replied by zanga on topic Raspberry Pi 4 Tutorial
yes, correct, after making the change I noted you can ssh in as root.

Its also best/easist to go ahead and reboot after renaming pi to 'newname' as there are still some processes running under pi so these 2 commands failed for me:

usermod -l newname pi
usermod -m -d /home/newname newname

until after a reboot and then subsequently logging in as root and then rerunning these commands worked fine. I'm sure could have hunted down and terminated the running processes but was just easier to reboot and then ssh back in as root to complete the 2 commands.

I haven't figured out how to add a menu item for linuxcnc in the openbox menu, it would be great if that was included in the tutorial.

Thanks kindly for putting together this tutorial it would have take me ages to figure all that out on my own.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #143701 by zanga
Replied by zanga on topic Raspberry Pi 4 Tutorial
actually the order needs to be:
1. set root password
2. enable root ssh access in sshd_config
3. reboot
4. ssh as root
5. usermod -l newname pi
6. usermod -m d /home/newname newname

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #143753 by zanga
Replied by zanga on topic Raspberry Pi 4 Tutorial
after following all of the steps w/ the RPI4 install when trying to start LinuxCNC I'm getting these errors.

1st error on startup says:
Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
file "/usr/lib/python2.7/dist-packages/gladevcp/iconview.py".line 179, in __init__
self.dirIcon = self._get_icon("folder")
file "/usr/lib/python2.7/dist-packages/gladevcp/iconview.py". line 265, in _get_icon
return them.load_icon(name, self.icon_size, 0)
GError: Icon 'gtk-directory' not present in theme
(on a dialog box with an ok button)

after clearing that error, the traditional linuxcnc screen comes up and almost immediatly the second error dialog box comes up as follows:

Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/gmoccapy, line 5158, in <module>
app = gmoccapy(sys.argv)
File "/usr/bin/gmoccapy", line 336, in __init__
self._init_iconFileSelection()
File "/usr/bin/gmoccapy", line 2061, in _init_IconFileSelection
self.widgets.IconFileSelection1.show_filelabel(False)
File "/usr/lib/python2.7/dist-packages/gladevcp/
iconview.py", line 386, in show_fileLabel
self.file_label.hide()
AttributeError: 'IconFileSelection' object has no attribute 'file_label'

also with an "OK" button the dialog box. After clearing this dialog box linuxcnc aborts

It seems like there are some graphics resources missing but not sure what or where to get them...

Ideas?

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #143762 by pl7i92
Replied by pl7i92 on topic Raspberry Pi 4 Tutorial
you may also install opencascade that brings in rely good GTK sources that also be used by linuxcnc

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #143919 by skunkworks
Replied by skunkworks on topic Raspberry Pi 4 Tutorial
I don't know if isolating 1,2,3 cores is realistic for running a machine. I am using andy's image and with 3 cores isolated I think there isn't enough for user space. There is hurky jurky motion. Isolating just one core seems ok as long as you don't use the machine for anything else. (don't run any youtube videos...)

sam

Please Log in or Create an account to join the conversation.

Time to create page: 0.244 seconds
Powered by Kunena Forum