- Posts: 336
- Thank you received: 0
Configurator Error
I'm using linuxcnc 2.9.0-pre0-... from buildbot master.
All I've done for config so far is use the Sample Configurations -> by_machine -> plasmac -> gmoccapy -> imperial_plasmac
This runs fine for the simulator. However I don't have the shapes stuff in the extras tab. So I attempted to run the configurator on this imperial_plasmac.ini
Python throws the following error after hitting upgrade:
Also, just an FYI, I noticed that if the user closes the file picker dialog box without picking a file then python throws an error and then freezes. I just wanted to mention it in case you wanted to throw in some error handling there.
Please Log in to join the conversation.
I have never tried to upgrade a sample config because I only use Run In Place and it doesn't copy the sample config over. I will give it a try.
Error checking is the bane of my life...
Please Log in to join the conversation.
[strike]Would you be able to zip this complete config and post it here?[/strike]All I've done for config so far is use the Sample Configurations -> by_machine -> plasmac -> gmoccapy -> imperial_plasmac
Edit: I have pushed what I "think" is a fix for these issues.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
A professor of electronics in Germany told a friend of mine:phillc54 wrote:
Error checking is the bane of my life...
Electronics is 10% work, 90% troubleshooting that same work !
Luckily i had it in reverse! But then there is reverse engineering of electronics........... spent the day doing just that !
Please Log in to join the conversation.
I think it might be a similar ratio for software, at least it seems it is for me.tommylight wrote: A professor of electronics in Germany told a friend of mine:
Electronics is 10% work, 90% troubleshooting that same work !
Please Log in to join the conversation.
forum.linuxcnc.org/9-installing-linuxcnc/38051-plasmac
Why does python rely on indentation levels anyway? Never understood that...
Please Log in to join the conversation.
Thanks Kyle, I have just pushed the fixes.AgentWD40 wrote: Heads up Phill, looks like a recent update messed up some of the indention in the configurator.py around line #801.
forum.linuxcnc.org/9-installing-linuxcnc/38051-plasmac
I think it is supposed to be easier to spot errors if it is nice and tidy, but that obviously doesn't help me.Why does python rely on indentation levels anyway? Never understood that...
Please Log in to join the conversation.
AgentWD40 wrote: Why does python rely on indentation levels anyway? Never understood that...
I think its supposed to save some keystrokes for developers becasue it gets away from {} and if..end
But generally if you open a file in a different editor it breaks the indentation...
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
To replicate: Run configurator, click "Reconfigure", change radio button for THC Modes. Error results.
Maybe I did something wrong?
Please Log in to join the conversation.
