コード例 #1
0
 def _check(msg, vers):
     compat = ice_compatibility.split(".")
     vers = vers.split(".")
     if compat[0:2] != vers[0:2]:
         self.ctx.die(
             164, "%s is not compatible with %s: %s" %
             (msg, ".".join(compat), ".".join(vers)))
コード例 #2
0
   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   Use is subject to license terms supplied in LICENSE.txt

"""


from omero_version import omero_version
from omero_version import ice_compatibility as compat
import Ice
import os
_sys = __import__("sys")

try:
    vers = Ice.stringVersion()
    vers = vers.split(".")
    compat = compat.split(".")
    if compat[0:2] != vers[0:2]:
        msg = """

        ERROR: Ice version mismatch!

        Your OMERO code has been compiled using Ice version %s
        but you seem to have Ice version %s installed. If you need
        help understanding this issue, please send this error message
        to the OME community:

        http://www.openmicroscopy.org/site/community

        Debugging Info:
        --------------
        VERSION=%s
コード例 #3
0
ファイル: admin.py プロジェクト: emilroz/openmicroscopy
 def _check(msg, vers):
     compat = ice_compatibility.split(".")
     vers = vers.split(".")
     if compat[0:2] != vers[0:2]:
         self.ctx.die(164, "%s is not compatible with %s: %s"
                      % (msg, ".".join(compat), ".".join(vers)))
コード例 #4
0
ファイル: __init__.py プロジェクト: zfarooq2/openmicroscopy
   Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved.
   Use is subject to license terms supplied in LICENSE.txt

"""

from omero_version import omero_version
from omero_version import ice_compatibility as compat
import Ice
import os
_sys = __import__("sys")

try:
    vers = Ice.stringVersion()
    vers = vers.split(".")
    compat = compat.split(".")
    if compat[0:2] != vers[0:2]:
        msg = """

        ERROR: Ice version mismatch!

        Your OMERO code has been compiled using Ice version %s
        but you seem to have Ice version %s installed. If you need
        help understanding this issue, please send this error message
        to the OME community:

        http://www.openmicroscopy.org/site/community

        Debugging Info:
        --------------
        VERSION=%s