Danek Duvall wrote:
> On Mon, Aug 25, 2008 at 08:22:10PM -0700, Brock Pytlik wrote:
>
>   
>> http://cr.opensolaris.org/~bpytlik/ips-bug-2989-v1/
>>     
>
> What Shawn said about localized strings.  What you've got simply won't
> work.
>   
Please let me know if this doesn't work:

                user_msg = """
There was an indexing problem during image-update. Please run
'pkg rebuild-index' with the proper permissions
"""
                if alt_BE_created:
                        user_msg += "once you have booted into the\nnew 
boot environment."
                else:
                        user_msg += "."
                       
                error(_(user_msg))

> You don't have a third eye, and neither does "indices".
>   
Fixed
> Why don't you try the reindex from scratch from within imageplan, though?
>   
Please see my response to Shawn's same question.
> It seems odd to have imageplan.execute() do everything, but leave client.py
> to clean up the indexing if it fails initially?  The code would likely be
> simpler, and be more likely to "just work" for the GUI.
>
> Danek
>   

I'll post a full CR once I get more feedback on the location of 
try_index_again

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

Reply via email to