QtVCP gcode file opening

More
7 years 8 months ago #126965 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
if you try git status in the terminal maybe it will show some needed work that hasn't been pushed yet? Hope it's not too hard to find.

Chris M

Please Log in to join the conversation.

More
7 years 8 months ago #126966 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening

cmorely wrote:
I was wondering why i was not observing the problem you have reported and i have noticed you have .ngc in your INI FILTER entry


Yes, the component this is based around is for a plasma cutter and the component handles all Z axis movements so the gcode file is filtered to comment out all the Z stuff

Cheers, Phill

Please Log in to join the conversation.

More
7 years 8 months ago #126967 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening

cmorley wrote: if you try git status in the terminal maybe it will show some needed work that hasn't been pushed yet? Hope it's not too hard to find.


Me too...

Cheers, Phill.

Please Log in to join the conversation.

More
7 years 8 months ago #126969 by cmorley
Replied by cmorley on topic QtVCP gcode file opening

cmorley wrote:
Which seems to have something to do with one of these:
self.plasmac_settings_tabs.setCurrentIndex(1)
self.materials.setCurrentIndex(-1)


Maybe I should mention that I used :
pyuic5 FILENAME.ui

To print the parsed and converted .ui file to the terminal.
Since those where the only refrences that used 'setCurrentIndex' I assume there is a problem with plasmac_settings or materials.
Hopefully not a wild goose chase...

Chris M

Please Log in to join the conversation.

More
7 years 8 months ago #126972 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening
Would you believe it was caused by not having a mdi history file...

The attached patch creates the file if it doesn't exist.


Cheers, Phill.

Please Log in to join the conversation.

More
7 years 8 months ago #126973 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
Ok It seems to be something in your handler file - I loaded the screen with a relatively blank handler file it it displays.... I'll keep digging :)

Chris M

Please Log in to join the conversation.

More
7 years 8 months ago #126974 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
OH wow just read your last post about MDI - interesting.
that is one thing that is much worse with PyQt that the errors are often much harder to debug then pyGTK...

Ok i'll add that and then back to the original problem...

Chris

Please Log in to join the conversation.

More
7 years 8 months ago #126975 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening

cmorley wrote: Ok i'll add that and then back to the original problem...


Now I have forgotten the original problem...

Cheers, Phill.

Please Log in to join the conversation.

More
7 years 8 months ago #126976 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
hmm that fix didn't work for me .. and i did have a history file anyways...

This is a weird one.
Chris M

Please Log in to join the conversation.

More
7 years 8 months ago #126977 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening
It does work consistently for me.

I also did a diff between my original local repo and the one I cloned from github and that was basically the only difference.

Cheers, Phill.

Please Log in to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum