xyzbc-trt-gui memory problem reseolved
- papagno-source
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 0
25 Mar 2020 19:27 #161490
by papagno-source
xyzbc-trt-gui memory problem was created 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
Thanks
Please Log in or Create an account to join the conversation.
26 Mar 2020 11:35 #161554
by cmorley
Replied by cmorley on topic xyzbc-trt-gui memory problem
What is xyzbc-trt-gui?
Chris
Chris
Please Log in or Create an account to join the conversation.
26 Mar 2020 12:44 #161560
by dgarrett
Replied by dgarrett on topic xyzbc-trt-gui memory problem
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
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.
- papagno-source
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 0
26 Mar 2020 19:29 #161608
by papagno-source
Replied by papagno-source on topic xyzbc-trt-gui memory problem
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
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.
26 Mar 2020 20:29 #161613
by cmorley
Replied by cmorley on topic xyzbc-trt-gui memory problem
what version of linuxcnc are you using?
That line number doesnt jive with any of the branches I can see
That line number doesnt jive with any of the branches I can see
Please Log in or Create an account to join the conversation.
26 Mar 2020 20:31 - 26 Mar 2020 20:58 #161614
by dgarrett
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.
Replied by dgarrett on topic xyzbc-trt-gui memory problem
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.
- papagno-source
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 0
27 Mar 2020 13:02 #161702
by papagno-source
Replied by papagno-source on topic xyzbc-trt-gui memory problem reseolved
Hi.
Thanks
Excuse a my error in past.
Thanks
Thanks
Excuse a my error in past.
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds