Plasmac upgrade woes

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 Oct 2020 07:47 - 13 Oct 2020 07:49 #185934 by rodw
Plasmac upgrade woes was created by rodw
I knew this would happen so I have been putting it off for a long time. Compiled the latest 2.8 branch as run in place and its made a bit of a mess of my config so I'm not operational.
I cleaned up most of the errors but am stuck here
See dump of terminal window.
Warning: Spoiler!



I saw there were missing handlers so I tried to use the configurator to upgrade the ini file and it said
plasma@plasma ~/Installation/rods-linux-dev $ python /home/plasma/linuxcnc-dev/configs/by_machine/plasmac/configurator.py
Traceback (most recent call last):
  File "/home/plasma/linuxcnc-dev/configs/by_machine/plasmac/configurator.py", line 581, in on_create_clicked
    if self.versionCurrent > 0:
AttributeError: configurator instance has no attribute 'versionCurrent'

So at this point I guess I need to know what Plasmac is looking for ini my in file and regroup in the morning.
Last edit: 13 Oct 2020 07:49 by rodw.

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

More
13 Oct 2020 07:56 - 13 Oct 2020 07:57 #185937 by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
Looks like plasmac-wizards is called more than once in the ini file.

It is EMBEDDED_TAB in the [DISPLAY] section

EDIT: If you want to post your config I can have a look through in the morning.
Last edit: 13 Oct 2020 07:57 by phillc54.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Oct 2020 08:06 #185938 by tommylight
Replied by tommylight on topic Plasmac upgrade woes
Wow to much stuff going on there, coordinates are not OK, a duplicate file requsted, and something else i forgot as i am on the phone so very limited.
Later.

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 Oct 2020 08:12 #185942 by rodw
Replied by rodw on topic Plasmac upgrade woes
That was not it. This is the main error section, not to mention the configurator error
gladevcp: trouble looking for handlers in 'plasmac_config': Can't set value: pin / param ini.z.max_limit not found
Traceback (most recent call last):
  File "/home/plasma/linuxcnc-dev/bin/gladevcp", line 129, in load_handlers
    objlist = h(halcomp,builder,useropts)
  File "./plasmac/plasmac_config.py", line 380, in get_handlers
    return [HandlerClass(halcomp,builder,useropts)]
  File "./plasmac/plasmac_config.py", line 372, in __init__
    self.maxHeight = hal.get_value('ini.z.max_limit') - hal.get_value('ini.z.min_limit')
RuntimeError: Can't set value: pin / param ini.z.max_limit not found
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_setupFeedRate_value_changed'
  builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_backup_clicked'
  builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_save_clicked'
  builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_reload_clicked'
  builder.connect_signals(handlers)

You don't really want to wade through my config but here it is (I think!)

File Attachment:

File Name: plasmac2.tar.gz
File Size:10 KB
Attachments:

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 Oct 2020 08:16 #185944 by rodw
Replied by rodw on topic Plasmac upgrade woes

Wow to much stuff going on there, coordinates are not OK, a duplicate file requsted, and something else i forgot as i am on the phone so very limited.
Later.


Yes, the coordinates have been fine but all of a sudden, it seems like somebody has decided a different structure is required and axes need to be in sequential X,Y,Z order. That was never a requirement and basically breaks the independent joint paradigm. Most annoying when its been happy like that for 5 years... I started on 2.8...

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

More
13 Oct 2020 08:30 #185946 by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
I need the complete config directory, including sub-directories.

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 Oct 2020 08:36 #185947 by rodw
Replied by rodw on topic Plasmac upgrade woes

I need the complete config directory, including sub-directories.


It will be tomorrow now., I'm home with a beer.

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

More
13 Oct 2020 08:38 #185948 by phillc54
Replied by phillc54 on topic Plasmac upgrade woes

I need the complete config directory, including sub-directories.


It will be tomorrow now., I'm home with a beer.

No worries, good place to be.

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
14 Oct 2020 10:59 #186085 by rodw
Replied by rodw on topic Plasmac upgrade woes

I need the complete config directory, including sub-directories.


It will be tomorrow now., I'm home with a beer.

No worries, good place to be.


I decided I would revise my joint order into line with normality so I am in the process of finishing that off by building a new config as its been a bit messy with all the hacking I've done over the years. This required a bit of rewiring, creating a really basic config using pncconf and a lot of hacking in the hal and ini files. I have movement, but I forgot I needed to swap all the limit switches around. Did you know you can get three axes moving while homing a single axis if you scatter home and limit switches around? Talk about being confused. Took me ages to sort it out but thats a job for tomorrow.

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

More
14 Oct 2020 11:04 #186086 by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
Sounds like a barrel of fun. You'll definitely need a beer or three after that.

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

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