Gmoccapy - A new screen for linuxcnc

More
04 Mar 2014 18:10 - 04 Mar 2014 18:26 #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

This version gmoccapy 1.04 with my addition

startup log
files.mail.ru/2B9DB08B26A34D9A9A4F3FE3128E6782
Attachments:
Last edit: 04 Mar 2014 18:26 by verser.

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

More
05 Mar 2014 02:17 #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
The following user(s) said Thank You: verser

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

More
05 Mar 2014 20:01 #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 or Create an account to join the conversation.

More
06 Mar 2014 00:39 #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.
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 or Create an account to join the conversation.

More
06 Mar 2014 00:51 #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:
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 or Create an account to join the conversation.

More
06 Mar 2014 01:00 #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.


File Attachment:

File Name: load_errors.txt
File Size:7 KB

Regards
Marius


www.bluearccnc.com

Attachments:

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

More
06 Mar 2014 01:00 - 06 Mar 2014 01:02 #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.


File Attachment:

File Name: load_error...3-05.txt
File Size:7 KB

Regards
Marius


www.bluearccnc.com

Attachments:
Last edit: 06 Mar 2014 01:02 by mariusl.

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

More
06 Mar 2014 01:16 - 06 Mar 2014 01:24 #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

and in gmoccapy.py here

insert 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)
Attachments:
Last edit: 06 Mar 2014 01:24 by verser. Reason: edit

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

More
06 Mar 2014 02:08 #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 or Create an account to join the conversation.

More
06 Mar 2014 02:19 #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 or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.344 seconds
Powered by Kunena Forum