- Posts: 757
- Thank you received: 0
Update Plasmac?
- islander261
- Topic Author
- Offline
- Platinum Member
-
Less
More
6 years 7 months ago #159958
by islander261
Replied by islander261 on topic Update Plasmac?
Thanks for the tips guys. My new .ini file was missing the machine definition .hal file call. All is working now!
The problem was that when I updated the the configuration the new my_plasmac.ini file didn't have my machine definitions, my_plasmac.hal, was left out! Now looking at what happened the configurator replaced the my_plasmac.hal with plasmac.tcl AND installed a second copy of plasmac.tcl.
So from my old configuration:
And the one made by the configurator:
Thanks again for the help, I am a bit rusty after being away for awhile.
John
The problem was that when I updated the the configuration the new my_plasmac.ini file didn't have my machine definitions, my_plasmac.hal, was left out! Now looking at what happened the configurator replaced the my_plasmac.hal with plasmac.tcl AND installed a second copy of plasmac.tcl.
So from my old configuration:
Code:
[HAL]
# required
TWOPASS = ON
# the base machine
HALFILE = my_plasmac.hal
# the plasmac component connections
HALFILE = plasmac.hal
HALFILE = LIB:xhc-hb04_plasmac.tcl
# the plasmac machine connections
HALFILE = my_plasmac_connections.hal
# use this for customisation after GUI has loaded
POSTGUI_HALFILE = postgui.hal
# required
HALUI = halui
And the one made by the configurator:
Code:
[HAL]
# required
TWOPASS = ON
# the base machine
HALFILE = plasmac.tcl
# the plasmac component connections
HALFILE = plasmac.tcl
HALFILE = LIB:xhc-hb04_plasmac.tcl
# the plasmac machine connections
HALFILE = my_plasmac_connections.hal
# use this for customisation after GUI has loaded
POSTGUI_HALFILE = postgui.hal
# required
HALUI = halui
Thanks again for the help, I am a bit rusty after being away for awhile.
John
Please Log in to join the conversation.
6 years 7 months ago #159960
by phillc54
Replied by phillc54 on topic Update Plasmac?
Sorry John, that was my fault.
The Configurator looks for "plasmac.hal" being in a line, I need to make it more specific.
The Configurator looks for "plasmac.hal" being in a line, I need to make it more specific.
Please Log in to join the conversation.
- islander261
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 757
- Thank you received: 0
6 years 7 months ago #159963
by islander261
Replied by islander261 on topic Update Plasmac?
Phill
Thanks for the help. This actually helped by serving as a kick in the $$$ to pay attention to all the details required to make Linuxcnc work.
John
Thanks for the help. This actually helped by serving as a kick in the $$$ to pay attention to all the details required to make Linuxcnc work.
John
Please Log in to join the conversation.
6 years 7 months ago #159969
by phillc54
Replied by phillc54 on topic Update Plasmac?
It would be even scarier if you did an update after a long time and it "just worked"
Please Log in to join the conversation.
6 years 6 months ago #165639
by Clive S
Replied by Clive S on topic Update Plasmac?
Phill
I am having trouble updating plasmac. It is saying update not required from version 0.097 or later. I have attached my configs.
it might need changing the extension to 7z
What am I doing wrong?
I am having trouble updating plasmac. It is saying update not required from version 0.097 or later. I have attached my configs.
Attachment not found
What am I doing wrong?
Attachment not found
Please Log in to join the conversation.
6 years 6 months ago #165640
by phillc54
Replied by phillc54 on topic Update Plasmac?
Sorry Clive it can be a bit confusing...
All that message means is that the Configurator does not need to do anything.
The last Configurator run required was 0.097.
I probably should reword the message so it makes more sense..
So long as "man plasmac" agrees with the last update on the updates page on the forum all is good.
EDIT: I forgot to add that updates have been automatic for some time now unless you disable it in the ini file.
So if you do a LinuxCNC update then PlasmaC will update itself if it needs to.
All that message means is that the Configurator does not need to do anything.
The last Configurator run required was 0.097.
I probably should reword the message so it makes more sense..
So long as "man plasmac" agrees with the last update on the updates page on the forum all is good.
EDIT: I forgot to add that updates have been automatic for some time now unless you disable it in the ini file.
So if you do a LinuxCNC update then PlasmaC will update itself if it needs to.
Please Log in to join the conversation.
6 years 6 months ago #165642
by Clive S
Thanks Phil I checked and its up to date now. Not sure that mine does the auto update for some reason. I will check when I see you have done another.
Replied by Clive S on topic Update Plasmac?
EDIT: I forgot to add that updates have been automatic for some time now unless you disable it in the ini file.
So if you do a LinuxCNC update then PlasmaC will update itself if it needs to.
Thanks Phil I checked and its up to date now. Not sure that mine does the auto update for some reason. I will check when I see you have done another.
Please Log in to join the conversation.
6 years 6 months ago #165643
by phillc54
Replied by phillc54 on topic Update Plasmac?
Unless you have MANUAL_UPGRADE = 1 in the [PLASMAC] section of the ini file it will be automatic.
The default is to not have that in the ini file so it will be automatic.
The default is to not have that in the ini file so it will be automatic.
Please Log in to join the conversation.
6 years 5 months ago #166401
by Clive S
Replied by Clive S on topic Update Plasmac?
Phill
I want to try and sort out this update problem I seem to have.
My system does not do the Plasmac upgrade automatically
I can only get to the upgrade tab with ./configurator.py running a terminal in my config dir where my ini files are.
A terminal on the desktop will not do it.
When running the upgrade it still tells me it is V097 (I know you said you might change this message)
Running "man plasmac" from a terminal either on the desktop or my config Dir give me the latest version No.
It would be nice to see this version number on the plasmac gui or in the ini file
What file do I need to move to get it to auto upgrade.
Edit: how to I check what version PlasmaC I have "buildbot"
In a terminal enter:
man plasmac
then compare it to the latest version number here
I want to try and sort out this update problem I seem to have.
My system does not do the Plasmac upgrade automatically
I can only get to the upgrade tab with ./configurator.py running a terminal in my config dir where my ini files are.
A terminal on the desktop will not do it.
When running the upgrade it still tells me it is V097 (I know you said you might change this message)
Running "man plasmac" from a terminal either on the desktop or my config Dir give me the latest version No.
It would be nice to see this version number on the plasmac gui or in the ini file
What file do I need to move to get it to auto upgrade.
Please Log in to join the conversation.
6 years 5 months ago #166402
by phillc54
Replied by phillc54 on topic Update Plasmac?
Clive,
It is probably that I am not describing it correctly.
Plasmac can only upgrade if you have upgraded LinuxCNC. You have a Buildbot install so you need to update LinuxCNC from a terminal with:
Then all Plasmac application files will be upgraded at the same time. When you next run LinuxCNC, PlasmaC will check to see if it needs to upgrade any .ini .hal or .cfg files and will do so automatically. If needed it will run Configurator in the background and inform tyou that you will need to restat LinuxCNC. This automatic upgrade will not be performed if you have MANUAL_UPGRADE = 1 in the [PLASMAC] section of the ini file, so in that case every time you upgaded LinuxCNC you would need to manually run Configurator. I probably should remove that option as it would be a bit odd to upgrade LinuxCNC on not upgrade Plasmac at the same time.
If you do run Configurator manually and it says "Upgade not required from Vnnn or later" then you installation is at the latest LinuxCNC version downloaded.
Having said all that, the Buildbot has been a bit flakey lately and the latest stretch 2.8 package date is 2020-04-29 whereas the latest stretch maser package date is 2020-05-02.
You can check Buildbot packages here and compare the dates with the latest PlasmaC upgrade dates here
If this ramble makes sense then let me know and I will put something like this in the docs and also on the upgade notification page on this forum.
It is probably that I am not describing it correctly.
Plasmac can only upgrade if you have upgraded LinuxCNC. You have a Buildbot install so you need to update LinuxCNC from a terminal with:
Code:
sudo apt update
sudo apt dist-upgrade or sudo apt upgrade
If you do run Configurator manually and it says "Upgade not required from Vnnn or later" then you installation is at the latest LinuxCNC version downloaded.
Having said all that, the Buildbot has been a bit flakey lately and the latest stretch 2.8 package date is 2020-04-29 whereas the latest stretch maser package date is 2020-05-02.
You can check Buildbot packages here and compare the dates with the latest PlasmaC upgrade dates here
If this ramble makes sense then let me know and I will put something like this in the docs and also on the upgade notification page on this forum.
Please Log in to join the conversation.
Time to create page: 0.100 seconds
