xyzbc-trt-gui memory problem reseolved

More
25 Mar 2020 19:27 #161490 by papagno-source
Hi. I have a problem with xyzbc-trt-gui. When is open with xyzbc-trt.ini config, the memory required of xyzbc-trt-gui , increase in continus and have out of memory. this problem is the same with yxzac-trt-gui

Thanks

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

More
26 Mar 2020 11:35 #161554 by cmorley
What is xyzbc-trt-gui?

Chris

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

More
26 Mar 2020 12:44 #161560 by dgarrett
This appears to be an unreported bug in vismach.py
going back over twelve years.

Fixed a leak for Hud() in 2.7, merged up to 2.8 & master
(There may be others)

Ref: github.com/LinuxCNC/linuxcnc/commit/3b07...16625999d9468d2a6860
The following user(s) said Thank You: andypugh, tommylight

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

More
26 Mar 2020 19:29 #161608 by papagno-source
Hi.
now have this error :

File "/home/lnc/linuxcnc-dev/lib/python/vismach.py", line 710
self.fontbase = int(self.app.loadbitmapfont("9x15"))
^
IndentationError: expected an indented block

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

More
26 Mar 2020 20:29 #161613 by cmorley
what version of linuxcnc are you using?
That line number doesnt jive with any of the branches I can see

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

More
26 Mar 2020 20:31 - 26 Mar 2020 20:58 #161614 by dgarrett

File "/home/lnc/linuxcnc-dev/lib/python/vismach.py", line 710
self.fontbase = int(self.app.loadbitmapfont("9x15"))
^
IndentationError: expected an indented block


As a guess, you edited your local copy of vismach.py
and did not correctly include tabs for indentation as
used in this python file.

Note: the message quoted for line 710 does not agree in
any of the versions updated:

master: github.com/LinuxCNC/linuxcnc/blob/master...thon/vismach.py#L708

2.8: github.com/LinuxCNC/linuxcnc/blob/2.8/li...thon/vismach.py#L707

2.7: github.com/LinuxCNC/linuxcnc/blob/2.7/li...thon/vismach.py#L698

If you are editing python files in the source tree,
you will need to learn the rules for python indentation.
Last edit: 26 Mar 2020 20:58 by dgarrett.

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

More
27 Mar 2020 13:02 #161702 by papagno-source
Hi.

Thanks

Excuse a my error in past.

Thanks

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

Time to create page: 0.087 seconds
Powered by Kunena Forum