quality@glassfish.java.net

Re: Traceback (most recent call last):

From: Tom Mueller <Tom.Mueller_at_Sun.COM>
Date: Wed, 20 May 2009 10:22:33 -0500

Sreekanth,

UC2 issue 271 fixed the problem in updatetool.

However, the problem is still there in the pkg(1) CLI. This is issue 983
<https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=983> which is
not fixed yet. The problem is in the OpenSolaris code and is actually
not fixed for OpenSolaris 2009/06 either (although OpenSolaris doesn't
ship invalid locales so the problem doesn't show up there).

I bumped up the priority of 983 and marked it as something that would be
desirable for a 2.2u1 release of UC2.

Tom

Sreekanth wrote:
> Thanks Lalitha for the work around.I see the bug is fixed a long ago
> and why is it coming again?
>
> Lalitha wrote:
>> Hi Sreekanth,
>>
>> The Issue you are facing is
>> https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=271 .
>> Please set the LANG=en_IN.UTF-8 and try the same.
>>
>> Thanks,
>> Lalitha
>>
>> Sreekanth wrote:
>>> Hi,
>>>
>>> While installing metro from update center, I see this error.I
>>> remember reporting the same a few months back.
>>> I am using gfv3 web preview build 47b with Ubuntu 9.04
>>>
>>> sreekanth_at_sreekanth-laptop:/space/Sreekanth/servers/glassfishv3/bin$
>>> ./pkg install metro
>>> Traceback (most recent call last): File
>>> "/space/Sreekanth/servers/glassfishv3/pkg/bin/client.py", line 2211,
>>> in ?
>>> __ret = main_func()
>>> File "/space/Sreekanth/servers/glassfishv3/pkg/bin/client.py", line
>>> 2160, in main_func
>>> return install(mydir, pargs)
>>> File "/space/Sreekanth/servers/glassfishv3/pkg/bin/client.py", line
>>> 676, in install
>>> update_index=update_index)
>>> File
>>> "/space/Sreekanth/servers/glassfishv3/pkg/vendor-packages/pkg/client/api.py",
>>> line 163, in plan_install
>>> self.plan_desc = PlanDescription(
>>> File
>>> "/space/Sreekanth/servers/glassfishv3/pkg/vendor-packages/pkg/client/api.py",
>>> line 829, in __init__
>>> self.__pkgs = \
>>> File
>>> "/space/Sreekanth/servers/glassfishv3/pkg/vendor-packages/pkg/client/api.py",
>>> line 909, in build_from_fmri
>>> packaging_date=version.get_timestamp().ctime(), pfmri=str(f))
>>> File
>>> "/space/Sreekanth/servers/glassfishv3/pkg/vendor-packages/pkg/version.py",
>>> line 243, in get_timestamp
>>> t = time.strptime(self.timestr, "%Y%m%dT%H%M%SZ")
>>> File "/python2.4/lib/python2.4/_strptime.py", line 269, in ?
>>> File "/python2.4/lib/python2.4/_strptime.py", line 188, in __init__
>>> File "/python2.4/lib/python2.4/_strptime.py", line 73, in __init__
>>> File "/python2.4/lib/python2.4/_strptime.py", line 32, in _getlang
>>> File "/python2.4/lib/python2.4/locale.py", line 365, in getlocale
>>> File "/python2.4/lib/python2.4/locale.py", line 278, in
>>> _parse_localename
>>> ValueError: unknown locale: en_IN
>>>
>>>
>>> pkg: This is an internal error. Please let the developers know
>>> about this
>>> problem by filing a bug at http://defect.opensolaris.org and
>>> including the
>>> above traceback and this message. The version of pkg(5) is
>>> '7570d3749c6f'.
>>>
>>>
>>>
>>> Thanks,
>>> Sreekanth
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>