[AG-TECH] Installation of AG under Linux

Michael Braitmaier braitmaier at hlrs.de
Tue Jun 29 08:31:12 CDT 2004


I finally got to manage that problem on my own, as it was due to library 
version issues.
Now as I have AccessGrid 2.2 installed, it still doesn't work correctly.
I am not sure whether it is caused by another library version issue or 
doing something else wrong.

The error looks as follows and is printed by the AGServiceManager.py:

Didn't find an IP
bound to port  12000
bound to port  58242
Starting Service URI: https://127.0.0.1:58242/Service
bound to port  49165
Starting Service URI: https://127.0.0.1:49165/Service
*** Method ServiceManager:AddService exception *************************
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/SOAPpy/Server.py", line 406, in 
do_POST
    fr = apply(f, ordered_args, named_args)
  File 
"/usr/lib/python2.2/site-packages/AccessGrid/AGServiceManager.py", line 
528, in AddService
    serviceDescription = CreateAGServiceDescription(serviceDescStruct)
  File "/usr/lib/python2.2/site-packages/AccessGrid/Descriptions.py", 
line 658, in CreateAGServiceDescription
    resource = CreateResource(svcDescStruct.resource)
AttributeError: 'str' object has no attribute 'resource'
************************************************************************

I wonder why he brings up the message of not finding an IP, though I 
start it the same way as I did with AG 2.1.2
I had an issue with python-optik during installation, telling me that 
there are conflicts with file from that package and files to be 
installed by AG 2.2
but I've overcome this with the --force option of the rpm install. Could 
that be the source of my problems? Furthermore I can't  find  my video 
device in
the configure gui for the videoproducerservice. I guess that is because 
of the error.
Another question: Does it work to have Windows AG 2.1.2 on our display 
computer and linux AG 2.2 on the video machine?

Thanks in advance
Michael


Michael Braitmaier wrote:

> Hello everyone!
>
> I am currently trying to install AGT 2.2 under Linux and already 
> managed to get all done besides the last rpm-package containing 
> AccessGrid-2.2.6
> Unfortunately I always get an error when performing the rpm install 
> command. The error looks as follows:
>
> Preparing packages for installation...
> AccessGrid-2.2-6
> Compiling Access Grid Python modules.... Done
> (<class ConfigParser.ParsingError at 0x82d3d14>, File contains parsing 
> errors: /etc/AccessGrid/Config/ApplicationDatabase
>        [line  8]: 'application/x-ag-venuevnc = 0\n', <traceback object 
> at 0x82fc3ec>)
> Couldn't open application database: 
> /etc/AccessGrid/Config/ApplicationDatabase
> Traceback (most recent call last):
>  File "/usr/bin/agpm.py", line 318, in ?
>    main()
>  File "/usr/bin/agpm.py", line 309, in main
>    workingDir, cleanup)
>  File "/usr/bin/agpm.py", line 228, in RegisterPackage
>    startable=appInfo["application.startable"])
>  File "/usr/lib/python2.2/site-packages/AccessGrid/AppDb.py", line 
> 477, in RegisterApplication
>    (ret, retStr) = self.AddMimeType(name, extension, mimeType, startable)
>  File "/usr/lib/python2.2/site-packages/AccessGrid/AppDb.py", line 
> 274, in AddMimeType
>    self._Synch()
>  File "/usr/lib/python2.2/site-packages/AccessGrid/AppDb.py", line 
> 127, in _Synch
>    if fileLastModified > self.fileLastModified:
> AttributeError: AppDb instance has no attribute 'fileLastModified'
> Fehler: %post(AccessGrid-2.2-6) scriptlet failed, exit status 1
>
> I don't know what I am missing. All other packages are already 
> installed, namely accessgrid-globus-2.4.1
> and the appropriate python, wxpython packages.
>
> Any hint what I am doing wrong would be great.
> Thanks in advance
>
> Michael
>


-- 
Michael Braitmaier
HLRS
University of Stuttgart
Germany
Phone: ++49 711 685 5996
Fax  : ++49 711 682 357
Website: http://www.hlrs.de/organization/vis/people/braitmaier/





More information about the ag-tech mailing list