Update Plasmac?

More
12 Mar 2020 23:26 #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:
[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:
[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 or Create an account to join the conversation.

More
12 Mar 2020 23:29 #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.

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

More
13 Mar 2020 00:20 #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
The following user(s) said Thank You: phillc54

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

More
13 Mar 2020 00:47 #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"
The following user(s) said Thank You: Plasmaguy

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

More
26 Apr 2020 09:21 #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.

File Attachment:

File Name: configs.zip
File Size:497 KB
it might need changing the extension to 7z

What am I doing wrong?

Attachments:

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

More
26 Apr 2020 09:27 - 26 Apr 2020 09:32 #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.
Last edit: 26 Apr 2020 09:32 by phillc54.
The following user(s) said Thank You: Clive S

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

More
26 Apr 2020 09:40 #165642 by Clive S
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 or Create an account to join the conversation.

More
26 Apr 2020 09:47 #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 following user(s) said Thank You: Clive S, Plasmaguy

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

More
02 May 2020 12:13 #166401 by Clive S
Replied by Clive S on topic Update Plasmac?
Phill

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 or Create an account to join the conversation.

More
02 May 2020 12:44 #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:
sudo apt update
sudo apt dist-upgrade or sudo apt upgrade
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.

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

Moderators: snowgoer540
Time to create page: 0.217 seconds
Powered by Kunena Forum