Re: [PATCH] Tell user why open_uri() don't work



2009/4/24 Vincent Legoll <vincent legoll gmail com>:
> Now that we start having users running meld on windows,
> we should try to help them not create useless bug reports.
>
> The misc.open_uri() method needs a more recent pygtk
> version than the one currently available for windows or
> gnome libraries. So don't fail silently if they ask for the
> help window or to go report a bug...

I agree that failing silently is bad, but I don't think that having
those error messages help much. Instead, adding a more generic "Could
not open [http://whatever/foo]"; error to open_uri() would at least
give users a way to work around our brokenness by manually entering
the URL.

Also, two of the three cases here involve opening a browser, for which
the standard python webbrowser module would be an acceptable fallback.
Not sure whether this is worthwhile though.

Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]