Hi all,

I missed to specify the path attribute while using the pkgsend command, 
and I got the following Error

pkgsend -s http://localhost:80 add file /tmp/test.txt mode=0555 
owner=root group=root /etc/my_file
localhost - - [10/Mar/2008 19:07:48] "POST 
/add/0/1205172443_pkg%3A%2Fmy_package%401.0%2C5.11-1.1%3A20080310T190723Z/file 
HTTP/1.1" 200 -
<st add file /tmp/test.txt mode=0555 owner=root group=root /etc/my_file 

Traceback (most recent call last):
   File "/usr/bin/pkgsend", line 286, in ?
     trans_add(pcfg, pargs)
   File "/usr/bin/pkgsend", line 162, in trans_add
     action = pkg.actions.fromlist(args[0], args[2:])
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/__init__.py", 
line 124, in fromlist
     vallist = [[j[1] for j in args if j[0] == i] for i in attrset]
IndexError: list index out of range
#


The Error is not explicit and should be replaced by a more explicit and 
helpful error message like a message with the right usage of the command.

I faced this with the Update Center project which ported IPS on Windows, 
but by trying on Indiana, I got the same behavior.

are you aware of this issue ?

Thanks,

Faouzia

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

Reply via email to