glassfish
  1. glassfish
  2. GLASSFISH-14347

(UC) I can't run updatetool, due to some PYTHON bug

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: 4.0
    • Component/s: update_center
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      14,347

      Description

      This is what I'm getting:

      /opt/local/share/java/glassfishv3/updatetool/bin$ sudo ./updatetool
      Unable to block on application (GetProcessPID() returned 18446744073709551016)
      'import site' failed; use -v for traceback
      Traceback (most recent call last):
      File "/opt/local/share/java/glassfishv3/updatetool/bin/../vendor-packages/updatetool/main.py", line
      426, in ?
      main(sys.argv[1:])
      File "/opt/local/share/java/glassfishv3/updatetool/bin/../vendor-packages/updatetool/main.py", line
      51, in main
      from common.boot import uc_error, init_app_locale, check_ips
      File "/opt/local/share/java/glassfishv3/updatetool/vendor-packages/updatetool/common/boot.py",
      line 42, in ?
      import gettext
      ImportError: No module named gettext

      Where is a problem and how can I solve it? Thanks.

        Activity

        Yegor Bugayenko created issue -
        Hide
        Bobby Bissett added a comment -

        Switching over to update subcategory. (Happens all the time.)

        Show
        Bobby Bissett added a comment - Switching over to update subcategory. (Happens all the time.)
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Could you please provide exact platform you use and which GlassFish version is this?

        Show
        Snjezana Sevo-Zenzerovic added a comment - Could you please provide exact platform you use and which GlassFish version is this?
        Hide
        Yegor Bugayenko added a comment -

        It's MacOS Darwin 10.6, Glassfish 3.0. Maybe this information will be helpful:

        $ sudo port list glassfish* and installed
        glassfishv3 @3 java/glassfishv3

        $ sudo port list python* and installed
        python24 @2.4.6 lang/python24
        python24 @2.4.6 lang/python24
        python26 @2.6.6 lang/python26
        python_select @0.3 sysutils/python_select
        python_select @0.3 sysutils/python_select

        Show
        Yegor Bugayenko added a comment - It's MacOS Darwin 10.6, Glassfish 3.0. Maybe this information will be helpful: $ sudo port list glassfish* and installed glassfishv3 @3 java/glassfishv3 $ sudo port list python* and installed python24 @2.4.6 lang/python24 python24 @2.4.6 lang/python24 python26 @2.6.6 lang/python26 python_select @0.3 sysutils/python_select python_select @0.3 sysutils/python_select
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 14347 45951
        Hide
        Joe Di Pol added a comment -

        FYI, I've run updatetool 2.3u2 on MacOS 10.6.5 without a problem and that's consistent with what we see in our repository access data (many hits from MacOS 10.6). The gettext module is definitely include in the python runtime bundled with Update Center. What happens if you do:

        /opt/local/share/java/glassfishv3/pkg/python2.4-minimal/bin/python
        Python 2.4.5 (#17, Aug 7 2009, 12:39:30)
        [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
        Type "help", "copyright", "credits" or "license" for more information.
        >>> import gettext

        Show
        Joe Di Pol added a comment - FYI, I've run updatetool 2.3u2 on MacOS 10.6.5 without a problem and that's consistent with what we see in our repository access data (many hits from MacOS 10.6). The gettext module is definitely include in the python runtime bundled with Update Center. What happens if you do: /opt/local/share/java/glassfishv3/pkg/python2.4-minimal/bin/python Python 2.4.5 (#17, Aug 7 2009, 12:39:30) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gettext
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Based on Joe's analysis this seems to be environment issue. Targeting for future release.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Based on Joe's analysis this seems to be environment issue. Targeting for future release.
        Snjezana Sevo-Zenzerovic made changes -
        Fix Version/s 3.2 [ 10969 ]
        Fix Version/s 3.1_ms07 [ 11016 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Jill Sato made changes -
        Fix Version/s 4.0 [ 10970 ]
        Fix Version/s 3.2 [ 10969 ]

          People

          • Assignee:
            Snjezana Sevo-Zenzerovic
            Reporter:
            Yegor Bugayenko
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: