I worked on a plug-in for Boa of this control and came across one issue.
The error shown if webbrowser runs into a problem is very generic. I.e. a URL like 'something.html' will give "Unable to launch browser", however this 'http://test' will work (i.e. at least open the browser window.
Can either the error message be a bit more explicit (e.g. "Unable to launch browser, please check that a valid link is used") or even better have different error messages when link is invalid opposite to when there is a problem with the browser.
This is on: Python 2.4.1, wxPython 2.6.0.1 and Windows XP Pro with Mozilla as default browser.
See you
Werner
Robin Dunn wrote:
···
andrea_gavana@tin.it wrote:
Hello Chris,
- how do I install and use this? I see that HyperLinksCtrl is a Python
module, so i need to put it somewhere in my libs right? Is it
Lib/site-packages?
**However**, if you are patient a little bit, I suppose that Robin is integrating
HyperLinksCtrl in wxPython (in the wx.lib directory, I think) for the next
wxPython release (that should come out in few days,
I worked on a plug-in for Boa of this control and came across one issue.
The error shown if webbrowser runs into a problem is very generic. I.e. a URL like 'something.html' will give "Unable to launch browser", however this 'http://test' will work (i.e. at least open the browser window.
Can either the error message be a bit more explicit (e.g. "Unable to launch browser, please check that a valid link is used") or even better have different error messages when link is invalid opposite to when there is a problem with the browser.
I'll accept a patch for either approach.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I worked on a plug-in for Boa of this control and came across one issue.
The error shown if webbrowser runs into a problem is very generic. I.e. a URL like 'something.html' will give "Unable to launch browser", however this 'http://test' will work (i.e. at least open the browser window.
Can either the error message be a bit more explicit (e.g. "Unable to launch browser, please check that a valid link is used") or even better have different error messages when link is invalid opposite to when there is a problem with the browser.
I'll accept a patch for either approach.
The second option would be nicer, is there code available I could look at to see how to check if a link is valid (i.e. correctly formed)?
I worked on a plug-in for Boa of this control and came across one issue.
The error shown if webbrowser runs into a problem is very generic. I.e. a URL like 'something.html' will give "Unable to launch browser", however this 'http://test' will work (i.e. at least open the browser window.
Can either the error message be a bit more explicit (e.g. "Unable to launch browser, please check that a valid link is used") or even better have different error messages when link is invalid opposite to when there is a problem with the browser.
I'll accept a patch for either approach.
The second option would be nicer, is there code available I could look at to see how to check if a link is valid (i.e. correctly formed)?
How about Python's urlparse module?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!