packp3d and WebcamVideo troubles

Hi all.
I have an error running a .p3d using the WebcamVideo, it returns :

File “C:\SVN\video-puzzle\main.py”, line 77, in init
self.option = WebcamVideo.getOption(CAM)
NameError: global name ‘WebcamVideo’ is not defined

I found only one (unsolved) topic about this ( panda3d.org/forums/viewtopi … ebcamvideo ) .
Because i can not find where this WebcamVideo object is, i don’t know what to do. If someone have a clue about this, it’ll be welcome .

I have a from pandac.PandaModules import * at the start, do you thinks it can generate confusion ?

I ain’t got no p3dsession.log, only a p3dcore.log :

[b]
_root_dir = C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D, _temp_directory = C:\DOCUME~1\zozi\LOCALS~1\Temp, platform = win32, host_url = runtime.panda3d.org/, verify_contents = 0
Plugin version: 1.0.0
Plugin distributor: cmu
Core API host URL: runtime.panda3d.org/
Core API date: Mon Jan 25 14:41:50 2010

Creating P3DInstance 00DC5570: console_output=“1” auto_start=“1”
setting background to download, splash_window = 00000000
All 8 extracts of images seem good.
report_package_info_ready: images
Done installing images: success = 1
p3d_basename = C:\SVN\video-puzzle\release\VideoPuzzle.p3d
p3d trusted
_matches_run_origin = 1
_matches_script_origin = 0
_auto_install = 1, _auto_start = 1, _stop_on_ready = 0
All 39 extracts of panda3d seem good.
report_package_info_ready: panda3d
Beginning install of 0 packages, total 0 bytes required.
set_wparams: 1 640 480
image_filename = C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/images/download.png, thread_id = 27468
_instance_started = 0
setting background to launch, splash_window = 00DFF358
image_filename = C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/images/download.png, thread_id = 27468
Search path is C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
Created splash window 00A20368
Setting environment:
SYSTEMROOT=C:\WINDOWS
USERPROFILE=C:\Documents and Settings\zozi
COMSPEC=C:\WINDOWS\system32\cmd.exe
SYSTEMDRIVE=C:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\zozi\Application Data
COMMONPROGRAMFILES=C:\Program Files\Fichiers communs
PROGRAMFILES=C:\Program Files
WINDIR=C:\WINDOWS
USERDOMAIN=ZBOX
PATH=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
LD_LIBRARY_PATH=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
DYLD_LIBRARY_PATH=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
PYTHONPATH=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
PYTHONHOME=
PRC_PATH=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/prc;C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
PANDA_PRC_PATH=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/prc;C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
TEMP=C:\DOCUME~1\zozi\LOCALS~1\Temp
PANDA3D_ROOT=C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7
Attempting to start python from C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7/p3dpython.exe
Loaded image: C:\Documents and Settings\zozi\Local Settings\Application Data/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/images/download.png
notify: onpluginload
notify: onauth
notify: ondownloadbegin
notify: ondownloadcomplete
notify: onready
notify: onpythonload
notify: onpythonstop
finish_instance: 00DC5570
Assigning 00DC5570->log_pathname =
Ignoring unknown request 00DE3FF0
P3D_finalize called
counts: 4 1 1 1
[/b]

Thanks for your time

Regards

z

You need to specify that the .p3d file uses the “vision” module by specifying “-r vision” on the packp3d command-line.

Thanks a lot, it’s better now : the p3d installer has download and install vision module, but when running the game it crash while opening video.
No message, no error, only a crash report :

Thanks again, it helps a lot.

Well, i’ve tried to overwrite the libp3vision.dll by the one from sdk in the local p3d folder, but even when unplugging my network cable, the dll is overwrited when starting the game.