Gmoccapy - A new screen for linuxcnc

More
12 years 7 months ago #44393 by verser
Helo, Norbert
I need your help,
Themes and design standart GTK buttons are not displayed on theĀ "EMBED_TAB" panels .
This included version 1.04 gmoccapy-plazma

Attachment not found


This version gmoccapy 1.04 with my addition

Attachment not found


startup log
files.mail.ru/2B9DB08B26A34D9A9A4F3FE3128E6782

Please Log in to join the conversation.

More
12 years 7 months ago #44401 by newbynobi
@verser,

I just pushed the needed changes. See the new file signals.py and the changes of plasma.py.
After you change the theme in gmoccapy, you will have to restart the GUI so the panels can get notice of your changes. Both panels will read the Theme-Name from the preferences file and set it. Would be finer to do that with signals, but I thought the work does not worth it, because the theme changes should not be a think you do every 5 seconds ;-)

Norbert

Please Log in to join the conversation.

More
12 years 7 months ago #44431 by newbynobi
gmoccapy 1.0.5

solves a problem, not creating the jog-incr- hal pin.
With 1.0.5 they are back!

Norbert

Please Log in to join the conversation.

More
12 years 7 months ago #44449 by mariusl
Hi Norbert
I am trying to pull the latest from master but I get this error. Bear in mind that I dont use my local repository to run or edit. I make another repository from my master to work on. So there should never be an edited file on my master. However I still get this.
Code:
Updating 60cd047..b5fecea error: Your local changes to 'lib/python/gmoccapy/dialogs.py' would be overwritten by merge. Aborting. Please, commit your changes or stash them before you can merge. marius@marius-desktop:~/dev/master$

Chris did provide a workaround for the previous one but I would like to know why this is happening now. Is it something on my side or something somewhere else?

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 7 months ago #44450 by newbynobi
Halo Marius,

I guess it has to do with an error I did. I pushed a commit wich destroyed Sebastian Kuzminskis buildbot, so he was forced to repair my stuff. He needed to make a lot of chnages, so please try the following:
Code:
cd ~ cd linuxcnc-dev git stash save git pull --rebase git stash apply # if that worked out, we compile and make # it might not be necessary, but this way we are sure cd ~/linuxcnc-dev cd src make clean ./autogen.sh ./configure make sudo make setuid

if that does not work, than only a :

git reset --hard origin/master

will save you.

Norbert

Please Log in to join the conversation.

More
12 years 7 months ago #44452 by mariusl
Norbert
I did the hard reset already and compiled as per usual. I then copied the sim directory of gmoccapy to a config directory. I then removed all sim related stuff and I get this when I load. I takes a looong time to load and then the buttons dont work.


Attachment not found


Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 7 months ago #44453 by mariusl
Norbert
I did the hard reset already and compiled as per usual. I then copied the sim directory of gmoccapy to a config directory. I then removed all sim related stuff and I get this when I load. I takes a looong time to load and then the buttons dont work.


Attachment not found


Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 7 months ago #44455 by verser
Norbert, there is a huge request,
to complete the work on the compensation Z (and more) requires space to insert it.
It is possible to add a hide blank panels in gmoccapy.glade here

Attachment not found


and in gmoccapy.py here

Attachment not found


insert code
Code:
if "box_custom" in self.get_ini_info.get_embedded_tabs()[1]: widgetlist = ["box_custom_widget1","box_custom_widget2","box_custom_widget3"] for widget in widgetlist: self.widgets[widget].hide() self.widgets.btn_tool.set_sensitive(False) self.widgets.tbtn_user_tabs.set_sensitive(False)

Please Log in to join the conversation.

More
12 years 7 months ago #44456 by newbynobi
Halo Marius,

does gmoccapy start in normal sim mode?

The error is shown in your log file as HAL: ERROR: duplicate component name 'inihal'

I do not know what USERMOT does exactly.

Please post you hal and ini files.

Norbert

Please Log in to join the conversation.

More
12 years 7 months ago #44457 by newbynobi
@verser,

I am not able to follow you.

In the image showing the themes problem you panel did fit, so why introduce new panels and hide them if custom:box is in embedded tab?

Could you explain more in detail?

Norbert

Please Log in to join the conversation.

Time to create page: 1.851 seconds
Powered by Kunena Forum