[AG-TECH] Re: Winnov Videum Quattro

Thomas D. Uram turam at mcs.anl.gov
Thu Dec 22 13:02:43 CST 2005


I'm curious to know what in your configuration resulted in the
sources being numbered differently from how I would have expected.
If you uncovered anything in resolving this problem that could
result in a patch to the VideoProducerService, it might help other
people who are using the videum card.

I'll poke in my registry for indications of the source numbers, but
will be looking for your response.



On 12/22/05 12:17 PM, Chris Rosenthal wrote:
> Thanks Tom and Andrew.  I got the script corrected, so we now have a 4
> s-video input card working with the AG software.  When I am back from
> the holidays, I will have an opportunity to test it more thoroughly
> and I'll send an email back to the list.
> For those interested in the details, I had to modify the code that
> sets the windows registry key that stores the source "variable" for
> winnov cards.  Note that I'm using Tom's updated VideoProducerService
> that maps these windows devices properly.  Although this is not the
> order they are listed in, they sources needed to be 8,9,10,11 for the
> s-video inputs.  It was a real joy to sort this out because not all
> changes with the registry would go into effect without a reboot ;-)
> Chris
> On 12/21/05, Andrew A Rowley <Andrew.Rowley at manchester.ac.uk> wrote:
>>You can edit the file:
>>c:\documents and settings\<username>\Application Data\AccessGrid\local_services\VideoProducerService\VideoProducerService.py directly, and it should pick up the changes.  The problem might be that you have made a syntax error that means that the script cannot be run.  You can test this by running the script from the command line e.g. from the above directory run:
>>python VideoProducerService.py
>>This will at least test if the script is correct.
>>Andrew :)
>>Access Grid Support Centre,
>>RSS Group,
>>Manchester Computing,
>>Kilburn Building,
>>University of Manchester,
>>Oxford Road,
>>M13 9PL,
>>Tel: +44(0)161-275 0685
>>Email: Andrew.Rowley at manchester.ac.uk
>>>-----Original Message-----
>>>From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
>>>Behalf Of Chris Rosenthal
>>>Sent: 20 December 2005 19:04
>>>To: ag-tech; Ag-Tech EVL
>>>Subject: [AG-TECH] Re: Winnov Videum Quattro
>>>I'm new to AG development and I could use a hand with a fairly basic
>>>Today I dug some more and found the VideoProducerService.py file in
>>>...\Application Data\AccessGrid\local_services\.  Under MapWinDevice,
>>>the software iterates through the videum drivers and sets registry
>>>keys for Source, Height, and Width.
>>>keyStr = r"Software\Winnov\Videum\vic.exe%d" % (devnum,)
>>>                key = _winreg.CreateKey(_winreg.HKEY_CURRENT_USER,
>>>                                        keyStr)
>>>                _winreg.CloseKey(key)
>>>It seems that this is were the source keys get set to 0, 1, 2, 3 and
>>>where I would like to try setting them to something else.  Can I just
>>>edit this python file here and the changes will be implemented when I
>>>run again?  Do I need to repackage a VideoProducerService zip file and
>>>install it with agpm?
>>>I have tried editing the file in place and it seems that any change I
>>>make causes the service to become unreachable.  Even just adding in a
>>>statement to print to the log file.
>>>If anyone has a pointer on this, I would appreciate it.  I'm appending
>>>an excerpt from the VenueClient log to show the exception that I am
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:115 INFO
>>> AGServiceManager.AddService
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:118 INFO
>>> AddService: VideoProducerService v 2.540000 u
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:121 INFO
>>> resourceToAssign: WnvVid32.dll 2_Videum_AVX_AV_(PCI)
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:186 INFO
>>> Retaining version 2.540000
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:189 INFO
>>> Extracting service package to C:\Documents and
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:237 INFO
>>> Running Service; options: C:\Python23\pythonw.exe [u'C:\\Documents
>>>and Settings\\agtech\\Application
>>>12/20/05 11:57:12 8240 ProcessManager     processmanager.py:59 DEBUG
>>>Creating process: C:\Python23\pythonw.exe "C:\Documents and
>>>12/20/05 11:57:12 8240 ProcessManager     processmanager.py:72 DEBUG
>>>Create process returns: (<PyHANDLE object at 0x031BEFAC>, <PyHANDLE
>>>object at 0x031BF394>, 7100, 8256)
>>>12/20/05 11:57:12 8240 ServiceManager     agservicemanager.py:258
>>>DEBUG Waiting for service to start: VideoProducerService
>>>12/20/05 11:57:32 8240 ServiceManager     agservicemanager.py:274
>>>ERROR Add VideoProducerService failed; service is unreachable
>>>12/20/05 11:57:32 8240 ServiceManager     agservicemanager.py:278
>>>ERROR Error starting service
>>>Traceback (most recent call last):
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\AGServiceManager.py",
>>>line 275, in AddService
>>>    raise Exception("Service failed to become reachable")
>>>Exception: Service failed to become reachable
>>>12/20/05 11:57:32 9380 NodeService     agnodeservice.py:519 ERROR
>>>Exception adding service VideoProducerService.zip
>>>Traceback (most recent call last):
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\AGNodeService.py",
>>>line 507, in LoadConfiguration
>>>    service.parameters )
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\AGServiceManager.py",
>>>line 629, in AddServicePackage
>>>    return
>>>  File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 453, in
>>>    return self.__r_call(*args, **kw)
>>>  File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 475, in
>>>    self.__hd, self.__ma)
>>>  File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 347, in
>>>    config = self.config)
>>>  File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 203, in call
>>>    content_type = headers.get("content-type","text/xml")
>>>AttributeError: 'NoneType' object has no attribute 'get'
>>>12/20/05 11:57:32 9380 NodeService     agnodeservice.py:381 ERROR
>>>Exception loading default configuration.
>>>Traceback (most recent call last):
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\AGNodeService.py",
>>>line 379, in LoadDefaultConfig
>>>    self.LoadConfiguration( self.defaultConfig )
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\AGNodeService.py",
>>>line 523, in LoadConfiguration
>>>    raise Exception(exceptionText)
>>>Exception: Couldn't add service VideoProducerService.zipCouldn't add
>>>service VideoProducerService.zipCouldn't add service
>>>VideoProducerService.zipCouldn't add service VideoProducerService.zip
>>>12/20/05 11:57:32 9380 VenueClient     venueclient.py:313 ERROR Error
>>>loading default configuration
>>>Traceback (most recent call last):
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\VenueClient.py", line
>>>311, in __StartWebService
>>>    self.ns.LoadDefaultConfig()
>>>  File "C:\Python23\Lib\site-packages\AccessGrid\AGNodeService.py",
>>>line 382, in LoadDefaultConfig
>>>    raise Exception("Failed to load default configuration <%s>" %
>>>Exception: Failed to load default configuration <Quattro-12-19-05>
>>>On 12/19/05, Chris Rosenthal <cmr.evl at gmail.com> wrote:
>>>>After a long time off doing other things, I am returning to making
>>>>this card work in our AG setup.  I can successfully make the card run
>>>>if I configure each vic instance on transmit and set each to the
>>>>proper video source, but I can't make the software remember this
>>>>setting if I change venues.  It seems that the the settings are saved
>>>>in the registry here:
>>>>HKEY_CURRENT_USER\Software\Winnov\Videum\vic.exe0 [and 1,2,3]
>>>>But if I change the source key from the current settings of 0,1,2,3
>>>>then vic starts throwing error messages or else the settings get reset
>>>>to 0,1,2,3.  Is there a better way to make this setting stick?
>>>>The current source drop down list in the configure on transmit
>>>>dialogue shows the following source list to choose from.  The first
>>>>four are chosen by default, but I would like to choose the four Y/C
>>>>options for our s-video inputs.
>>>>A-Y/C 1 (Y:A-Vid1 C:A-Vid2)
>>>>A-Y/C 2 (Y:A-Vid4 C:A-Vid3)
>>>>B-Y/C 1 (Y:B-Vid1 C:B-Vid2)
>>>>B-Y/C 2 (Y:B-Vid4 C:B-Vid3)
>>>>Any help is greatly appreciated.
>>>>Chris Rosenthal
>>>>Electronic Visualization Laboratory
>>>>University of Illinois - Chicago
>>>>Phone: 312.996.3002
>>>Chris Rosenthal
>>>Electronic Visualization Laboratory
>>>University of Illinois - Chicago
>>>Phone: 312.996.3002
>>>No virus found in this outgoing message.
>>>Checked by AVG Free Edition.
>>>Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 19/12/2005
> --
> Chris Rosenthal
> Electronic Visualization Laboratory
> University of Illinois - Chicago
> Phone: 312.996.3002

More information about the ag-tech mailing list