[AG-TECH] AG2.2 VenueClient - exiting

Christoph Willing willing at itee.uq.edu.au
Sun Jul 11 18:29:58 CDT 2004


I can't exit the VenueClient UI (Linux version built from source)
cleanly. In fact, the UI just won't go away until the process is
explicitly killed. Outputs of stdout & .accessGrid/Logs/VenueClient.log
are below. They show startup and then an exit (from Venue->Exit) without
entering a room (& finally an exit by kill -HUP)

This is Linux a build (Slackware) from the CVS just prior to Ivan's
announcement about wxPythonGTK-2.5. I understand this also occurs in the
Fedora build.

Perhaps this is related to bugzilla #1057 (hangs on room change), which
always happens when exiting a room, so I'm holding off on a new bugzilla
report. However, a difference is that this problem (exiting UI) occurs
whether in a room already or not.


BTW, if bug #1057 could be fixed, we would immediately have releasable
versions of AG2.2 for Slackware, Fedora & Debian (notwithstanding new
requirement for wxPythonGTK-2.5 in the most recent CVS change). Bug
#1057 is common to all 3 of these builds and is _the_ showstopper for
Linux user upgrades to AG2.2.

chris


=====
Output from stdout:
ag at v1:~$ VenueClient.py --personalNode
bound to port  11000
bound to port  57597
bound to port  53981
Starting Service URI: https://v1.vislab.uq.eud.au:53981/Service
bound to port  59164
Starting Service URI: https://v1.vislab.uq.eud.au:59164/Service
bound to port  32954
Exception in thread TransferServer:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2
.3/site-packages/AccessGrid/DataStore.py", line 1602, in thread_run
    self.handle_request()
  File "/usr/lib/python2.3/SocketServer.py", line 217, in handle_request
    request, client_address = self.get_request()
  File
"/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2
.3/site-packages/pyGlobus/io.py", line 846, in get_request
    raise(str(self.socket) + str(" is having trouble listening!:" +
str(ex.args)
))
<pyGlobus.io.GSITCPSocket instance at 0x41906cac> is having trouble
listening!:(
'an I/O operation was cancelled',)

Exception in thread TransferServer:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2
.3/site-packages/AccessGrid/DataStore.py", line 1602, in thread_run
    self.handle_request()
  File "/usr/lib/python2.3/SocketServer.py", line 217, in handle_request
    request, client_address = self.get_request()
  File
"/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2
.3/site-packages/pyGlobus/io.py", line 846, in get_request
    raise(str(self.socket) + str(" is having trouble listening!:" +
str(ex.args)
))
<pyGlobus.io.GSITCPSocket instance at 0x4190630c> is having trouble
listening!:(
'an I/O operation was cancelled',)

Hangup
ag at v1:~$


=====
Output from .AccessGrid/Logs/VenueClient.log:
ag at v1:~$ cat .AccessGrid/Logs/VenueClient.log 
07/12/04 09:00:24 16384 ProxyGen     ProxyGen.py:567 DEBUG Using GT24 proxy code
07/12/04 09:00:25 16384 Toolkit     Toolkit.py:79 DEBUG Initializing AG Toolkit version 2.2
07/12/04 09:00:25 16384 Platform     Config.py:931 INFO  registering file type .agpkg with gnome
07/12/04 09:00:25 16384 Platform     Config.py:931 INFO  registering file type .vv2d with gnome
07/12/04 09:00:25 16384 Toolkit     Config.py:205 DEBUG System hostname of v1.vislab.uq.eud.au is valid
07/12/04 09:00:25 16384 CertificateManager     CertificateManager.py:261 DEBUG Opened repository /home/ag/.AccessGrid/Config/certRepo
07/12/04 09:00:25 16384 CertificateManager     CertificateManager.py:727 DEBUG Configuring standard environment
07/12/04 09:00:25 16384 CertificateManager     CertificateManager.py:793 DEBUG Using default identity /O=Access Grid/OU=agdev-ca.mcs.anl.gov/OU=itee.uq.edu.au/CN=C K Willing
07/12/04 09:00:25 16384 CertificateManager     CertificateManager.py:864 DEBUG Initializing environment with proxy cert for /O=Access Grid/OU=agdev-ca.mcs.anl.gov/OU=itee.uq.edu.au/CN=C K Willing
07/12/04 09:00:25 16384 CertificateManager     CertificateManager.py:883 DEBUG Configuring for user proxy issued from /O=Access Grid/OU=agdev-ca.mcs.anl.gov/OU=itee.uq.edu.au/CN=C K Willing
07/12/04 09:00:25 16384 CertificateManager     CertificateManager.py:886 DEBUG Proxy /tmp/x509up_u1000 will expire 05/27/05 09:42:22
07/12/04 09:00:25 16384 VenueClient     VenueClient.py:293 DEBUG __StartWebService: venueclient: https://v1.vislab.uq.eud.au:11000/VenueClient
07/12/04 09:00:25 16384 ServiceManager     AGServiceManager.py:70 INFO  Using services dir: /home/ag/.AccessGrid/local_services
07/12/04 09:00:25 16384 ServiceManager     AGServiceManager.py:453 INFO  __DiscoverResources
07/12/04 09:00:25 16384 VenueClient     VenueClient.py:302 DEBUG __StartWebService: service manager: https://v1.vislab.uq.eud.au:11000/ServiceManager
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:667 INFO  NodeService.__ReadConfigFile
07/12/04 09:00:25 16384 Toolkit     Toolkit.py:264 DEBUG Looking for: /home/ag/.AccessGrid/Config/AGNodeService.cfg
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:675 DEBUG DEFAULT NODE SERVICE CONFIG: /home/ag/.AccessGrid/Config/AGNodeService.cfg
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:679 INFO  Reading node service config file: /home/ag/.AccessGrid/Config/AGNodeService.cfg
07/12/04 09:00:25 16384 DataStore     DataStore.py:1515 DEBUG Creating thread 0
07/12/04 09:00:25 16384 DataStore     DataStore.py:1520 DEBUG Starting thread 0
07/12/04 09:00:25 16384 DataStore     DataStore.py:1522 DEBUG Waiting thread 0
07/12/04 09:00:25 49156 DataStore     DataStore.py:1528 DEBUG Worker 0 starting
07/12/04 09:00:25 16384 DataStore     DataStore.py:1525 DEBUG Done creating workers
07/12/04 09:00:25 16384 ServicePackageRepo     AGServicePackageRepository.py:63 INFO  Started AGServicePackageRepository Transfer Server
07/12/04 09:00:25 16384 ServicePackageRepo     AGServicePackageRepository.py:64 INFO   url = https://v1.vislab.uq.eud.au:57597/packages/
07/12/04 09:00:25 16384 ServicePackageRepo     AGServicePackageRepository.py:65 INFO   dir = /etc/AccessGrid/NodeServices
07/12/04 09:00:25 16384 VenueClient     VenueClient.py:308 DEBUG __StartWebService: node service: https://v1.vislab.uq.eud.au:11000/NodeService
07/12/04 09:00:25 16384 VenueClient     VenueClient.py:1522 DEBUG SerNodeUrl: Set node service url:  https://v1.vislab.uq.eud.au:11000/NodeService
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:360 INFO  NodeService.LoadDefaultConfig
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:364 INFO  Loading default node configuration: defaultLinux
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:378 INFO  NodeService.LoadConfiguration
07/12/04 09:00:25 16384 NodeService     AGNodeService.py:393 INFO  Trying to load node configuration from: /home/ag/.AccessGrid/Config/nodeConfig/defaultLinux
07/12/04 09:00:26 131079 ServiceManager     AGServiceManager.py:388 INFO  AGServiceManager.RemoveServices
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:106 INFO  AGServiceManager.AddService
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:109 INFO  AddService: VideoService v 2.200000 u https://v1.vislab.uq.eud.au:57597/packages/VideoService.zip
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:111 INFO  resourceToAssign: /dev/video0
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:151 INFO  Searching for local service package
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:159 INFO  Found local service VideoService, v2
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:241 INFO  Running Service; options: /usr/bin/python ['/home/ag/.AccessGrid/local_services/VideoService/VideoService.py', 53981]
07/12/04 09:00:26 147463 ServiceManager     AGServiceManager.py:258 DEBUG Waiting for service to start: VideoService https://v1.vislab.uq.eud.au:53981/Service
07/12/04 09:00:28 147463 ServiceManager     AGServiceManager.py:265 INFO  Service VideoService successfully started
07/12/04 09:00:28 147463 ServiceManager     AGServiceManager.py:296 INFO  Setting service configuration
07/12/04 09:00:28 147463 ServiceManager     AGServiceManager.py:305 INFO  Assigning resource to service: /dev/video0
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:106 INFO  AGServiceManager.AddService
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:109 INFO  AddService: AudioService v 2.200000 u https://v1.vislab.uq.eud.au:57597/packages/AudioService.zip
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:111 INFO  resourceToAssign: 
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:138 DEBUG ** Resource does not exist! :  
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:151 INFO  Searching for local service package
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:159 INFO  Found local service AudioService, v2
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:241 INFO  Running Service; options: /usr/bin/python ['/home/ag/.AccessGrid/local_services/AudioService/AudioService.py', 59164]
07/12/04 09:00:29 163847 ServiceManager     AGServiceManager.py:258 DEBUG Waiting for service to start: AudioService https://v1.vislab.uq.eud.au:59164/Service
07/12/04 09:00:30 163847 ServiceManager     AGServiceManager.py:265 INFO  Service AudioService successfully started
07/12/04 09:00:30 163847 ServiceManager     AGServiceManager.py:296 INFO  Setting service configuration
07/12/04 09:00:30 163847 ServiceManager     AGServiceManager.py:308 DEBUG Not assigning resource; none given
07/12/04 09:00:31 16384 VenueClient     VenueClient.py:190 DEBUG __createPersonalDataStore: Creating personal datastore at /home/ag/.AccessGrid/Config/personalDataStore using prefix personalDataStore and port 0
07/12/04 09:00:31 16384 DataStore     DataStore.py:1515 DEBUG Creating thread 0
07/12/04 09:00:31 16384 DataStore     DataStore.py:1520 DEBUG Starting thread 0
07/12/04 09:00:31 16384 DataStore     DataStore.py:1522 DEBUG Waiting thread 0
07/12/04 09:00:31 180231 DataStore     DataStore.py:1528 DEBUG Worker 0 starting
07/12/04 09:00:31 16384 DataStore     DataStore.py:1525 DEBUG Done creating workers
07/12/04 09:00:31 16384 DataStore     DataStore.py:273 DEBUG Reading persisted data from: /home/ag/.AccessGrid/Config/personalDataStore/DataStore.dat
07/12/04 09:00:31 16384 VenueClient     VenueClient.py:215 DEBUG __createPersonalDataStore: Load personal data from file
07/12/04 09:00:43 16384 VenueClientUI     VenueClientUI.py:1700 INFO  --------- END VenueClient
07/12/04 09:00:43 180231 DataStore     DataStore.py:1533 DEBUG Worker 0 gets cmd quit
07/12/04 09:00:43 16384 NodeService     AGNodeService.py:120 INFO  NodeService.Stop
07/12/04 09:00:43 180231 DataStore     DataStore.py:1546 DEBUG Worker 0 exiting
07/12/04 09:00:43 16384 ServiceManager     AGServiceManager.py:79 INFO  AGServiceManager.Shutdown
07/12/04 09:00:43 49156 DataStore     DataStore.py:1533 DEBUG Worker 0 gets cmd quit
07/12/04 09:00:43 16384 ServiceManager     AGServiceManager.py:80 INFO  Remove services
07/12/04 09:00:43 49156 DataStore     DataStore.py:1546 DEBUG Worker 0 exiting
07/12/04 09:00:43 16384 ServiceManager     AGServiceManager.py:388 INFO  AGServiceManager.RemoveServices
07/12/04 09:00:43 16384 ServiceManager     AGServiceManager.py:329 INFO  AGServiceManager.RemoveService
07/12/04 09:00:43 16384 ProcessManager     ProcessManager.py:77 DEBUG _terminate_process( 3020 ): [Errno 10] No child processes
07/12/04 09:00:43 16384 ProcessManager     ProcessManager.py:126 DEBUG _kill_process, waitpid 3020 : [Errno 10] No child processes
07/12/04 09:00:43 16384 ProcessManager     ProcessManager.py:134 DEBUG Process 3020 not killed or waitpid() failed.
07/12/04 09:00:43 16384 ServiceManager     AGServiceManager.py:329 INFO  AGServiceManager.RemoveService
07/12/04 09:00:44 16384 ProcessManager     ProcessManager.py:77 DEBUG _terminate_process( 3030 ): [Errno 10] No child processes
07/12/04 09:00:44 16384 ProcessManager     ProcessManager.py:126 DEBUG _kill_process, waitpid 3030 : [Errno 10] No child processes
07/12/04 09:00:44 16384 ProcessManager     ProcessManager.py:134 DEBUG Process 3030 not killed or waitpid() failed.
07/12/04 09:00:44 16384 ServiceManager     AGServiceManager.py:82 INFO  Stop network interface
07/12/04 09:00:44 16384 VenueClientUI     VenueClientUI.py:849 ERROR Error on exit
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/AccessGrid/VenueClientUI.py", line 847, in ExitCB
    self.controller.ExitCB()
  File "/usr/lib/python2.3/site-packages/AccessGrid/VenueClientController.py", line 173, in ExitCB
    self.__venueClient.Shutdown()
  File "/usr/lib/python2.3/site-packages/AccessGrid/VenueClient.py", line 1273, in Shutdown
    self.__StopWebService()
  File "/usr/lib/python2.3/site-packages/AccessGrid/VenueClient.py", line 339, in __StopWebService
    self.server.Stop()
  File "/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2.3/site-packages/AccessGrid/hosting/SOAPpy/Server.py", line 98, in Stop
    self._server.server_close()
  File "/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2.3/site-packages/pyGlobus/io.py", line 1375, in server_close
    self.socket.close()
  File "/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2.3/site-packages/pyGlobus/io.py", line 1348, in close
    IOBase.close(self)
  File "/mnt/scratch/AG2.2/AccessGrid-2.2-6.src/dist-20040626_151007/lib/python2.3/site-packages/pyGlobus/io.py", line 264, in close
    raise ex
IOBaseException: an uninitialied data structure was passed as argument 1 to globus_io_register_close
ag at v1:~$







-- 
Chris Willing                     Phone: +61 7 3365 8350
QPSF Access Grid Manager          willing at itee.uq.edu.au
University of Queensland




More information about the ag-tech mailing list