Update NativCAM
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						12 Apr 2017 11:34				#91238
		by absolut15
	
	
		
			
	
	
			
			 		
													
	
				Update NativCAM was created by absolut15			
			
				hello .
I have a problem with updating linuxcnc and nativecam.
everytime when i try to update linuxcnc together with NativeCam i have big problems to fix it to run both again.
my steps are :
master 2.8 source...
sudo apt-get update
sudo apt-get upgrade
after this when i run lcnc my Nativcam tab (i run it in a tab) doesn not work...
then i make a ...
git checkout master
git pull
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
...
sudo ./nondeb_setup.py
then mostly all files are added...
./ncam.py -i /home/wws/linuxcnc/configs/Bohrwerk/Bohrwerk.ini c=mill
NativeCAM info:
inifile = /home/wws/linuxcnc/configs/Bohrwerk/Bohrwerk.ini
SYS_DIR = /home/wws/NativeCAM
NCAM_DIR = /home/wws/NativeCAM/
program = ./ncam.py
Traceback (most recent call last):
File "./ncam.py", line 4323, in <module>
ncam = NCam()
File "./ncam.py", line 1840, in __init__
self.update_user_tree(fromdirs, NCAM_DIR)
File "./ncam.py", line 1971, in update_user_tree
for f in os.listdir(src_dir) :
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/wws/NativeCAM/defaults/lathe'
after this NativeCam not work
i change to a tab:
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_LOCATION = ntb_preview
the same result....
when i copy the Nativecam folder to /usr/lib/pymodules/python2.7/gladevcp/
normaly the ncam work but not the last days...
can someone help me please?
nice greedings
florian
					I have a problem with updating linuxcnc and nativecam.
everytime when i try to update linuxcnc together with NativeCam i have big problems to fix it to run both again.
my steps are :
master 2.8 source...
sudo apt-get update
sudo apt-get upgrade
after this when i run lcnc my Nativcam tab (i run it in a tab) doesn not work...
then i make a ...
git checkout master
git pull
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
sudo ./nondeb_setup.py c
...
sudo ./nondeb_setup.py
then mostly all files are added...
./ncam.py -i /home/wws/linuxcnc/configs/Bohrwerk/Bohrwerk.ini c=mill
NativeCAM info:
inifile = /home/wws/linuxcnc/configs/Bohrwerk/Bohrwerk.ini
SYS_DIR = /home/wws/NativeCAM
NCAM_DIR = /home/wws/NativeCAM/
program = ./ncam.py
Traceback (most recent call last):
File "./ncam.py", line 4323, in <module>
ncam = NCam()
File "./ncam.py", line 1840, in __init__
self.update_user_tree(fromdirs, NCAM_DIR)
File "./ncam.py", line 1971, in update_user_tree
for f in os.listdir(src_dir) :
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/wws/NativeCAM/defaults/lathe'
after this NativeCam not work
i change to a tab:
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_LOCATION = ntb_preview
the same result....
when i copy the Nativecam folder to /usr/lib/pymodules/python2.7/gladevcp/
normaly the ncam work but not the last days...
can someone help me please?
nice greedings
florian
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						13 Apr 2017 13:01				#91302
		by absolut15
	
	
		
			
	
			
			 		
													
	
				Replied by absolut15 on topic Update NativCAM			
			
				hi again.....
now it works again after i install and deinnstall ncam some times...
but the following error is now at the most mill subroutines..
G-Code error in ncam.ngc
Near line 173 of
/home/wws/nativecam/scripts/ncam.ngc
Named parameter #<_lead_out_fact> not defined
					now it works again after i install and deinnstall ncam some times...
but the following error is now at the most mill subroutines..
G-Code error in ncam.ngc
Near line 173 of
/home/wws/nativecam/scripts/ncam.ngc
Named parameter #<_lead_out_fact> not defined
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						17 Apr 2017 19:27				#91538
		by absolut15
	
	
		
			
	
			
			 		
													
	
				Replied by absolut15 on topic Update NativCAM			
			
				hi ...
perhaps someone with the same problem can help this:
install the older release from github and it works again....
nice greedings
					perhaps someone with the same problem can help this:
install the older release from github and it works again....
nice greedings
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						27 Apr 2017 20:59				#92237
		by absolut15
	
	
		
			
	
			
			 		
													
	
				Replied by absolut15 on topic Update NativCAM			
			
				i want say sorry for my stupi question..now i know how a deb package works...
lol
i build it and install it , and then its simple to config all for the first start.
only one problem is new now....
when i miling l a rectangel or somthing and i rotate it then i get an error:
Found an error!
The following information may be useful in troubleshooting:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/hal_glib.py", line 386, in update
p,rel_p,dtg = self.get_position()
File "/usr/lib/python2.7/dist-packages/hal_glib.py", line 560, in get_position
t = math.radians(-self.stat.rotation_xy)
NameError: global name 'math' is not defined
pleas help me . because after this error gmoccapy freez
					lol
i build it and install it , and then its simple to config all for the first start.
only one problem is new now....
when i miling l a rectangel or somthing and i rotate it then i get an error:
Found an error!
The following information may be useful in troubleshooting:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/hal_glib.py", line 386, in update
p,rel_p,dtg = self.get_position()
File "/usr/lib/python2.7/dist-packages/hal_glib.py", line 560, in get_position
t = math.radians(-self.stat.rotation_xy)
NameError: global name 'math' is not defined
pleas help me . because after this error gmoccapy freez
Please Log in or Create an account to join the conversation.
- FernV
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 457
- Thank you received: 124
			
	
						07 May 2017 13:20				#92776
		by FernV
	
	
		
			
	
			
			 		
													
	
				Replied by FernV on topic Update NativCAM			
			
				Hi Florian,
I was not aware of your problem until 2 days ago...
I just pushed some fixes and hope it will solve the problem
Regards
Fern
P.S I will push files for TT font engraving later today
					I was not aware of your problem until 2 days ago...
I just pushed some fixes and hope it will solve the problem
Regards
Fern
P.S I will push files for TT font engraving later today
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						08 May 2017 05:18				#92805
		by absolut15
	
	
		
			
	
	
			
			 		
													
	
				Replied by absolut15 on topic Update NativCAM			
			
				HI Fern!
it is monday and 7 am in the mornig ..normaly not a good time but you made it a lot better this time.
i make a new deb file and i install it . and alll works perfekt .
thanks a lot
florian
					it is monday and 7 am in the mornig ..normaly not a good time but you made it a lot better this time.
i make a new deb file and i install it . and alll works perfekt .
thanks a lot
florian
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						09 May 2017 18:14				#92941
		by absolut15
	
	
		
			
	
			
			 		
													
	
				Replied by absolut15 on topic Update NativCAM			
			
				my mill @ home
			
					Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 28
- Thank you received: 2
			
	
						23 Jun 2017 11:58				#94830
		by absolut15
	
	
		
			
	
			
			 		
													
	
				Replied by absolut15 on topic Update NativCAM			
			
				all works perfekt ...
			
					Please Log in or Create an account to join the conversation.
		Time to create page: 0.578 seconds	
 
													