users@glassfish.java.net

Re: Traceback (most recent call last):

From: Sreekanth <Sreekanth.Manga_at_Sun.COM>
Date: Fri, 22 May 2009 09:38:55 +0530

Thanks Tom for the clarification.

regards,
Sreekanth

Tom Mueller wrote:
> Sreekanth,
> Yes, this is recorded in IPS bug 305
> <http://defect.opensolaris.org/bz/show_bug.cgi?id=305>. For the
> OpenSolaris 2010.02 release, there are plans to implement a new
> transport layer and hopefully that will include better error checking
> for this. The correct syntax is to include the http:// at the front.
>
> Cheers,
> Tom
>
> Sreekanth wrote:
>> Hi Tom,
>>
>> One more observation:(I dont know if it is an issue)
>>
>> When I set an proxy with out giving http protocol, I see this
>> exception thrown:
>>
>> sreekanth_at_nondestructive:/space/Sreekanth/servers/glassfishv3/bin$
>> export http_proxy=webcache.sfbay.sun.com:8080
>>
>> sreekanth_at_nondestructive:/space/Sreekanth/servers/glassfishv3/bin$
>> ./pkg install metro
>> pkg: 0/3 catalogs successfully updated:
>> Could not retrieve catalog from 'contrib.glassfish.org'
>> Exception: str:iterable argument required repr:<exceptions.TypeError
>> instance at 0xf7679d4c>
>> Could not retrieve catalog from 'stable.glassfish.org'
>> Exception: str:iterable argument required repr:<exceptions.TypeError
>> instance at 0xf767d8cc>
>> Could not retrieve catalog from 'pkg.glassfish.org'
>> Exception: str:iterable argument required repr:<exceptions.TypeError
>> instance at 0xf767d90c>
>> sreekanth_at_nondestructive:/space/Sreekanth/servers/glassfishv3/bin$
>> ./pkg install metro
>> pkg: 0/3 catalogs successfully updated:
>> Could not retrieve catalog from 'contrib.glassfish.org'
>> Exception: str:iterable argument required repr:<exceptions.TypeError
>> instance at 0xf75cfd4c>
>> Could not retrieve catalog from 'stable.glassfish.org'
>> Exception: str:iterable argument required repr:<exceptions.TypeError
>> instance at 0xf75d38cc>
>> Could not retrieve catalog from 'pkg.glassfish.org'
>> Exception: str:iterable argument required repr:<exceptions.TypeError
>> instance at 0xf75d390c>
>>
>> Again when I set proxy to :
>>
>> export http_proxy=http://webcache.sfbay.sun.com:8080
>>
>> I am able to download the bits.
>>
>>
>> Tom Mueller wrote:
>>> 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
>>>>
>>>
>