[AG-TECH] Installation of AG under Linux
Michael Braitmaier
braitmaier at hlrs.de
Wed Jun 30 03:05:47 CDT 2004
After installing AG 2.2 on the windows display machine, the problems are
limited to a few but essential problems.
First fo all I am not able to add any services of our video machine and
the video machine videoproducer doesn't find the
video camera anymore but instead lists x11 as video resource. Still I
think that i am struggling with package issues, therefore I list my
relevant package confiugration below
All python relevant packages installed
rpm404-python-4.0.4-8x.27
python-2.2.3-26
python-tools-2.2.3-26
orbit-python-1.99.0-4
gnome-python2-canvas-1.99.11-8
gnome-python2-bonobo-1.99.11-8
gnome-python2-1.99.11-8
rpm-python-4.1.1-1.8x
python-devel-2.2.3-26
libxml2-python-2.4.23-1
python-optik-1.3-2
gnome-python2-gtkhtml2-1.99.11-8
python-docs-2.2.3-26
Globus package:
globus-accessgrid-2.4-1
pyOpenSSL:
pyOpenSSL-0.5.0.91-1
pyOpenSSL_AG-0.5.1-3
AccessGrid:
AccessGrid-2.2-6
Besides the following error message installation of AccessGrid went
fine. I've overcome this error message with usage of the --force
parameter of rpm.
file /usr/lib/python2.2/site-packages/optik/__init__.py from install of
AccessGrid-2.2-6 conflicts with file from package python-optik-1.3-2
file /usr/lib/python2.2/site-packages/optik/errors.py from
install of AccessGrid-2.2-6 conflicts with file from package
python-optik-1.3-2
file /usr/lib/python2.2/site-packages/optik/option.py from
install of AccessGrid-2.2-6 conflicts with file from package
python-optik-1.3-2
file /usr/lib/python2.2/site-packages/optik/option_parser.py
from install of AccessGrid-2.2-6 conflicts with file from package
python-optik-1.3-2
file /usr/lib/python2.2/site-packages/OpenSSL_AG/SSL.so from
install of
AccessGrid-2.2-6 conflicts with file from package pyOpenSSL_AG-0.5.1-3
file /usr/lib/python2.2/site-packages/OpenSSL_AG/crypto.so from
install
of AccessGrid-2.2-6 conflicts with file from package pyOpenSSL_AG-0.5.1-3
file /usr/lib/python2.2/site-packages/OpenSSL_AG/rand.so from
install of AccessGrid-2.2-6 conflicts with file from package
pyOpenSSL_AG-0.5.1-3
As far as I know AG 2.2 uses python-optik 1.4.1 and I still have 1.3-2.
Could that be an issue? If so, how can I update it, as I can't remove it
because of dependencies?
Any help would be really appreciated, as I am running out of ideas how
to solve that problem.
Michael
Michael Braitmaier wrote:
> 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