WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-25-2008, 03:06 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
When you call:

import module

Python will search the system path for either module.py or module.dll. You don't have to specify what kind of module it is when you import it.

Either way, from the information you provided, it seems that the module is being imported fine. The problem seems to be that one of its functions is failing. Are you sure that the module does not depend on any 3rd party DLLs that might have gone missing on your system?

Also, to be sure that you are using the correct module, execute the following code immediately after importing the capture module:
Code:
print capture.__file__
This will print the path of the module.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
face problems in Vizard 3.0 v-clizzin Vizard 2 09-19-2007 03:32 PM
Problems with making multiple objects from one .wrl? mjabon Vizard 3 07-10-2007 01:23 PM
v 1.09 problems with STEREO/HMD modes hotspur1 Vizard 19 10-17-2005 02:29 AM
Viz PPT 1 problems Adam Vizard 3 08-30-2005 10:54 AM
Problems with lighting in 2.0 murm Vizard 6 04-21-2004 09:59 AM


All times are GMT -7. The time now is 12:07 AM.


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