Hi guys is this related to my error and patch fix I sent through recently?
look for AG3.0.2 windows not working and then I replied to myself with the fix. You are assuming that the path passed to the windows "run this" has no spaces - this is a bad assumption, and you should just pass it with quotes on the executable paths. Both operation systems (Linux/windows) will support paths in quotes. here is the summary again..... The error relates directly to launching a process with a space in the path. The fix is quite simple - when you build the paths for vic and rat it the "Application Data\AccessGrid3\local_services\VideoProducerService" path - use quotes. So for vic in videoconsumerservice.py self.executable = '"%s"' %os.path.join(os.getcwd(),vic) And likewise for rat in audioservice.py self.executable = '"%s"' % os.path.join(os.getcwd(), rat) self.rat_media = '"%s"' % os.path.join(os.getcwd(), ratmedia) self.rat_ui = '"%s"' % os.path.join(os.getcwd(), ratui) ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Thomas D. Uram Sent: Thursday, 5 July 2007 2:51 AM To: [email protected] Cc: ag-tech Subject: Re: [AG-TECH] Access Grid 3.1 beta1 Release Available I've been unable to reproduce this problem, but would be happy to apply a patch and have you (and others) test it for inclusion in the final 3.1 release. Tom On 7/4/07 5:59 AM, Andrew A Rowley wrote: Hi, I am still getting the same issue with this that I was having with all versions since 3. The audio and video services do not start when I enter a venue. Attached are my log files of the services. I believe that the problem is to do with the fact that there are spaces in the path to the executable (at least if I put the executable in inverted commas, it goes away). This does not appear to affect everyone, but I have seen it happen on systems other than mine, so I don't think this is an isolated issue. Andrew :) ============================================ Access Grid Support Centre, RSS Group, Manchester Computing, Kilburn Building, University of Manchester, Oxford Road, Manchester, M13 9PL, UK Tel: +44(0)161-275 0685 Email: [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Thomas D. Uram Sent: 29 June 2007 21:45 To: ag-tech Subject: [AG-TECH] Access Grid 3.1 beta1 Release Available The Access Grid 3.1 beta1 software is available for download at: http://www.mcs.anl.gov/fl/research/accessgrid/software/releases/3.1-beta 1 This beta release includes new functionality and numerous bug fixes. 3.1 (beta1) Changes * Inclusion of media tools from Sumover project * Venue Client startup time significantly reduced * Improved bridging support o VenueClient displays full list of bridges (instead of limiting list to ten) o Maintains bridge cache in the background o User preferences for whether and how often to order bridges by proximity; for refreshing the bridge cache manually; and, for user-specified bridge ordering o Support for multiple bridge registries * Supports organization of Venue data into folders o Users can create folders for organizing Venue data * Displays timestamps in Jabber chat * Support for SharedPresentation on Mac * Support for user-specified multicast group for multicast connectivity detection * Certificate-based Venue access control o Includes required client-side proxy certificate support * Plugin support o New extensibility mechanism allows integration of client-side applications For full information on this release, and a complete listing of the bugs fixed, see the official release page (url above). As always, user feedback is welcome. Please file feature requests, bug reports, and enhancement requests via the Access Grid Bugzilla page at http://bugzilla.mcs.anl.gov/accessgrid. Thanks to everyone involved for their hard work. The AG Developers ________________________________ 07/04/07 11:52:47 5844 Toolkit config.py:609 DEBUG System hostname of rosie.mvc.mcc.ac.uk is valid 07/04/07 11:52:47 5844 Toolkit toolkit.py:116 DEBUG Initializing AG Toolkit version 3.1 beta1 07/04/07 11:52:47 5844 Toolkit toolkit.py:117 INFO Command and arguments: ['C:\\Documents and Settings\\zzalsar4\\Application Data\\AccessGrid3\\local_services\\VideoConsumerService\\VideoConsumerSe rvice.py', '--port', '63020', '--serviceManagerUri', 'http://rosie.mvc.mcc.ac.uk:11000/ServiceManager', '--token', '8258014916440e7c6fd5284599e7fb67'] 07/04/07 11:52:47 5844 VenueClient preferences.py:188 DEBUG Preferences.LoadPreferences: open file 07/04/07 11:52:47 5844 Toolkit toolkit.py:166 INFO Logfile Name: VideoConsumerService.log 07/04/07 11:52:47 5844 Toolkit toolkit.py:691 INFO Service init: have profile None 07/04/07 11:52:47 5844 Toolkit toolkit.py:716 INFO Service Initialization Complete. 07/04/07 11:52:47 5844 Toolkit agservice.py:393 INFO Starting Service URI: http://rosie.mvc.mcc.ac.uk:63020/Services/VideoConsumerService.825801490 74c0e7c702121dc9919d911 07/04/07 11:52:47 5844 Toolkit agservice.py:403 DEBUG Registering with service manager; url=http://rosie.mvc.mcc.ac.uk:11000/ServiceManager 07/04/07 11:52:47 4316 Toolkit videoconsumerservice.py:220 INFO SetIdentity: Andrew Rowley [email protected] 07/04/07 11:52:47 4072 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, video, 82580149074c0e7c7013015aa80e5632, H261, 90000, 1, None, None 07/04/07 11:52:48 396 Toolkit agservice.py:239 INFO AGService.SetEnabled : enabled = 1 07/04/07 11:53:26 4164 Toolkit agservice.py:183 INFO SetStream: [producer, video, 7f00000206350e73db316f5eab787b21, H261, 90000, 1, None, None] 224.2.238.112 57306 07/04/07 11:53:26 4164 Toolkit agservice.py:197 INFO SetStream: new configuration, set everything new! 07/04/07 11:53:26 4164 Toolkit agservice.py:210 DEBUG StreamDescription okay, assign it to service! 07/04/07 11:53:26 4164 Toolkit videoconsumerservice.py:126 INFO Setting processor affinity to all processors 07/04/07 11:53:26 4164 Toolkit config.py:575 INFO Found 2 processors; setting affinity 07/04/07 11:53:26 4164 Toolkit videoconsumerservice.py:183 INFO Starting VideoConsumerService 07/04/07 11:53:26 4164 Toolkit videoconsumerservice.py:184 INFO executable = C:\Documents and Settings\zzalsar4\Application Data\AccessGrid3\local_services\VideoConsumerService\vic.exe 07/04/07 11:53:26 4164 Toolkit videoconsumerservice.py:185 INFO options = ['-C', u'AGSC Venue Server Lobby', '-t', '127', u'-XrtpName=Andrew Rowley', u'[email protected]', '-XrecvOnly=1', '-XsiteDropTime=5', '-Xgeometry=500x500', '-Xtile=2', u'224.2.238.112/57306'] 07/04/07 11:53:26 4164 ProcessManager processmanager.py:62 DEBUG Creating process: C:\Documents and Settings\zzalsar4\Application Data\AccessGrid3\local_services\VideoConsumerService\vic.exe -C "AGSC Venue Server Lobby" -t 127 "-XrtpName=Andrew Rowley" [email protected] -XrecvOnly=1 -XsiteDropTime=5 -Xgeometry=500x500 -Xtile=2 224.2.238.112/57306 07/04/07 11:53:26 4164 ProcessManager processmanager.py:100 ERROR process creation failed: (193, 'CreateProcess', '%1 is not a valid Win32 application.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 73, in StartProcess startup_info) error: (193, 'CreateProcess', '%1 is not a valid Win32 application.') 07/04/07 11:54:00 4588 Toolkit agservice.py:263 INFO Shut service down ________________________________ 07/04/07 11:52:46 4320 Toolkit config.py:609 DEBUG System hostname of rosie.mvc.mcc.ac.uk is valid 07/04/07 11:52:46 4320 Toolkit toolkit.py:116 DEBUG Initializing AG Toolkit version 3.1 beta1 07/04/07 11:52:46 4320 Toolkit toolkit.py:117 INFO Command and arguments: ['C:\\Documents and Settings\\zzalsar4\\Application Data\\AccessGrid3\\local_services\\AudioService\\AudioService.py', '--port', '58691', '--serviceManagerUri', 'http://rosie.mvc.mcc.ac.uk:11000/ServiceManager', '--token', '8258014916440e7c6f730f8546df3872'] 07/04/07 11:52:46 4320 VenueClient preferences.py:188 DEBUG Preferences.LoadPreferences: open file 07/04/07 11:52:46 4320 Toolkit toolkit.py:166 INFO Logfile Name: AudioService.log 07/04/07 11:52:46 4320 Toolkit toolkit.py:691 INFO Service init: have profile None 07/04/07 11:52:46 4320 Toolkit toolkit.py:716 INFO Service Initialization Complete. 07/04/07 11:52:46 4320 Toolkit agservice.py:393 INFO Starting Service URI: http://rosie.mvc.mcc.ac.uk:58691/Services/AudioService.825801490a1c0e7c6 fc03aec82bdf4b5 07/04/07 11:52:46 4320 Toolkit agservice.py:403 DEBUG Registering with service manager; url=http://rosie.mvc.mcc.ac.uk:11000/ServiceManager 07/04/07 11:52:46 4228 Toolkit agservice.py:166 INFO SetConfiguration: Unrecognized parameter ignored: Force AC97 07/04/07 11:52:46 4228 Toolkit audioservice.py:349 INFO SetIdentity: Andrew Rowley [email protected] 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, L16, 16000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, L16, 8000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, L8, 16000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, L8, 8000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, PCMU, 16000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, PCMU, 8000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, GSM, 16000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service consumer, audio, 825801490a1c0e7c6fb20168de822308, GSM, 8000, 1, None, None 07/04/07 11:52:46 5268 Toolkit agservice.py:285 DEBUG GetDescription:Capability in Service producer, audio, 825801490a1c0e7c6fb20168de822308, L16, 16000, 1, None, None 07/04/07 11:52:48 5224 Toolkit agservice.py:239 INFO AGService.SetEnabled : enabled = 1 07/04/07 11:53:25 5120 Toolkit agservice.py:183 INFO SetStream: [consumer, audio, 825801490a1c0e7c6fb20168de822308, L16, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, L16, 8000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, L8, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, L8, 8000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, PCMU, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, PCMU, 8000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, GSM, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, GSM, 8000, 1, None, None, producer, audio, 825801490a1c0e7c6fb20168de822308, L16, 16000, 1, None, None] 224.2.240.144 63466 07/04/07 11:53:25 5120 Toolkit agservice.py:197 INFO SetStream: new configuration, set everything new! 07/04/07 11:53:25 5120 Toolkit agservice.py:210 DEBUG StreamDescription okay, assign it to service! 07/04/07 11:53:25 5120 Toolkit audioservice.py:292 INFO Stop service 07/04/07 11:53:25 5120 Toolkit audioservice.py:303 INFO Executing rat-kill 07/04/07 11:53:25 5120 ProcessManager processmanager.py:62 DEBUG Creating process: .\rat-kill.exe 07/04/07 11:53:25 5120 ProcessManager processmanager.py:75 DEBUG Create process returns: (<PyHANDLE:772>, <PyHANDLE:776>, 4100, 4164) 07/04/07 11:53:26 5120 ProcessManager processmanager.py:138 ERROR couldn't shutdown process <PyHANDLE:772>: (1444, 'PostThreadMessage', 'Invalid thread identifier.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 131, in TerminateProcess win32api.PostThreadMessage(self.threadid[pid], 18, 0, 0) error: (1444, 'PostThreadMessage', 'Invalid thread identifier.') 07/04/07 11:53:26 5120 ProcessManager processmanager.py:145 ERROR couldn't terminate process <PyHANDLE:772>: (5, 'TerminateProcess', 'Access is denied.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 142, in TerminateProcess win32process.TerminateProcess(pid, 0) error: (5, 'TerminateProcess', 'Access is denied.') 07/04/07 11:53:26 5120 Toolkit audioservice.py:277 INFO Starting AudioService 07/04/07 11:53:26 5120 Toolkit audioservice.py:278 INFO executable = C:\Documents and Settings\zzalsar4\Application Data\AccessGrid3\local_services\AudioService\rat.exe 07/04/07 11:53:26 5120 Toolkit audioservice.py:280 INFO options = ['-C', u'AGSC Venue Server Lobby', '-S', u'8258014916e03315ba54cd300bfe16d9', '-f', 'L16-16K-Mono', '-t', '127', u'224.2.240.144/63466'] 07/04/07 11:53:26 5120 ProcessManager processmanager.py:62 DEBUG Creating process: C:\Documents and Settings\zzalsar4\Application Data\AccessGrid3\local_services\AudioService\rat.exe -C "AGSC Venue Server Lobby" -S 8258014916e03315ba54cd300bfe16d9 -f L16-16K-Mono -t 127 224.2.240.144/63466 07/04/07 11:53:26 5120 ProcessManager processmanager.py:100 ERROR process creation failed: (193, 'CreateProcess', '%1 is not a valid Win32 application.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 73, in StartProcess startup_info) error: (193, 'CreateProcess', '%1 is not a valid Win32 application.') 07/04/07 11:53:26 4608 Toolkit agservice.py:239 INFO AGService.SetEnabled : enabled = 0 07/04/07 11:53:26 4608 Toolkit agservice.py:245 INFO Stopping service 07/04/07 11:53:26 4608 Toolkit audioservice.py:292 INFO Stop service 07/04/07 11:53:26 4608 Toolkit audioservice.py:303 INFO Executing rat-kill 07/04/07 11:53:26 4608 ProcessManager processmanager.py:62 DEBUG Creating process: .\rat-kill.exe 07/04/07 11:53:26 4608 ProcessManager processmanager.py:75 DEBUG Create process returns: (<PyHANDLE:748>, <PyHANDLE:772>, 5288, 5644) 07/04/07 11:53:26 4608 ProcessManager processmanager.py:138 ERROR couldn't shutdown process <PyHANDLE:748>: (1444, 'PostThreadMessage', 'Invalid thread identifier.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 131, in TerminateProcess win32api.PostThreadMessage(self.threadid[pid], 18, 0, 0) error: (1444, 'PostThreadMessage', 'Invalid thread identifier.') 07/04/07 11:53:26 4608 ProcessManager processmanager.py:145 ERROR couldn't terminate process <PyHANDLE:748>: (5, 'TerminateProcess', 'Access is denied.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 142, in TerminateProcess win32process.TerminateProcess(pid, 0) error: (5, 'TerminateProcess', 'Access is denied.') 07/04/07 11:53:29 5644 Toolkit agservice.py:183 INFO SetStream: [consumer, audio, 825801490a1c0e7c6fb20168de822308, L16, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, L16, 8000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, L8, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, L8, 8000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, PCMU, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, PCMU, 8000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, GSM, 16000, 1, None, None, consumer, audio, 825801490a1c0e7c6fb20168de822308, GSM, 8000, 1, None, None, producer, audio, 825801490a1c0e7c6fb20168de822308, L16, 16000, 1, None, None] 224.2.240.144 63466 07/04/07 11:53:29 5644 Toolkit agservice.py:194 INFO SetStream: ignoring trivial re-configuration 07/04/07 11:53:29 3284 Toolkit agservice.py:239 INFO AGService.SetEnabled : enabled = 1 07/04/07 11:53:29 3284 Toolkit agservice.py:248 INFO Starting service 07/04/07 11:53:29 3284 Toolkit audioservice.py:277 INFO Starting AudioService 07/04/07 11:53:29 3284 Toolkit audioservice.py:278 INFO executable = C:\Documents and Settings\zzalsar4\Application Data\AccessGrid3\local_services\AudioService\rat.exe 07/04/07 11:53:29 3284 Toolkit audioservice.py:280 INFO options = ['-C', u'AGSC Venue Server Lobby', '-S', u'8258014916e03315ba54cd300bfe16d9', '-f', 'L16-16K-Mono', '-t', '127', u'224.2.240.144/63466'] 07/04/07 11:53:29 3284 ProcessManager processmanager.py:62 DEBUG Creating process: C:\Documents and Settings\zzalsar4\Application Data\AccessGrid3\local_services\AudioService\rat.exe -C "AGSC Venue Server Lobby" -S 8258014916e03315ba54cd300bfe16d9 -f L16-16K-Mono -t 127 224.2.240.144/63466 07/04/07 11:53:29 3284 ProcessManager processmanager.py:100 ERROR process creation failed: (193, 'CreateProcess', '%1 is not a valid Win32 application.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 73, in StartProcess startup_info) error: (193, 'CreateProcess', '%1 is not a valid Win32 application.') 07/04/07 11:53:58 2980 Toolkit audioservice.py:292 INFO Stop service 07/04/07 11:53:58 2980 Toolkit audioservice.py:303 INFO Executing rat-kill 07/04/07 11:53:58 2980 ProcessManager processmanager.py:62 DEBUG Creating process: .\rat-kill.exe 07/04/07 11:53:58 2980 ProcessManager processmanager.py:75 DEBUG Create process returns: (<PyHANDLE:752>, <PyHANDLE:744>, 4448, 5796) 07/04/07 11:53:59 2980 ProcessManager processmanager.py:138 ERROR couldn't shutdown process <PyHANDLE:752>: (1444, 'PostThreadMessage', 'Invalid thread identifier.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 131, in TerminateProcess win32api.PostThreadMessage(self.threadid[pid], 18, 0, 0) error: (1444, 'PostThreadMessage', 'Invalid thread identifier.') 07/04/07 11:53:59 2980 ProcessManager processmanager.py:145 ERROR couldn't terminate process <PyHANDLE:752>: (5, 'TerminateProcess', 'Access is denied.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 142, in TerminateProcess win32process.TerminateProcess(pid, 0) error: (5, 'TerminateProcess', 'Access is denied.') 07/04/07 11:53:59 888 Toolkit agservice.py:263 INFO Shut service down 07/04/07 11:53:59 888 Toolkit audioservice.py:292 INFO Stop service 07/04/07 11:53:59 888 Toolkit audioservice.py:303 INFO Executing rat-kill 07/04/07 11:53:59 888 ProcessManager processmanager.py:62 DEBUG Creating process: .\rat-kill.exe 07/04/07 11:53:59 888 ProcessManager processmanager.py:75 DEBUG Create process returns: (<PyHANDLE:740>, <PyHANDLE:776>, 1760, 3248) 07/04/07 11:53:59 888 ProcessManager processmanager.py:138 ERROR couldn't shutdown process <PyHANDLE:740>: (1444, 'PostThreadMessage', 'Invalid thread identifier.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 131, in TerminateProcess win32api.PostThreadMessage(self.threadid[pid], 18, 0, 0) error: (1444, 'PostThreadMessage', 'Invalid thread identifier.') 07/04/07 11:53:59 888 ProcessManager processmanager.py:145 ERROR couldn't terminate process <PyHANDLE:740>: (5, 'TerminateProcess', 'Access is denied.') Traceback (most recent call last): File "C:\Python24\lib\site-packages\AccessGrid3\AccessGrid\Platform\win32\Pro cessManager.py", line 142, in TerminateProcess win32process.TerminateProcess(pid, 0) error: (5, 'TerminateProcess', 'Access is denied.')

