WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-02-2012, 02:34 PM
mhead10 mhead10 is offline
Member
 
Join Date: Mar 2012
Posts: 40
** ERROR: Link failed (source linkable is invalid)

What does the following error mean (I cannot find much help on the issue):

** ERROR: Link failed (source linkable is invalid)

this happens when I try to load a .dae file (which does load if it's the only code)

Code:
def openGrasp():
	global marker
	global link_1
	global devices
	global link_2
	global ob
		
	if link_2:
		link_2.remove()
		link_2 = None
		link_1.remove()
		link_1 = None
		marker.remove()
		pos = device.getPosition()
		rot = device.getQuat()
		print 'openGrasp1'
		marker = viz.add('open_babcock.dae')
		marker.translate(pos)
		marker.rotatequat(rot)
		marker.setScale(0.8,0.8,0.8)
		link_1 = viz.link(device,marker)
		
	else:
		link_1.remove()
		link_1 = None
		marker.remove()
		pos = device.getPosition()
		rot = device.getQuat()
		print 'open babcock2'
		marker = viz.add('open_babcock.dae')
		marker.translate(pos)
		marker.rotatequat(rot)
		marker.setScale(0.8,0.8,0.8)
		link_1 = viz.link(device,marker)

openGrasp()
The interactive display is as follows:
Code:
open babcock2
Loading File: open_babcock.dae
** ERROR: Link failed (source linkable is invalid)
Thank you in advance for any help.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC