Project

General

Profile

RE: CCD camera missing » cam4_error.txt

Bob Grassucci, 05/23/2011 02:35 PM

 
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\leginon>cd c:\

C:\>c:\Python25\python.exe
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyscope.tietz
>>> cam=pyscope.tietz.TietzSCX()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\Python25\Lib\site-packages\pyscope\tietz.py", line 722, in __init__
Tietz.__init__(self)
File "c:\Python25\Lib\site-packages\pyscope\tietz.py", line 190, in __init__
cameracontrol.addCamera(self)
File "c:\Python25\Lib\site-packages\pyscope\tietz.py", line 62, in addCamera
self.initialize()
File "c:\Python25\Lib\site-packages\pyscope\tietz.py", line 107, in initialize

self.camera = win32com.client.Dispatch('CAMC4.Camera')
File "C:\Python25\lib\site-packages\win32com\client\__init__.py", line 96, in
Dispatch
return __WrapDispatch(dispatch, userName, resultCLSID, typeinfo, clsctx=clsc
tx)
File "C:\Python25\lib\site-packages\win32com\client\__init__.py", line 37, in
__WrapDispatch
klass = gencache.GetClassForCLSID(resultCLSID)
File "C:\Python25\lib\site-packages\win32com\client\gencache.py", line 179, in
GetClassForCLSID
mod = GetModuleForCLSID(clsid)
File "C:\Python25\lib\site-packages\win32com\client\gencache.py", line 222, in
GetModuleForCLSID
mod = GetModuleForTypelib(typelibCLSID, lcid, major, minor)
File "C:\Python25\lib\site-packages\win32com\client\gencache.py", line 262, in
GetModuleForTypelib
AddModuleToCache(typelibCLSID, lcid, major, minor)
File "C:\Python25\lib\site-packages\win32com\client\gencache.py", line 575, in
AddModuleToCache
_SaveDicts()
File "C:\Python25\lib\site-packages\win32com\client\gencache.py", line 65, in
_SaveDicts
f = open(os.path.join(GetGeneratePath(), "dicts.dat"), "wb")
IOError: [Errno 13] Permission denied: 'c:\\Python25\\lib\\site-packages\\win32c
om\\gen_py\\dicts.dat'
>>>
(1-1/2)