Thanks for this information.

It looks like you need to specify "-s http://hostname:port/"; before
the "open" command.

2008/6/23 neha goel <[EMAIL PROTECTED]>:
> bash-3.00# pkgsend open [EMAIL PROTECTED]
> Traceback (most recent call last):
>   File "/usr/bin/pkgsend", line 408, in ?
>     ret = main_func()
>   File "/usr/bin/pkgsend", line 375, in main_func
>     trans_open(pcfg, pargs)
>   File "/usr/bin/pkgsend", line 106, in trans_open
>     status, id = t.open(config, pargs[0])
>   File "/usr/lib/python2.4/vendor-packages/pkg/publish/transaction.py", line
> 58, in open
>     headers = {"Client-Release": os_util.get_os_release()})
>   File "/usr/lib/python2.4/vendor-packages/pkg/misc.py", line 110, in
> versioned_urlopen
>     c = url_opener(req)
>   File "/usr/lib/python2.4/urllib2.py", line 358, in open
>     response = self._open(req, data)
>   File "/usr/lib/python2.4/urllib2.py", line 376, in _open
>     '_open', req)
>   File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.4/urllib2.py", line 1021, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "/usr/lib/python2.4/urllib2.py", line 996, in do_open
>     raise URLError(err)
> URLError: <urlopen error (146, 'Connection refused')>
>
>
> On Sat, Jun 21, 2008 at 11:57 PM, Shawn Walker <[EMAIL PROTECTED]>
> wrote:
>>
>> 2008/6/21 neha goel <[EMAIL PROTECTED]>:
>> > i m trying to publish some packages to the repository using pkgsend, but
>> > it
>> > is giving an urlopen error...
>> > does anyone know how to get rid of this error?
>>
>> Without more information, it is difficult to help you.
>>
>> Can you provide a log of all output from pkgsend?
>>
>> Thanks,
>> --
>> Shawn Walker
>
>



-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to